Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp3982093pxb; Mon, 27 Sep 2021 07:01:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwamiAZdMfs2rPh+DiRBIPA9dOWsi75Qhd4V/47BBBa2RWcH4G1M8gcqjD/wxwa3EPaoHzt X-Received: by 2002:a17:907:760d:: with SMTP id jx13mr234710ejc.194.1632751314205; Mon, 27 Sep 2021 07:01:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632751314; cv=none; d=google.com; s=arc-20160816; b=VjlA9HEUQP5qqNBwGnPZDLrupfAALjdlYNOYHKOhs90r7CuBCHIu2lxY/2pMKR7tC8 6YSyNlplq6Jl9IvObMYh4xH+MFS2Kot+3OQTIM13W95CypBdo/KD2SSYC932swH8J3N7 A/PsLgMGVsXlBp64cFBlCbSLGUmSubkKh6kGGgrNOUzja1FzcAZkbWlVIzq+CexsYjou o1M+W56WsfrPWIW+h2z8uMUhUescmcQSNgIzJibiZ8XhHioj112y0uvKpjNNwRAE29c7 Sh7M7TMNWOnGZha+jBsJ9ez8hU+Ht9pMFahYYxEDvuCUxwwhWHLV8f/LM9P0VCPzVOrQ mUiA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=p9/jOfu1ISYA2HbSytSJosuSvLzpVvKlf1AD/zSYKiQ=; b=v3cdxSzMfhKse22P0t22X0w1RM+Wp8fmQ2y03kU/N/8T0yDDOXn/53XdGJlpG/eljK XxshRLovf5Qme9Xm7jXeZTboJeEPKgcTvvZXCecsNVklBS179ErzsYDjY2oc7JUw+yWp daZ4Vj2I3dvquTqi5wskopLm+6lP6X96I+SYswSNKzKtPEAQT8l931cVEumlysNEtFEh FfrnUxpSU5LPJBQvUotHwais8im6rDKkNU8AcMKe+i7DawEjZOJPihnlE8qcfPFfC13p pNhgBkt6hFF4S1jCg/EEby0Ak6Ry9L1Sdi0SxT7a+tPi+VjQ4oDckOnND7G1Us1adsGg 3EAg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=fqahauUD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b15si18811255ejk.613.2021.09.27.07.01.27; Mon, 27 Sep 2021 07:01:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=fqahauUD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234720AbhI0OBf (ORCPT + 99 others); Mon, 27 Sep 2021 10:01:35 -0400 Received: from mail.kernel.org ([198.145.29.99]:47898 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234585AbhI0OBf (ORCPT ); Mon, 27 Sep 2021 10:01:35 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 3A0E060F4F; Mon, 27 Sep 2021 13:59:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1632751197; bh=F50MTT/rxZsuxDTh38T2DApPUX2Yj+mr2Gkz9vZYxyQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=fqahauUDxz7X7KHPhQASrwcVL8JOQd0bfUI57OaQ19E80FOEfWgsN8uYbUAMHL2Ix +cZA6j00/8drQnsWhalJ4BGnSi1VQJ7+HKu8yG2z09N1sRsz/CQjs+aFQb2N4Bij/l YBruzGEo7/nVJ9Uxe7BMveaMvRTsNwKMQ7+zAq9Tlt+ydx5KEdgF3diqgEJ/GEepdo hldUsqxc+DZlZ9BicH4keNVtWfcfJIu6SG3XTt9EZ1L8ptrwutc5QkX4BBAOMZceoU 0rvVIFlDO2Nwb0AOdtlQVgc0J53jPjrYCiwGUgsZ3WcZO8NGRRXWqmNfbL1KctxIgF C0tV0TUCfM9PA== Received: by mail.kernel.org with local (Exim 4.94.2) (envelope-from ) id 1mUrAh-000Au2-IH; Mon, 27 Sep 2021 15:59:55 +0200 From: Mauro Carvalho Chehab To: Linux Doc Mailing List , Greg Kroah-Hartman Cc: Mauro Carvalho Chehab , "Jonathan Corbet" , Christoph Lameter , David Windsor , Jonathan Cameron , Kees Cook , Pekka Enberg , Suzuki K Poulose , Tom Rix , linux-kernel@vger.kernel.org Subject: [PATCH 08/17] ABI: sysfs-kernel-slab: Document some stats Date: Mon, 27 Sep 2021 15:59:41 +0200 Message-Id: <8960435734c5aa918568ce7891171448c4d68709.1632750608.git.mchehab+huawei@kernel.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: Mauro Carvalho Chehab Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Document three slab stats that were added in 2011 and 2017. Fixes: 49e2258586b4 ("slub: per cpu cache for partial pages") Fixes: 8eb8284b4129 ("usercopy: Prepare for usercopy whitelisting") Signed-off-by: Mauro Carvalho Chehab --- See [PATCH 00/17] at: https://lore.kernel.org/all/cover.1632750608.git.mchehab+huawei@kernel.org/ Documentation/ABI/testing/sysfs-kernel-slab | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/Documentation/ABI/testing/sysfs-kernel-slab b/Documentation/ABI/testing/sysfs-kernel-slab index 77e5840b00a5..c440f4946e12 100644 --- a/Documentation/ABI/testing/sysfs-kernel-slab +++ b/Documentation/ABI/testing/sysfs-kernel-slab @@ -496,3 +496,24 @@ Contact: Pekka Enberg , Description: Writing to the validate file causes SLUB to traverse all of its cache's objects and check the validity of metadata. + +What: /sys/kernel/slab//usersize +Date: Jun 2017 +Contact: David Windsor +Description: + The usersize file is read-only and contains the usercopy + region size. + +What: /sys/kernel/slab//slabs_cpu_partial +Date: Aug 2011 +Contact: Christoph Lameter +Description: + This read-only file shows the number of partialli allocated + frozen slabs. + +What: /sys/kernel/slab//cpu_partial +Date: Aug 2011 +Contact: Christoph Lameter +Description: + This read-only file shows the number of per cpu partial + pages to keep around. -- 2.31.1