[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <f3ec2046-3e8d-46a4-ac37-dc8e09f451ab@kernel.org>
Date: Mon, 17 Nov 2025 12:22:17 +0100
From: "David Hildenbrand (Red Hat)" <david@...nel.org>
To: Jean Delvare <jdelvare@...e.de>, linux-mm@...ck.org
Cc: LKML <linux-kernel@...r.kernel.org>, Oscar Salvador <osalvador@...e.de>,
SeongJae Park <sj@...nel.org>
Subject: Re: [PATCH v2 1/2] mm/cma: Inline cma_sysfs counter hooks
On 17.11.25 11:56, Jean Delvare 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>
> ---
I would have moved them to the header, but no strong opinion
Acked-by: David Hildenbrand (Red Hat) <david@...nel.org>
--
Cheers
David
Powered by blists - more mailing lists