Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp963282rdb; Sun, 18 Feb 2024 22:23:57 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVsNQ0SxPGI2JSaM0ezPgzA1OS7F/UxvNKEBUMkXqJx5f9vRpkiLfdVxQMzLWL09FVE2DnFjuh/22qzX85WAByQrmn/BhuPbSse4dhw7A== X-Google-Smtp-Source: AGHT+IFzwQ9ss+HFUNQjTJ9JDkfubIxcLlleMRFLGxkOVN7cl6ugBD+ObydWKibN2spxr1gBC3aL X-Received: by 2002:a05:6a21:150a:b0:19e:9885:1077 with SMTP id nq10-20020a056a21150a00b0019e98851077mr13108472pzb.43.1708323836912; Sun, 18 Feb 2024 22:23:56 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708323836; cv=pass; d=google.com; s=arc-20160816; b=Ofv3bBP77sQbF0dO+eiM2q+754ae3U5Ga69WqSJHv6266F5h1b9W2tk394kHDDWboi pDj7lLi4I1TSRoX0zwM/Q2iOaOJi1Zpa7wTmOR5EHSaPWx5koEkH4EEeIzU1MOjCpfop jVbaS1jWiiZ8FhzMfA4D00oNrQg/smkScKabBhOpV6HM3qkdcw7ucE8QGEEWe8ZXWLcc HKB1atQHtpLfPoM1bCryVEQO6HJBIh+RXmjOUkC50yn71m1SLYxRHlY+HMLhBxy0eHgT pR3sW1umvDlcF/AhKHaSWcgaCcFJh9u3vtrkt0QBUKB8FfqZDr6fWVeG/Q3ImbVDP5++ X1kw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=PCV7/GjnToskxFQVDLdtLSGzj6jLmCk9DhRk9GUzB+M=; fh=p+XjL2k7Tt6JCRfNhMM3k/Mn/bjIpuXGqfHc9MkuYiE=; b=bG9cvYiMsklXW0FxN4W0hvinhe9WGh0xY+NnVCatimFk9d4prYwx/JWwtadSV/2dkB bVZSxZQy4qwxRy0JK5hIs0SjSO3X72BQtfZibyYqCPFVRtyhMvnkrtkb7b9AJN9mnSRZ IgcS0xFahJNLH621lygziunWWAwaGquX+iIeMSNtrQ6UUv2bEiy5yPfVyiWe5XnREkDj XaGuIqBW6vcQoRBCpIstnGkwPwxp9GjyZB330eMW+WPzXgdKyKGYbkpn+ToFB0rz4lCT lnpxTfqRj+DyXarevkBZm275Ix4VcPciq7Iki6AOEG3PE8RwFiN/VzVUC1Iu7/8NeSQN 6PBg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=T3Dvm1kJ; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-70767-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-70767-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id p8-20020a170902e74800b001db7607a9fasi4069848plf.611.2024.02.18.22.23.56 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 18 Feb 2024 22:23:56 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-70767-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=T3Dvm1kJ; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-70767-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-70767-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 5981928183A for ; Mon, 19 Feb 2024 06:23:56 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C6A85200D8; Mon, 19 Feb 2024 06:23:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="T3Dvm1kJ" Received: from mail-lf1-f65.google.com (mail-lf1-f65.google.com [209.85.167.65]) (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 6102F200AD for ; Mon, 19 Feb 2024 06:23:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.65 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708323829; cv=none; b=I/ZHP+AYyb5kZ7I+SjPX3dLXqH2gK5S60JRCRnCLmX175vQ1/uTEJ0JDFK6uc+llYSvBOV4i3Fwp0/vUNuSPXNX36fqLptlj+2W5N7VtGkF46GLCuZIHkPNicL7JiAnxyhly4Qc3S+shNG3VMXRPRCQNbDp2zf98JHyjANKxIks= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708323829; c=relaxed/simple; bh=PCV7/GjnToskxFQVDLdtLSGzj6jLmCk9DhRk9GUzB+M=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=BQsseinpFMi3Q4Y3hXhBsj3etDZum/8BDaMHtptXQnih9nI/FVNrrM+vSv9MpWgOoWoxEwu9tvWcCq7edyzNOQMB99nzrXXa0EXU9NIUkqbXbL1pWYkzw9jXXdXkXVOq0VOmRE4Ux0UXUqadBkCONPc5SsPx4hlcybafY5eSiEw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=T3Dvm1kJ; arc=none smtp.client-ip=209.85.167.65 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-lf1-f65.google.com with SMTP id 2adb3069b0e04-512b36bb97eso444609e87.1 for ; Sun, 18 Feb 2024 22:23:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708323825; x=1708928625; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=PCV7/GjnToskxFQVDLdtLSGzj6jLmCk9DhRk9GUzB+M=; b=T3Dvm1kJgyV3XNybjDtWRrLBNetMdFE/dbzPYZarcJ4B1l2Xv4xu+dhnoWILy7u4iE ImcR2d3SbDpN9ggMRpJEgLFvdD0IxrO+c7THXZD9NHcWsAuApcgEvIVuF6FEAXpdrJqQ VaWT48NCC4hCV/Cl/96K7r0FBOpzzp+UPPVDjHN7RKvLInQ+Lx8+KNJVWw2UyKalbAfk SNUhe9yiFQq00Pb35KProgwqwMnpmTCW60dsQn57eCvP6WOnSHLPxtod6RPnfQKbUYTG /d9/N6YLhjc3I3E3qdzyLd5G8LGLxqxvS4gNQL12+bvh/DoSdWIej5XMXWMAbGYXTJ6b 4aig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708323825; x=1708928625; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=PCV7/GjnToskxFQVDLdtLSGzj6jLmCk9DhRk9GUzB+M=; b=SBAui4Clk9K9OCOJN9wQf3m0LBfNgyRSSyXs4pgCB0ljlPl12jrMC+cnVxEQIJtiLz 9VFmkR0NJnkKnHn8pM9w+y0EHy2kk0yYSbdp14/VniW2gBmsfgsC+NK3j3TJLuNkEsDK LX8PfuwEqy/eKT6h9Q5PaXLj9rItsl/0sAQabu6ZMnyukPqwXcsl048CRSH2HGh42Q3/ VlyEe+/rfKIW9pcnYZIbb/hQavpgu3gq14MyPRysdHR7UVcXJqq6rs/u+KcnvNmjd10E 84zjQaUXvmqCgSzvax43lRv0EOeyzo6sHZB1XEDWvq7/Nh09KtX9LHz0o7h0GEsHsBNQ xziw== X-Forwarded-Encrypted: i=1; AJvYcCXQinZATqXMgl47TYloWgHSNwZXof9LdibrU7HjP/XlFvVzb5S+k9O/e8jyaq1Eo2iehJcS4DTrK0IfK7JgqAODNvs/xF5cGYupPWeX X-Gm-Message-State: AOJu0YxGJp0okq2wjuXtGOg6Zc6sylm0xj4o8VstaY6Zw5hh6vF9u2sc GRf4hgoQRfnHO6fu4hdktYrYJXrqCTD8pcRb7k4YL9NXr9QzZ7xEIPTpc9QJtBEhPDva8sAhX+z UaTeZAnVZrqc4x7i6qD2G71xZAQ== X-Received: by 2002:a05:6512:945:b0:511:6031:3f1c with SMTP id u5-20020a056512094500b0051160313f1cmr6753250lft.28.1708323825255; Sun, 18 Feb 2024 22:23:45 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240219031911.10372-1-fangzheng.zhang@unisoc.com> <20240219031911.10372-3-fangzheng.zhang@unisoc.com> In-Reply-To: From: zhang fangzheng Date: Mon, 19 Feb 2024 14:23:33 +0800 Message-ID: Subject: Re: [PATCH V2 2/2] Documentation: filesystems: introduce proc/slabinfo to users To: Matthew Wilcox Cc: Fangzheng Zhang , 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, Yuming Han , Chunyan Zhang Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, Feb 19, 2024 at 12:24=E2=80=AFPM Matthew Wilcox wrote: > > 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/slab= info > > +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? > The initial purpose was to obtain the type of each slab through a simple command 'cat proc/slabinfo'. So here, my intention is not to update all slabinfo-related tools for the time being, but to modify the version number of proc/slabinfo and further display the results of using the command. > How about we simply do nothing? The note here means what changes will occur after we modify the version number of proc/slabinfo to 2.2. As for the replacement of tools/mm/slabinfo (that inspired by Christoph=E2=80=99s suggestions), it will be implemented in the next ver= sion or even the later version. Thanks!