|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Minios-devel] [UNIKRAFT PATCH] lib/alloc: check for missing palloc implementation
Hi Hugo, thanks a lot for your work. This is a good finding. On 08.01.20 11:26, Hugo Lefeuvre wrote: Interesting... I am actually curious what the compiler does with your condition. I would have written it with just one encapsulating `unlikely` hint: if (unlikely(!a || !a->palloc))Maybe there is no difference and it turns out to be different coding style. In general, having just one encapsulating hint maybe easier to read. What do you think? Thanks, Simon _______________________________________________ Minios-devel mailing list Minios-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/minios-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |