Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp929871rdb; Sun, 18 Feb 2024 20:24:41 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWPJpgEFifdh/yOUm2G9sHQ9W+V8ClBbvsVlwD6JbMLwITpkJd5UlyM9JSwKZFpTI9cTiHamtlh1zaOegGUxPMi9kmbJHty0Q3UqehULQ== X-Google-Smtp-Source: AGHT+IFAfsaAXei4GB2heGeUk0sV7CmLO/VSpIJNVCl+znbY3jXwvJFDrO2DwkFs0sTvydDQ5utH X-Received: by 2002:aa7:d1cf:0:b0:564:2ea0:670c with SMTP id g15-20020aa7d1cf000000b005642ea0670cmr2815353edp.23.1708316681815; Sun, 18 Feb 2024 20:24:41 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708316681; cv=pass; d=google.com; s=arc-20160816; b=gCT962Me+/UIAiLzt2yXSq9zeMG7cvJ8OLrGpKP0/zOTWOibnfRKMcJQtBn3AE1XSs aZ8Cj1RIER/qnA7AxBAg+tGXrkHrpkSqSSZ50yc5O167zCmOtAaQ6njoaiKNTRCC/WJU dXjeugkm/pJ+BosvT+zuunS9fsaS+PoO3bXWJu28Ue2fe/6ljPjA/fAYX6j4adq4uOnS HiGH0Mnxim2lsTYrIFYcOsQ1vd2PsqI5jcYt0mBnsHe7l8RMqHTpdxLPfkdYbmYkBtjk EzQB7riUVGt5qTxAMjNMrCjoZNGAARvzQemVIbwrYWeq9SAgO4kQ0yebZ1LagQ21rvIm x+Hw== 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:date:dkim-signature; bh=FE0EILapCLyvVGp5OnAstIrCC+u2yV929+hZpgm0nEQ=; fh=N3AsIJr58pAS1t7pH3h0hclZLyc9eALWkvQ98SUmh98=; b=FqzwG3Xm71v7cp246McWkpEWOIh4eflas+C/WeFiD+fKGKVDdw1sHRg/c0gferVXJl ZRgli09iB7/nZWJOF5uSfoEsVlUZOSrBJnVrx9Zx0AIJtYDfTFBlgXZx54A5IN+oU8TP FNpNe/bLfUIj65sw3irQTcej7ukMWMAXp414cUgGJnvL0Snnt7osg6fcd9bH9PUwlVPJ 5SOHuNBEsCx9l+76NpIR7z7bTbIE27GcEUpYk9IJa1uOrDjcxhEKW8QEU4l5X4wDMRra xcopD5r8GCD9KgNXHQlBXxcrC2q1EUlJZWJaasNI8Qe6mLNDXMqzG9oDj+v+/rDfpzsq zvXw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=HiJ84mEA; arc=pass (i=1 dkim=pass dkdomain=infradead.org); spf=pass (google.com: domain of linux-kernel+bounces-70707-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-70707-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id g6-20020a056402180600b0056406fb6d03si2117760edy.42.2024.02.18.20.24.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 18 Feb 2024 20:24:41 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-70707-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=HiJ84mEA; arc=pass (i=1 dkim=pass dkdomain=infradead.org); spf=pass (google.com: domain of linux-kernel+bounces-70707-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-70707-linux.lists.archive=gmail.com@vger.kernel.org" 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 am.mirrors.kernel.org (Postfix) with ESMTPS id 7AB321F21905 for ; Mon, 19 Feb 2024 04:24:41 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7EB601078D; Mon, 19 Feb 2024 04:24:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="HiJ84mEA" Received: from casper.infradead.org (casper.infradead.org [90.155.50.34]) (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 63022FBE7 for ; Mon, 19 Feb 2024 04:24:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=90.155.50.34 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708316673; cv=none; b=AtWrhqW0VDEvbbatjga1CMRsHRxVNDtuFKcL1Tz4zvtzow3i4O5e/ODWlfJLmfl297RtVCp2a61oFYBPO2HbJ7m/cfWX2wlbfP9QWGnVPueEJEmoXxqz4Pw1WCRQHuKunf15/rNPu/q9wUcGJS5CeqKolpQ7QVXcD/Zdr4JNMRE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708316673; c=relaxed/simple; bh=FE0EILapCLyvVGp5OnAstIrCC+u2yV929+hZpgm0nEQ=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=BPe8FRL9qmrEFTNwCcguE4UGi1giezIIBgbh/TqdprpDCcKKPHwpz+Gjhx9lv7HtQ7GG49b0ME9fq1fUOnfHYoDMwoB1l1YMxbdt6/IAyh11/XD+WX85hvPK3GVY2TW1rvieOMKSIQcLE6wLitj/GB0VyzfmUYxU81rfexnpcxE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org; spf=none smtp.mailfrom=infradead.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b=HiJ84mEA; arc=none smtp.client-ip=90.155.50.34 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=FE0EILapCLyvVGp5OnAstIrCC+u2yV929+hZpgm0nEQ=; b=HiJ84mEAH1xbxVyMEXTEVkNRgd Y5ON/fnFA+SAIKTkEx/pkEjmbQFa9vY2YsHIyYNWFhs/0Y8MjBhrWFd8xe/MKlEu880IBYNFZBUoV HbV+Uvma92oBuApve1KRymY0LF1efjTT37QTu/cOmjrIUQh3rKyDsrLJ2QJM836LAnuBn2Dg7H1mX pRaynmR6T/jLtK/s7swzuxFgeQDC1/9g/OThD7btTqE3SG3Rn4HTkFGiihlKd/t3ATsXcIP1QGVRT +qyFdWt32/RuTqBkkYJ4S7E5JxbuzvtIozSUcL4agG1KkK0hxEWMIYX1EvE/37ssyGQBFI7v47URU wFgdZTzg==; Received: from willy by casper.infradead.org with local (Exim 4.97.1 #2 (Red Hat Linux)) id 1rbvCK-0000000Brsb-0Oa1; Mon, 19 Feb 2024 04:24:08 +0000 Date: Mon, 19 Feb 2024 04:24:07 +0000 From: Matthew Wilcox To: Fangzheng Zhang Cc: Christoph Lameter , Pekka Enberg , David Rientjes , Joonsoo Kim , Andrew Morton , Vlastimil Babka , Roman Gushchin , Hyeonggon Yoo <42.hyeyoo@gmail.com>, Greg KH , linux-mm@kvack.org, linux-kernel@vger.kernel.org, tkjos@google.com, Fangzheng Zhang , Yuming Han , Chunyan Zhang Subject: Re: [PATCH V2 2/2] Documentation: filesystems: introduce proc/slabinfo to users Message-ID: References: <20240219031911.10372-1-fangzheng.zhang@unisoc.com> <20240219031911.10372-3-fangzheng.zhang@unisoc.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: <20240219031911.10372-3-fangzheng.zhang@unisoc.com> On Mon, Feb 19, 2024 at 11:19:11AM +0800, Fangzheng Zhang wrote: > +Note, comes from the collected results in the file > +/sys/kernel/slab/$cache/reclaim_account. Next, we will mark /proc/slabinfo > +as deprecated and recommend the use of either sysfs directly or > +use of the "slabinfo" tool that we have been providing in linux/tools/mm. Wait, so you're going to all of the trouble of changing the format of slabinfo (with the associated costs of updating every tool that currently parses it), only to recommend that we stop using it and start using tools/mm/slabinfo instead? How about we simply do nothing?