[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Y1FFJ9svEOMNHNRH@pc636>
Date: Thu, 20 Oct 2022 14:55:03 +0200
From: Uladzislau Rezki <urezki@...il.com>
To: Christoph Hellwig <hch@...radead.org>
Cc: "Uladzislau Rezki (Sony)" <urezki@...il.com>,
Andrew Morton <akpm@...ux-foundation.org>, linux-mm@...ck.org,
LKML <linux-kernel@...r.kernel.org>,
Matthew Wilcox <willy@...radead.org>,
Nicholas Piggin <npiggin@...il.com>,
Steven Rostedt <rostedt@...dmis.org>,
Oleksiy Avramchenko <oleksiy.avramchenko@...y.com>
Subject: Re: [PATCH v2 5/7] mm: vmalloc: Use trace_purge_vmap_area_lazy event
> > + 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
Powered by blists - more mailing lists