Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp115772lqp; Wed, 20 Mar 2024 15:45:49 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCW/X6+G4QpxMZ/8TFtccIyd5CdMwovnLpUyYxGFQ2s8n0JgSMG/HejkQeRzqdjRcObLpp7Wz7NkiLdHgx/UaE2NTHjQCPvBHhG7r4wRCQ== X-Google-Smtp-Source: AGHT+IFyN5j05e/wzkNw3rW88YMrk/CvrPXO5uaP1eJLI9EldtZ+vZYXGu02AYp3eqcR3XOzb7O7 X-Received: by 2002:a05:6a20:8f14:b0:1a3:64ec:46a6 with SMTP id b20-20020a056a208f1400b001a364ec46a6mr503696pzk.4.1710974748795; Wed, 20 Mar 2024 15:45:48 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710974748; cv=pass; d=google.com; s=arc-20160816; b=PXPAsVMcfwblfwcRg9Pbo/HZCX2TjoN6hJqlt6XfEp1F8AibUVBaMbpgO5wsbfiYo+ 5V/hvPVwD659LcAbl59kDSlnIUQVlDmqLKJ1llN9J/jzWPcd7D9hcV3gvgHzI6tet/8t ulhyYRY03q2NR2bbrECyOLcB9ZBKL1mEXmlGqYnKIu0A7MmPabzq7X70FUDXt65fB5wR sAd2Vc8VhuYFs2RDFlAJZPSvd12OjuTRaeFofTxUNssxctTejU95qt6f4TSRfUpug1FH rzRBnC0aR8B9cPAZ3Mun1IaaOS6RwFiN6DUadAAodRSqyPqIVVfMWLK2TEgCwpAXBWvl wzYw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:dkim-signature:date; bh=w4+WlveuzgqPZikAmvyx2NEP17PqNOHdzBDbDqmano0=; fh=Fn0q9JHbRgcFriLKu0iXXDXjGYgoz93XTMktHqnRuo4=; b=DEdcUKOpek9h8q9GaOjRrTLRo482c5WQF581XwTc4FHyopLTsP6nilcdO3NBSdiaUY f2OAZf8xBsFoNdfbyG6lX/Am2TQeuZZZhDOhCLVVx7NQo6vISv1pJC38/9tc7gUkMTjY JeHd7rficn1IkC1Dg/ywLQBonuXTwGxd4ly97baoBR17ifTWw86/37hJ6xHF0UOw8aF8 5Md0UA+2cTSgcbBFkqDHMS0TqFCo1x8s3bK7m7CCoeDq3PYcPhYSo1ayYG5bL8auNQyb fVaQA6caS3RjB1EMUMHYIiPRxqDAXjsWX1CRl62FbRH9vi6oAmPv6OoprqLRS6pXboRj C74g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=FMMXw7e8; arc=pass (i=1 spf=pass spfdomain=linux.dev dkim=pass dkdomain=linux.dev dmarc=pass fromdomain=linux.dev); spf=pass (google.com: domain of linux-kernel+bounces-109459-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-109459-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id w13-20020aa7858d000000b006e69b04677asi14054229pfn.28.2024.03.20.15.45.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Mar 2024 15:45:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-109459-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=@linux.dev header.s=key1 header.b=FMMXw7e8; arc=pass (i=1 spf=pass spfdomain=linux.dev dkim=pass dkdomain=linux.dev dmarc=pass fromdomain=linux.dev); spf=pass (google.com: domain of linux-kernel+bounces-109459-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-109459-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev 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 313DEB24C81 for ; Wed, 20 Mar 2024 22:36:35 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7A93254FAD; Wed, 20 Mar 2024 22:36:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="FMMXw7e8" Received: from out-170.mta0.migadu.com (out-170.mta0.migadu.com [91.218.175.170]) (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 154091EB45 for ; Wed, 20 Mar 2024 22:36:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.170 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710974185; cv=none; b=BM1iDYR0Gw7ez6fTeRN3WwRo9TRvews6Vi34xLggiBmTcKMBc0Exs2TT9qoo3s8eH56PGrofO9a92Szi4YT2fMNYDyMNfROr4w+ga3y9eWO478MtiR6l0IS8aKNIolLNVGkNVtsuEYvo5DtXowwnOVtZ1tfUACmf98NcZtnJ8kY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710974185; c=relaxed/simple; bh=w4+WlveuzgqPZikAmvyx2NEP17PqNOHdzBDbDqmano0=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=JuF4PCSdjpFKfRDCLB29j1skWIFCzmCK1E8sehfelA3WndQ2W9DGbPlSO0ECk59wXbZoDudfeucEXQsULVsjq3x1EQ7zxy4YvTfcXr7VaaeRfJp5XYka5wq9bmTB1d6axbsnT3VF1vc/zMo8h5bL0PdmYCINTtYZPsnhne2qPAc= 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=FMMXw7e8; arc=none smtp.client-ip=91.218.175.170 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 Date: Wed, 20 Mar 2024 15:36:14 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1710974178; 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=w4+WlveuzgqPZikAmvyx2NEP17PqNOHdzBDbDqmano0=; b=FMMXw7e8c2juESOCHR7WKcGaCYyV/ITXLNsnQa0XTJbQnxl2TkHAUJeu2ligkjUQ3RwMeS YlqqsGfVch8wvfdBsjZm9OMOMD9AYqssFNi/JdT6S+CInwnJofJDTQ/9a4AP5DXALmCE2m 3DGM91uQKYDj4yFkIDNpnsXz49ecDhg= X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Roman Gushchin To: Johannes Weiner Cc: Andrew Morton , Michal Hocko , Shakeel Butt , Muchun Song , linux-mm@kvack.org, cgroups@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] mm: remove CONFIG_MEMCG_KMEM Message-ID: References: <20240320202745.740843-1-hannes@cmpxchg.org> 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: <20240320202745.740843-1-hannes@cmpxchg.org> X-Migadu-Flow: FLOW_OUT On Wed, Mar 20, 2024 at 04:27:45PM -0400, Johannes Weiner wrote: > CONFIG_MEMCG_KMEM used to be a user-visible option for whether slab > tracking is enabled. It has been default-enabled and equivalent to > CONFIG_MEMCG for almost a decade. We've only grown more kernel memory > accounting sites since, and there is no imaginable cgroup usecase > going forward that wants to track user pages but not the multitude of > user-drivable kernel allocations. I totally support it. I believe one of the reasons for it to exist was SLOB, which hasn't been supporting the slab memory accounting. No such reasons anymore. Acked-by: Roman Gushchin Thanks!