[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20260126125048.323a281527fb2554c96f40bf@linux-foundation.org>
Date: Mon, 26 Jan 2026 12:50:48 -0800
From: Andrew Morton <akpm@...ux-foundation.org>
To: Oleg Nesterov <oleg@...hat.com>
Cc: Alice Ryhl <aliceryhl@...gle.com>, Boris Brezillon
<boris.brezillon@...labora.com>, Christian König
<christian.koenig@....com>, Felix Kuehling <felix.kuehling@....com>, Leon
Romanovsky <leon@...nel.org>, Steven Price <steven.price@....com>,
"David S. Miller" <davem@...emloft.net>, Eric Dumazet
<edumazet@...gle.com>, Jakub Kicinski <kuba@...nel.org>, Paolo Abeni
<pabeni@...hat.com>, Simon Horman <horms@...nel.org>,
linux-kernel@...r.kernel.org, amd-gfx@...ts.freedesktop.org,
dri-devel@...ts.freedesktop.org, linux-rdma@...r.kernel.org,
netdev@...r.kernel.org
Subject: Re: [PATCH v2 7/7] netclassid: use thread_group_leader(p) in
update_classid_task()
On Sun, 25 Jan 2026 17:08:00 +0100 Oleg Nesterov <oleg@...hat.com> wrote:
> Cleanup and preparation to simplify the next changes.
>
"next changes". This is the final patch?
> --- a/net/core/netclassid_cgroup.c
> +++ b/net/core/netclassid_cgroup.c
> @@ -93,7 +93,7 @@ static void update_classid_task(struct task_struct *p, u32 classid)
> /* Only update the leader task, when many threads in this task,
> * so it can avoid the useless traversal.
> */
> - if (p != p->group_leader)
> + if (!thread_group_leader(p))
> return;
>
> do {
> --
> 2.52.0
Powered by blists - more mailing lists