[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <78BB88AE-E4C7-4AB3-9B66-48D97A92FA0D@nvidia.com>
Date: Tue, 02 Dec 2025 10:27:10 -0500
From: Zi Yan <ziy@...dia.com>
To: Chen Ridong <chenridong@...weicloud.com>
Cc: viro@...iv.linux.org.uk, brauner@...nel.org, jack@...e.cz,
hannes@...xchg.org, mhocko@...nel.org, roman.gushchin@...ux.dev,
shakeel.butt@...ux.dev, muchun.song@...ux.dev, tj@...nel.org,
mkoutny@...e.com, akpm@...ux-foundation.org, vbabka@...e.cz,
surenb@...gle.com, jackmanb@...gle.com, linux-fsdevel@...r.kernel.org,
linux-kernel@...r.kernel.org, cgroups@...r.kernel.org, linux-mm@...ck.org,
lujialin4@...wei.com, chenridong@...wei.com
Subject: Re: [PATCH -next] cgroup: switch to css_is_online() helper
On 1 Dec 2025, at 21:57, Chen Ridong wrote:
> From: Chen Ridong <chenridong@...wei.com>
>
> Use the new css_is_online() helper that has been introduced to check css
> online state, instead of testing the CSS_ONLINE flag directly. This
> improves readability and centralizes the state check logic.
>
> No functional changes intended.
>
> Signed-off-by: Chen Ridong <chenridong@...wei.com>
> ---
> fs/fs-writeback.c | 2 +-
> include/linux/memcontrol.h | 2 +-
> kernel/cgroup/cgroup.c | 4 ++--
> mm/memcontrol.c | 2 +-
> mm/page_owner.c | 2 +-
> 5 files changed, 6 insertions(+), 6 deletions(-)
>
LGTM. Reviewed-by: Zi Yan <ziy@...dia.com>
Best Regards,
Yan, Zi
Powered by blists - more mailing lists