From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out-186.mta0.migadu.com (out-186.mta0.migadu.com [91.218.175.186]) (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 C991135AC3D for ; Thu, 2 Apr 2026 03:24:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.186 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775100242; cv=none; b=RyU24GsqOG8FF6XHIm5F7K8Tpja/TXNWHPc6ih+UjRckOEbiS8a8D8SBralhGbagmhP5wHkNkvItNjEG69ysneHDcstnie94JEUE76e7L9SxP5qfxEgBjzw666Lp/kIwnDDmmIbo9l8D/mo0qfAXWgUGweNlbhRx59SPjnBz+pQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775100242; c=relaxed/simple; bh=9KZqroIyxNRDPow7TaiMogvXnhIOoAZC1QbQYEKsk/w=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=HEspq6DprdX5rWW1V2lzhR+2XG45EfcyzezOcK3bxrEtVkDgXYVD6+hV9DnCB7mVypaU8jWhQxCCzDlGC4mHeUK+TSAriv9Ugx507wzRbog/EcvPwySx9le9/eGCak2PyX89EX9KN4LFHDqkyd/i8Wk9gApNlv2Uv8h4IYjTRqU= 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=uh2KsN6B; arc=none smtp.client-ip=91.218.175.186 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="uh2KsN6B" Date: Wed, 1 Apr 2026 20:23:53 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1775100238; 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=Lqj2Tio+D0Je+/WxvKF4wZKr7nks2J0BqcNs9XZouZY=; b=uh2KsN6B7yqPK29082ZutM7eQ0dyxH/WQp2cANLFVnU3V193dgA4yDbFjcMJVd0kpzPIZG iVAyQnN1veHmFbp/zUJ5cUAOymPvUSWcQG7BdktrDTkiyrFvMdove7BA8aQvRHfbZFA0aZ AhZu7U6Ws1t6vPmQx9nGWEkUt6QgEJ8= X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Shakeel Butt To: Baolin Wang 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 Subject: Re: [PATCH] mm: vmscan: fix dirty folios throttling on cgroup v1 for MGLRU Message-ID: References: <3445af0f09e8ca945492e052e82594f8c4f2e2f6.1774606060.git.baolin.wang@linux.alibaba.com> <0498d924-d76a-4d82-8767-e6297442967a@linux.alibaba.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: <0498d924-d76a-4d82-8767-e6297442967a@linux.alibaba.com> X-Migadu-Flow: FLOW_OUT 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. 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.