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

From: Christoph Hellwig
Date: Thu Oct 20 2022 - 07:25:18 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;

anyway.

Otherwise looks good:

Reviewed-by: Christoph Hellwig <hch@xxxxxx>