[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20250420115848388DXE4HgOnwCNl4IjrMloB6@zte.com.cn>
Date: Sun, 20 Apr 2025 11:58:48 +0800 (CST)
From: <yang.yang29@....com.cn>
To: <ye.liu@...ux.dev>
Cc: <bsingharora@...il.com>, <linux-kernel@...r.kernel.org>,
<liuye@...inos.cn>, <linux-mm@...ck.org>, <akpm@...ux-foundation.org>
Subject: Re: [PATCH] delayacct: use macro to simplify delayacct_end calls
Hi Ye Liu
> Replace repetitive calls to delayacct_end() with a new macro
> DELAYACCT_END to reduce code duplication.
> No functional changes.
Please CC akpm@...ux-foundation.org and linux-mm@...ck.org
next time.
I think it's a good idea to use macros to reduce code duplication in
functions. So what about also use macros to define
void __delayacct_##type##_end().
Thanks!
Powered by blists - more mailing lists