Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp238723lqo; Thu, 9 May 2024 19:59:33 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWlnsJYbPcLgd0+QdpY8i8NOILRR6Bis4aIWBNvBKwRJ+tUxsYrEAtMMtsHVUTfYEogIZeu7HMFHmSAv3P479pnHJ3MhVNIDRP+oxecag== X-Google-Smtp-Source: AGHT+IHqiGw+mnCgoQ79reu0DAA1IFFjLBN5VTzkD5Djya6HbikczUOByyaXutY/wt1QRUpuupHZ X-Received: by 2002:a05:6a20:3256:b0:1af:81fd:63be with SMTP id adf61e73a8af0-1afde0e6af6mr1988568637.13.1715309973453; Thu, 09 May 2024 19:59:33 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715309973; cv=pass; d=google.com; s=arc-20160816; b=ageCSIhZldkTRs6YdV3g87g4EWLd3te25MYQeGeCeXYRmfIjvxYAByppF98oY85Gs5 taHAOHCU8NffqJVLmjDmFY32MAHvD0MikGh/c0lGLaJNs6P0mTACvYkzpG8Y9muKxqbm cNow9XdrNr+EXAEe2UekH1N5nVbgaCLLb+AFpFqP0eXAZeZeF3HCb6KJXi4LVZiLXo3R s+LhAaKzXVTzbSNs5DzZGnpsG5qBxEWgysF/qoi4mrbAHXrqEXHmHnb9g0ZSChf8z0h9 9JUViTmco5gJ0vccT1wQUp6zQxgEEqJih5GpKWTjzXRkOJo0r/b7Q5xQ14f4Dl7vPLKy 77AQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:in-reply-to:subject:cc:to:from:date :dkim-signature; bh=9YAvN15jkkQy4bLNa73Wwd2uC52sgt5QgcX7n+MN8qs=; fh=iBL3jLJz9ad6XC5HVmQCOlPZfFAjQVURkL4YidFolV8=; b=ITeMtGvR5NBiZ5TrZUtJ8aBV1msQK5Qv377dsFMAIY9zbktAkGnfQf5Q+1eI6ntXLT 38X8HjGo6+qouhvoUweVLgpXgnIvODtYtlIR7CqHVWMDubG3Nz/FhuHPaVa27mCTipo8 3mke19qqCjFXJX4Qjdv3lsTsD7myUWQ3193NUasz7qcPlRIVabTiLChnwtCy1zJ5/BGp kOQK9CIz/np9lhi2W6gQMjwiQE+5Lsyfw9dnY0UoZdm4Hevs6stnsNmlt+sL/u7wr7iK cfBN9PZqvpirFRsWtxwpiTxw8zkA2Sc5MdkyYV9z6BOq0BuJLeW5CkrjKWjEF84bIJJZ 0h7Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=3hf0Uy9H; arc=pass (i=1 spf=pass spfdomain=google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-175225-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-175225-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id 41be03b00d2f7-6341180d604si1158610a12.487.2024.05.09.19.59.32 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 May 2024 19:59:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-175225-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=3hf0Uy9H; arc=pass (i=1 spf=pass spfdomain=google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-175225-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-175225-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 50D36B21C9E for ; Fri, 10 May 2024 02:59:30 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 177DD148843; Fri, 10 May 2024 02:59:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="3hf0Uy9H" Received: from mail-pl1-f173.google.com (mail-pl1-f173.google.com [209.85.214.173]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id EA2843308A for ; Fri, 10 May 2024 02:59:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.173 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715309963; cv=none; b=DO6RMruSLVQSD8geD42LswDU4zI39DPSVHNK2ttdaZAM0mqYfL+MtLOs7Vq2gtDeBNbzhlNliq3uPjy5BTDI4ymd13AJ2hazw+VcmVXj95UhBF3KAr1PZerd6qdvUy86sEMSRpOs8q9sdzmQH++iPQ28XlIQNF5ndc92OlE/v4k= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715309963; c=relaxed/simple; bh=Pi6sA5OEePkFTgTO+Gh4nnwPpOvV+oqjS1oHiKLDvl0=; h=Date:From:To:cc:Subject:In-Reply-To:Message-ID:References: MIME-Version:Content-Type; b=XSgqmN61GfEL97cIpT5BL2iKHtiIG605UCTdKAZ7FXCfyVB5mbWtxEL4/IiQ6u5igvogcyHAi5LscicfDj4v2nysG90Z8omATOCN8dUwEcWmdaX8+2Wj0OlBQHtEeR+NgtcwNV3S7lR+jkskp6N2ENEF7Mx1SqWCuPYubpu1KKE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=3hf0Uy9H; arc=none smtp.client-ip=209.85.214.173 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=google.com Received: by mail-pl1-f173.google.com with SMTP id d9443c01a7336-1ee5f3123d8so49155ad.1 for ; Thu, 09 May 2024 19:59:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1715309961; x=1715914761; darn=vger.kernel.org; h=mime-version:references:message-id:in-reply-to:subject:cc:to:from :date:from:to:cc:subject:date:message-id:reply-to; bh=9YAvN15jkkQy4bLNa73Wwd2uC52sgt5QgcX7n+MN8qs=; b=3hf0Uy9HEEUjocQJn0hkVh1LuBIrj1JOSoY4aIjaU0gVgsqlunDjY8bp4C738/gbQ+ WZ3v1GINnwn1YOL6ht7m6T8wTGBGF5Scm4iirUsJ9ueDPKc+v6AXIqeJ0rtJVXeydOhS Y+VgONUuJBrBlr+2JvwLi0Uvc+Q8doBQZLcaG3n2ORXssx3pM4+MchWIpXE4GfDtvM6H hXg624jLcDiK6ghi3p7LaJPGaXAPs4SCUGv3fKKswlca6aDWUiOxr7970P7Xz+haRfb2 DcV26cw/6TbSnPvI03OGNjyFBDVZIRcWvialpxfqIW/ZebCt9Px+aOocq8FUDcYWgnLh bYCw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715309961; x=1715914761; h=mime-version:references:message-id:in-reply-to:subject:cc:to:from :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=9YAvN15jkkQy4bLNa73Wwd2uC52sgt5QgcX7n+MN8qs=; b=jCxy0JZdDDUvusXJn4Z5ZGYTReWX66iWQ54ya9RG0KLHqg9rhsTPVHUzwlGIfXsvyU jyoZJFhaeAVD9UrHkYGWtHRbiE0k+QiWJfNbahcsKoOrskTDRMqX3Y0zpVJiQX0DOiCN 8A22tJzNESQjUsZhv/5B2gf4qAtO5eJrFip/mLZS3MJtSQdvMv0iOiPSHulDJefGIex2 SXouAmqtkzJSC1ZFoXtOvdNCBqftEKgzMTWcjPLIMbCSZOj0rHfG87RgewMXxmA4/gP2 ZmDfD7rRoKDT7SuZud5fSxcQtNOLCYQDhYfleIH2EwkufvZQDAfY6G+JBbqIcWjLVrSc o6cA== X-Forwarded-Encrypted: i=1; AJvYcCUFrT249pQZxBnuVykhXExQ6WUrP+0xkPodeZi7Wqgge6+77ZFnktpsCBgoqHOyUBlzu3RbWO6H7F6rMpHFtDUhrjzq2pxRrHudBeFq X-Gm-Message-State: AOJu0Yy6k5sNOd+gIK/eUUFs/4+1jLf279OjUjxtlwVMO9kdI2MlcTJK v00WJ/0vEoNmoQgj4MxfhLhO2PpWkE6OlfgI6EFmkylHbSroz6ZLbCh8PrFYng== X-Received: by 2002:a17:903:40d2:b0:1e4:33a6:b0d4 with SMTP id d9443c01a7336-1ef5e8d77d5mr720365ad.9.1715309960592; Thu, 09 May 2024 19:59:20 -0700 (PDT) Received: from [2620:0:1008:15:3671:ce3b:3311:fcd2] ([2620:0:1008:15:3671:ce3b:3311:fcd2]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-1ef0c039f29sm21969055ad.219.2024.05.09.19.59.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 May 2024 19:59:19 -0700 (PDT) Date: Thu, 9 May 2024 19:59:19 -0700 (PDT) From: David Rientjes To: Shakeel Butt cc: Roman Gushchin , Andrew Morton , Muchun Song , Johannes Weiner , Michal Hocko , Matthew Wilcox , linux-mm@kvack.org, linux-kernel@vger.kernel.org, gthelen@google.coma, Chris Li Subject: Re: [PATCH rfc 0/9] mm: memcg: separate legacy cgroup v1 code and put under config option In-Reply-To: Message-ID: References: <20240509034138.2207186-1-roman.gushchin@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 On Wed, 8 May 2024, Shakeel Butt wrote: > Hi Roman, > > A very timely and important topic and we should definitely talk about it > during LSFMM as well. I have been thinking about this problem for quite > sometime and I am getting more and more convinced that we should aim to > completely deprecate memcg-v1. > I think this would be a very worthwhile discussion at LSF/MM, I'm not sure if it would be too late for someone to make a formal proposal for it to be included in the schedule. Michal would know if there is a opportunity. I say that in light of https://lore.kernel.org/bpf/ZjL5b-zipMrV2JSg@archie.me/T/#mb6c21b09543c434dd85e718a8ecf5ca6485e6d07 as well for the whole cgroup v1 -> v2 transition. Chris, now cc'd, would know best about all of the dependencies that Google has for memcg specifically. > More specifically: > > 1. What are the memcg-v1 features which have no alternative in memcg-v2 > and are blocker for memcg-v1 users? (setting aside the cgroup v2 > structual restrictions) > > 2. What are unused memcg-v1 features which we should start deprecating? > > IMO we should systematically start deprecating memcg-v1 features and > start unblocking the users stuck on memcg-v1. > > Now regarding the proposal in this series, I think it can be a first > step but should not give an impression that we are done. The only > concern I have is the potential of "out of sight, out of mind" situation > with this change but if we keep the momentum of deprecation of memcg-v1 > it should be fine. > > I have CCed Greg and David from Google to get their opinion on what > memcg-v1 features are blocker for their memcg-v2 migration and if they > have concern in deprecation of memcg-v1 features. > > Anyone else still on memcg-v1, please do provide your input. > > thanks, > Shakeel >