Re: [PATCH v2 5/7] mm: vmalloc: Use trace_purge_vmap_area_lazy event

From: Uladzislau Rezki
Date: Thu Oct 20 2022 - 08:55:19 EST


> > + return num_purged_areas > 0 ? true:false;
>
> The formatting here is a bit off due to the lack of whitespaces around
> the :. But as boolean expression propagate to boolean values this
> can be simplified to:
>
> return num_purged_areas > 0;
>
Good point! Indeed it is odd.

--
Uladzislau Rezki