From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out30-119.freemail.mail.aliyun.com (out30-119.freemail.mail.aliyun.com [115.124.30.119]) (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 10D6578F2E for ; Thu, 2 Apr 2026 03:35:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=115.124.30.119 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775100920; cv=none; b=fihBbjb3F5SlTgfQD2pv1uFiE5SXmZLNtVAR1T7hOLDV3xLAMlOTWfdqcsdHakMqd47lZ9iYBP94sX/Vo8rToY5flBwAdJ6v7mjPpnH36/vtlt/BvMlU5okIcXqiylfCXAW3wiUcvNdZI2cWzGgBVdW3pkc/YTiXFYUkcjWO6lI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775100920; c=relaxed/simple; bh=odoYJ7tmzDmAHzqVJEeyN/Ld9DlUcwk8KdcjUl45iIo=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=uyv0JpHIgLNMMzzbksFGexNU+WgxHk9HxKNwDAWVqPPqJ3thu4VYwBQOl+VZy4aarDk6iYwirfwiaR5i4jECmRZwUOlj74eP5kN4/HUfmpmG06Vn8jPfaGCdTHx+Q7/C4PpQVD6GFyde6frY/IWfRJdraJZOuPoT7eIJFLqGDos= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.alibaba.com; spf=pass smtp.mailfrom=linux.alibaba.com; dkim=pass (1024-bit key) header.d=linux.alibaba.com header.i=@linux.alibaba.com header.b=IOqE3/V0; arc=none smtp.client-ip=115.124.30.119 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.alibaba.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.alibaba.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.alibaba.com header.i=@linux.alibaba.com header.b="IOqE3/V0" DKIM-Signature:v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.alibaba.com; s=default; t=1775100917; h=Message-ID:Date:MIME-Version:Subject:To:From:Content-Type; bh=QCAZkr4rLrvAZkOtOmwtWC8aTcZ5AbhS1qyv6RDg3UM=; b=IOqE3/V0x971kkvU8eXFyOtMNjZAKwL7G+daSOnhKYBKa23k9G9/pwmDvHj59u5oCiJFmue/J8Cl+e9n3A/aCsg2/VWYatR1ruuPw7NzRPrijMml8Ztt171ISJ/+ZOJ1aE1O9u7OO2R33cRTM8/1K/B5SZlNCSUmIZhDEBXlcV0= X-Alimail-AntiSpam:AC=PASS;BC=-1|-1;BR=01201311R101e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=maildocker-contentspam033037009110;MF=baolin.wang@linux.alibaba.com;NM=1;PH=DS;RN=16;SR=0;TI=SMTPD_---0X0Fk3TO_1775100912; Received: from 30.74.144.121(mailfrom:baolin.wang@linux.alibaba.com fp:SMTPD_---0X0Fk3TO_1775100912 cluster:ay36) by smtp.aliyun-inc.com; Thu, 02 Apr 2026 11:35:16 +0800 Message-ID: Date: Thu, 2 Apr 2026 11:35:15 +0800 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] mm: vmscan: fix dirty folios throttling on cgroup v1 for MGLRU To: Shakeel Butt Cc: Kairui Song , akpm@linux-foundation.org, hannes@cmpxchg.org, david@kernel.org, mhocko@kernel.org, zhengqi.arch@bytedance.com, axelrasmussen@google.com, yuanchu@google.com, weixugc@google.com, ljs@kernel.org, baohua@kernel.org, kasong@tencent.com, linux-mm@kvack.org, linux-kernel@vger.kernel.org, Jingxiang Zeng References: <3445af0f09e8ca945492e052e82594f8c4f2e2f6.1774606060.git.baolin.wang@linux.alibaba.com> <0498d924-d76a-4d82-8767-e6297442967a@linux.alibaba.com> From: Baolin Wang In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 4/2/26 11:23 AM, Shakeel Butt wrote: > On Thu, Apr 02, 2026 at 10:51:37AM +0800, Baolin Wang wrote: >> >> > [...] >> >>>> This is v1 only and I don't care much but what is stopping you from moving away >>>> from v1? >>> >>> For example memsw? >>> >>> https://lore.kernel.org/linux-mm/q2x4drxpjbxcxgns6bjp446ynsxgl32ckcljqcol7posds4nit@3n3tjq35anvb/ >>> >>> I remember Jingxiang's plan is to improve the page counter first. >> >> Additionally, we still have some existing users on cgroup v1, and they will >> need some time to migrate to cgroup v2. > > Time is fine but is there any specific v1 feature which is a blocker for you. Nope, I haven’t received any blockers from our customers so far. > The memsw is a known one and is the same for Google (data center). I am aiming > to provide memsw like behavior through my memcg_ext proposal but performance is > an open question. I am aiming to have a prototype before LSFMM to further the > discussion. Great.