On 02.02.21 17:44, Bram Hooimeijer wrote:
> Given that any bit in the original root mask can be freed, the freed
> mask should reflect the same type as the original mask.
> 
> Signed-off-by: Bram Hooimeijer <[email protected]>
> ---
>  hypervisor/arch/x86/cat.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/hypervisor/arch/x86/cat.c b/hypervisor/arch/x86/cat.c
> index 644bb3e5..f6719b1e 100644
> --- a/hypervisor/arch/x86/cat.c
> +++ b/hypervisor/arch/x86/cat.c
> @@ -20,9 +20,9 @@
>  
>  #define CAT_ROOT_COS 0
>  
> -static unsigned int cbm_max, freed_mask;
> +static unsigned int cbm_max;
>  static int cos_max = -1;
> -static u64 orig_root_mask;
> +static u64 orig_root_mask, freed_mask;
>  
>  void cat_update(void)
>  {
> 

Finally coming back to this - sorry for the long delay.

This one looks good (I happened to have made the same change in my
refactorings), applied to next.

Jan

-- 
Siemens AG, T RDA IOT
Corporate Competence Center Embedded Linux

-- 
You received this message because you are subscribed to the Google Groups 
"Jailhouse" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jailhouse-dev/b0df2787-e828-6a18-c2ed-01723fd12466%40siemens.com.

Reply via email to