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 2A9F035BDDC for ; Fri, 3 Apr 2026 21:39:55 +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=1775252397; cv=none; b=aCw26lmuVwnIV1px5Sx9QZs+vLNqwxkOFbTohem88I3ln4QZuRA4PdCOdiF/OjOFD2FoGCsE0hAdZXkXvfGH54Dw0GLr1oHvFQ0111EEC5XqejH8iywKtwAVde7eYIpoTLGsEiTcc882uJ3pmSjkfDD9KkOM6BORs47bD5LfDQc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775252397; c=relaxed/simple; bh=eod//Il4sakxUKHmcS0KX/3ISwwB1c+faalQbMk3JFs=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=cEZzlV3/os8RXwZSb5/mnp7S912ZqwL7zAqXMhsVkHeoTs25La+irZ8977U5yrtorqZPDHzfBjOlgHUmciF+f7DzWvGDJCF/h3tCsm3dUh2cMrnqx9Qya/mtvrVDLbmsnGSGqaxRjUM+OwffpOpBvau6laxAqQDGk981Xh1zAb0= 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=pqeiB+oX; 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="pqeiB+oX" Date: Fri, 3 Apr 2026 14:39:28 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1775252384; 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=vaxPn9D0nufvu6pcRhM4O7HHngFJ1hdy48gOkdHVhzs=; b=pqeiB+oXjYhHGbE55N1vYYuQ00Lrja4y9Vwmba6ltaiEplJdL/jYRk08LkbiQ3uqyTPGAS 8zgHcZB1/3aHdJxPoLgRSV7Z11PNctNltyP+EGIti9osDDeslK8Lp44BZFyEAB4mdE2ENH AH8URr42/ehRwbrcLw0HU0He4lfL7VE= 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 , Yosry Ahmed Subject: Re: [PATCH v6 29/33] mm: memcontrol: refactor mod_memcg_state() and mod_memcg_lruvec_state() Message-ID: References: <7f8bd3aacec2270b9453428fc8585cca9f10751e.1772711148.git.zhengqi.arch@bytedance.com> 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: <7f8bd3aacec2270b9453428fc8585cca9f10751e.1772711148.git.zhengqi.arch@bytedance.com> X-Migadu-Flow: FLOW_OUT On Thu, Mar 05, 2026 at 07:52:47PM +0800, Qi Zheng wrote: > From: Qi Zheng > > Refactor the memcg_reparent_objcgs() to facilitate subsequent reparenting > non-hierarchical stats. > > Co-developed-by: Yosry Ahmed > Signed-off-by: Yosry Ahmed > Signed-off-by: Qi Zheng Acked-by: Shakeel Butt