Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp914875rdb; Sun, 18 Feb 2024 19:28:04 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXrOI+HuP8MNWBBlogCnXW6a47QyIhJ2qR2zLPiEeiOjlDxivXwdUrExVQFZp4Y7SQJtUrq3BXy2ADppggrvZvJz3HahDxoWqjJb450qA== X-Google-Smtp-Source: AGHT+IFftTCoH2rLKN2xJ9Ik+fj8m8e1Jc2zY1TObouK9/2uKnsNUuM341gTwSEP3bkg3Yj6NhmH X-Received: by 2002:ac8:5d56:0:b0:42c:8b9f:572f with SMTP id g22-20020ac85d56000000b0042c8b9f572fmr14208486qtx.30.1708313284041; Sun, 18 Feb 2024 19:28:04 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708313284; cv=pass; d=google.com; s=arc-20160816; b=hFWgP3FJcGMMYhVcuxYDapmSPY3GoU5T9iOYogm+i8pC5s0VB6d4Sk5UEttAMlnpxO Bb9iGHXZswJE0WvS0OwE1L0tIl/8CctuTRr7U8mfRAgJDCV9eT5/8WiP79IFANKXDnjc 9tmcC+DAKWLXV/8jtFr0TBDGuxPmzO+aUz6vAewTIcm5xsoqXe9BiCBlFK/S/mpBQ0dK fU3IJeNvlYTRdDjU0ctcQ1q+bgC7I0joMHLCJUZlt+meKzem85tLgiCai9bBSYf8+kj2 fbd9EiFpwIHPZwP0rm8cXF3IkBf4AkM95J417beBU0wJ4dz5wmAn2SNijvp1WabC6mQT hKUQ== 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 :message-id:date:subject:cc:to:from; bh=vsHhc0PSIDJmUN2H1AsxMMlWt7SgQIUDPpKa/8abvhg=; fh=zPkfwF/RKpjXAd+6FOo7GH5tFJ5Aa5Jc4zvtPw/XAZc=; b=ioJk3S4SbfkPPi3BtWFpAfO6M8nKWro6drdce52XNMYGeTId5VA7SLJ6phYjYo1Pm9 VUbaCL91lvwAGsAwKsNygGtiYJ7DrqRWK2ox62hFOIIfnRPodLLKqGflZ6UWVF1/q9BH g+pj74dwXCL/zom5IdRXqCs90m0UFd2IStibbhYcWRyrdAGgvUcQIGkA6KTCb5wZCvYR D4L5WYCyPqPyspdYL8X4hiLMY6GZtIQ73ip125kgsyW5YZrpYmbUxAIb9GZusNO00HmT L/Y5adTlL84YLyyd5DOw+m+1+omXgv6pqw9F+SQGzbK+5xOvAaDd7Mc9YxRqc0meAnlM 1gdg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=unisoc.com); spf=pass (google.com: domain of linux-kernel+bounces-70674-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-70674-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id 14-20020ac8570e000000b0042df89d42ffsi4214502qtw.171.2024.02.18.19.28.03 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 18 Feb 2024 19:28:04 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-70674-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=unisoc.com); spf=pass (google.com: domain of linux-kernel+bounces-70674-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-70674-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id C62731C21291 for ; Mon, 19 Feb 2024 03:28:03 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8B55B3FD4; Mon, 19 Feb 2024 03:27:57 +0000 (UTC) Received: from SHSQR01.spreadtrum.com (mx1.unisoc.com [222.66.158.135]) (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 CB1082103 for ; Mon, 19 Feb 2024 03:27:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=222.66.158.135 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708313277; cv=none; b=Za5E1gJZs2yzM9Yp7lVA/EHOac+OfccqFFCmoPITh9eHzxtwoKVVXl9za9aoyHGoc7PH0REzBhFFigIxM03qvElEza4X1IwOCDsosAsrf0dDUPNHuKQJsUJZYiG4jh+uTLGrxpP/U1ZwU0uhX0FW1rmchliKeNKxJ/3UrS80F+4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708313277; c=relaxed/simple; bh=r5WhQUGMY/9VKH1rt1wukmTW9vZu0Ig+mXDVnVjFgHU=; h=From:To:CC:Subject:Date:Message-ID:MIME-Version:Content-Type; b=A93o2BVZRvx5CN1Q7nWJut+eIqgIOA6lwoR37a09x1YXb9WBfqO3s+xmbteS0RZl5bhw+1Hq6mJiLktgrdRoYw60fgFMf14cFfChYDi6HPoeagA/WV7hGKlwqL+PmfEKD+EkYFazRz7tEK4AaVSchUKM9pi5w3Ii/iyOnS1DDoY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=unisoc.com; spf=pass smtp.mailfrom=unisoc.com; arc=none smtp.client-ip=222.66.158.135 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=unisoc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=unisoc.com Received: from SHSQR01.spreadtrum.com (localhost [127.0.0.2] (may be forged)) by SHSQR01.spreadtrum.com with ESMTP id 41J3K6GF006465 for ; Mon, 19 Feb 2024 11:20:06 +0800 (+08) (envelope-from fangzheng.zhang@unisoc.com) Received: from dlp.unisoc.com ([10.29.3.86]) by SHSQR01.spreadtrum.com with ESMTP id 41J3JlGn005483; Mon, 19 Feb 2024 11:19:47 +0800 (+08) (envelope-from fangzheng.zhang@unisoc.com) Received: from SHDLP.spreadtrum.com (bjmbx02.spreadtrum.com [10.0.64.8]) by dlp.unisoc.com (SkyGuard) with ESMTPS id 4TdSSN4KKWz2KCV0Q; Mon, 19 Feb 2024 11:19:16 +0800 (CST) Received: from bj10906pcu1.spreadtrum.com (10.0.73.72) by BJMBX02.spreadtrum.com (10.0.64.8) with Microsoft SMTP Server (TLS) id 15.0.1497.23; Mon, 19 Feb 2024 11:19:44 +0800 From: Fangzheng Zhang To: Christoph Lameter , Pekka Enberg , David Rientjes , Joonsoo Kim , Andrew Morton , Vlastimil Babka , Roman Gushchin , Hyeonggon Yoo <42.hyeyoo@gmail.com>, Greg KH CC: , , , Fangzheng Zhang , Fangzheng Zhang , Yuming Han , Chunyan Zhang Subject: [PATCH V2 0/2] Introduce slabinfo version 2.2 Date: Mon, 19 Feb 2024 11:19:09 +0800 Message-ID: <20240219031911.10372-1-fangzheng.zhang@unisoc.com> X-Mailer: git-send-email 2.17.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain X-ClientProxiedBy: SHCAS01.spreadtrum.com (10.0.1.201) To BJMBX02.spreadtrum.com (10.0.64.8) X-MAIL:SHSQR01.spreadtrum.com 41J3JlGn005483 Hi all, This series introduces slabinfo version 2.2 to users. In slabinfo V2.2, we added a slabreclaim column to record whether each slab pool is of reclaim type. This will be more conducive for users to obtain the type of each slabdata more intuitively than through the interface /sys/kernel/slab/$cache/reclaim_account. And we have added an example of the output result executing '> cat proc/slabinfo' in the file Documentation/filesystems/proc.rst. Changes in v2: - Modify the slabinfo version number to 2.2. - Add an example of slabinfo output and future works. Changes in v1: - Add a slabreclaim column to record type of each slab in file proc/slabinfo. [1] https://lore.kernel.org/linux-mm/20240131094442.28834-1-fangzheng.zhang@unisoc.com/ Fangzheng Zhang (2): mm/slab: Add slabreclaim flag to slabinfo Documentation: filesystems: introduce proc/slabinfo to users Documentation/filesystems/proc.rst | 33 ++++++++++++++++++++++++++++++ mm/slab_common.c | 9 ++++---- 2 files changed, 38 insertions(+), 4 deletions(-) -- 2.17.1