From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id DCF27D13C1B for ; Tue, 27 Jan 2026 08:19:17 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 6C30410E4E8; Tue, 27 Jan 2026 08:19:17 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (1024-bit key; unprotected) header.d=linux-foundation.org header.i=@linux-foundation.org header.b="Gnbh9Loe"; dkim-atps=neutral Received: from tor.source.kernel.org (tor.source.kernel.org [172.105.4.254]) by gabe.freedesktop.org (Postfix) with ESMTPS id A16A510E494; Mon, 26 Jan 2026 20:50:50 +0000 (UTC) Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by tor.source.kernel.org (Postfix) with ESMTP id B367560129; Mon, 26 Jan 2026 20:50:49 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id DC155C116C6; Mon, 26 Jan 2026 20:50:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1769460649; bh=yndic95Dd8m5l7C1UqbBVJQY3dB2qyl3JPw2oSTE5TQ=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=Gnbh9LoeYg4uZkvQPBCJHv7TazOmO+eqozhbasI0b8pDuDPJ/LE4GearjPOnG04NB /t1tDK4uOP4xN4ZsPWegJH7KYRjDifFFGDt4laaZ+PpC0Uf05a9w2tV709Z6OH1Ogt GvJ4OwYOaLmX6a2pJF4xDjbXynMUAml/PDzkSr5U= Date: Mon, 26 Jan 2026 12:50:48 -0800 From: Andrew Morton To: Oleg Nesterov Cc: Alice Ryhl , Boris Brezillon , Christian =?ISO-8859-1?Q?K=F6nig?= , Felix Kuehling , Leon Romanovsky , Steven Price , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Simon Horman , linux-kernel@vger.kernel.org, amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-rdma@vger.kernel.org, netdev@vger.kernel.org Subject: Re: [PATCH v2 7/7] netclassid: use thread_group_leader(p) in update_classid_task() Message-Id: <20260126125048.323a281527fb2554c96f40bf@linux-foundation.org> In-Reply-To: References: X-Mailer: Sylpheed 3.8.0beta1 (GTK+ 2.24.33; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Tue, 27 Jan 2026 08:19:15 +0000 X-BeenThere: amd-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion list for AMD gfx List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: amd-gfx-bounces@lists.freedesktop.org Sender: "amd-gfx" On Sun, 25 Jan 2026 17:08:00 +0100 Oleg Nesterov 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