[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20251118013452.75700-1-sj@kernel.org>
Date: Mon, 17 Nov 2025 17:34:51 -0800
From: SeongJae Park <sj@...nel.org>
To: Jean Delvare <jdelvare@...e.de>
Cc: SeongJae Park <sj@...nel.org>,
linux-mm@...ck.org,
LKML <linux-kernel@...r.kernel.org>,
David Hildenbrand <david@...hat.com>,
Oscar Salvador <osalvador@...e.de>
Subject: Re: [PATCH v2 1/2] mm/cma: Inline cma_sysfs counter hooks
On Mon, 17 Nov 2025 11:56:02 +0100 Jean Delvare <jdelvare@...e.de> wrote:
> Move cma_sysfs counter hooks from cma_sysfs.c to cma.c. These
> one-liner functions are only used once each, but the compiler
> currently can't inline them because they are defined in one object and
> used in another. Letting the compiler inline these functions lowers
> the footprint and runtime cost of the sysfs interface to CMA stats
> even more.
>
> Signed-off-by: Jean Delvare <jdelvare@...e.de>
Reviewed-by: SeongJae Park <sj@...nel.org>
Thanks,
SJ
[...]
Powered by blists - more mailing lists