From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out-182.mta1.migadu.com (out-182.mta1.migadu.com [95.215.58.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A324E44D69F for ; Thu, 26 Feb 2026 20:06:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.215.58.182 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772136380; cv=none; b=g03/r3OQv6OWGGHH5Nhyi35x/pCa3CjtjWDJ4fpowuk4qY/3xhcH69MlRjDlnnLlzC5M46xCPRm9+njD1Ip3fB9WSLpPCFbHaUKWE4XUjIU/z1WMezJVH0LhJ6sTFOuE14b3lA0GzWy4EuLGSDyM3Xt9oqAzIEBvBVHNmGATcK8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772136380; c=relaxed/simple; bh=3yf0LP7DbELypCjehNozND7Z6JekSj04QPOTP61YTlo=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=dtFmXZwZ9wBEHPWwG5tcAnoi+ls6NZ3px4jmXJnkfnECLLlrbQmAkL5/cv2zfOnEtFZETj7G9tjjOR6zxcIpNZIZKHoywrjjEvkrhX0SeLUvQDRsjZ66fnISdQYQ6VwBfy94L2aayklpOGTw3FHJFSC/7a8rBEWolsJVpZidqVo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=orHl8mid; arc=none smtp.client-ip=95.215.58.182 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="orHl8mid" Date: Thu, 26 Feb 2026 12:05:51 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1772136375; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=Rs9phl7CZvkpvyuP0IIhlSI4jujqBSi/WWAKbzIQYsk=; b=orHl8midT2uBXGfRsOr2njRHvvNwaJQOJxd6xzi+HlP7ns9d24jSabNuhSMVsgF/5A8eAD edn6NcjIBNt+DuaQK91WZ1tfqHMII5n1FfROxXnXhPSsmmZx9Ixfi1DVOI2d9mtCPRreRy G6h/hIlv0jKp6ctwaa3sZXskEjI+8zI= X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Shakeel Butt To: Qi Zheng Cc: hannes@cmpxchg.org, hughd@google.com, mhocko@suse.com, roman.gushchin@linux.dev, muchun.song@linux.dev, david@kernel.org, lorenzo.stoakes@oracle.com, ziy@nvidia.com, harry.yoo@oracle.com, yosry.ahmed@linux.dev, imran.f.khan@oracle.com, kamalesh.babulal@oracle.com, axelrasmussen@google.com, yuanchu@google.com, weixugc@google.com, chenridong@huaweicloud.com, mkoutny@suse.com, akpm@linux-foundation.org, hamzamahfooz@linux.microsoft.com, apais@linux.microsoft.com, lance.yang@linux.dev, bhe@redhat.com, usamaarif642@gmail.com, linux-mm@kvack.org, linux-kernel@vger.kernel.org, cgroups@vger.kernel.org, Qi Zheng Subject: Re: [PATCH v5 update 30/32] mm: memcontrol: convert objcg to be per-memcg per-node type Message-ID: References: <0f915487ffc653cf6ea19335c21c01aa06004641.1772005110.git.zhengqi.arch@bytedance.com> <20260225094456.74145-1-qi.zheng@linux.dev> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20260225094456.74145-1-qi.zheng@linux.dev> X-Migadu-Flow: FLOW_OUT On Wed, Feb 25, 2026 at 05:44:56PM +0800, Qi Zheng wrote: > From: Qi Zheng > > Convert objcg to be per-memcg per-node type, so that when reparent LRU > folios later, we can hold the lru lock at the node level, thus avoiding > holding too many lru locks at once. > > Signed-off-by: Qi Zheng > --- > changlog: > - fix a missing root_obj_cgroup conversion and completely delete > root_obj_cgroup. > After this patch, do we care that page/folio/slab points to the objcg of the same node as them for a given memcg?