linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] docs: ABI: update permission descriptions for slab page order
@ 2023-12-05  5:53 yang.yang29
  0 siblings, 0 replies; only message in thread
From: yang.yang29 @ 2023-12-05  5:53 UTC (permalink / raw)
  To: akpm, cl; +Cc: iamjoonsoo.kim, linux-mm, linux-kernel, jiang.xuexin, fan.yu9

From: Fan Yu <fan.yu9@zte.com.cn>

The page allocation order is now read-only, and cannot be 
changed by /sys/kernel/slab/<cache>/order file at run time,
see the following commit:

32a6f409b693 ("mm, slub: remove runtime allocation order changes")

But the ABI documetation have not been modified along with the code,
so they need to be updated, which will help readers better understand
the code.

Signed-off-by: Fan Yu <fan.yu9@zte.com.cn>
---
 Documentation/ABI/testing/sysfs-kernel-slab | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/Documentation/ABI/testing/sysfs-kernel-slab b/Documentation/ABI/testing/sysfs-kernel-slab
index cd5fb8fa3ddf..8f0fc1cb3dc0 100644
--- a/Documentation/ABI/testing/sysfs-kernel-slab
+++ b/Documentation/ABI/testing/sysfs-kernel-slab
@@ -342,15 +342,14 @@ Contact:	Pekka Enberg <penberg@cs.helsinki.fi>,
 		Christoph Lameter <cl@linux-foundation.org>
 Description:
 		The order file specifies the page order at which new slabs are
-		allocated.  It is writable and can be changed to increase the
-		number of objects per slab.  If a slab cannot be allocated
-		because of fragmentation, SLUB will retry with the minimum order
-		possible depending on its characteristics.
+		allocated. It is read-only and cannot be changed at run time.
+		If a slab cannot be allocated because of fragmentation, SLUB
+		will retry with the minimum order possible depending on
+		its characteristics.

 		When debug_guardpage_minorder=N (N > 0) parameter is specified
 		(see Documentation/admin-guide/kernel-parameters.rst), the minimum possible
-		order is used and this sysfs entry can not be used to change
-		the order at run time.
+		order is used.

 What:		/sys/kernel/slab/<cache>/order_fallback
 Date:		April 2008
-- 
2.25.1


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-12-05  5:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-12-05  5:53 [PATCH] docs: ABI: update permission descriptions for slab page order yang.yang29

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox