From: Stanislaw Gruszka Date: Fri, 13 Jan 2012 01:17:39 +0000 (-0800) Subject: slub: document setting min order with debug_guardpage_minorder > 0 X-Git-Tag: v3.3-rc1~81^2~82 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=888a214dc4c65e1486ef7d3ac6b0cf93ae3cc2c7;p=platform%2Fkernel%2Flinux-exynos.git slub: document setting min order with debug_guardpage_minorder > 0 Acked-by: David Rientjes Cc: Pekka Enberg Cc: "Rafael J. Wysocki" Signed-off-by: Stanislaw Gruszka Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/Documentation/ABI/testing/sysfs-kernel-slab b/Documentation/ABI/testing/sysfs-kernel-slab index 8b093f8..91bd6ca 100644 --- a/Documentation/ABI/testing/sysfs-kernel-slab +++ b/Documentation/ABI/testing/sysfs-kernel-slab @@ -346,6 +346,10 @@ Description: 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. + When debug_guardpage_minorder=N (N > 0) parameter is specified + (see Documentation/kernel-parameters.txt), the minimum possible + order is used and this sysfs entry can not be used to change + the order at run time. What: /sys/kernel/slab/cache/order_fallback Date: April 2008 diff --git a/Documentation/vm/slub.txt b/Documentation/vm/slub.txt index 2acdda9..6752870 100644 --- a/Documentation/vm/slub.txt +++ b/Documentation/vm/slub.txt @@ -131,7 +131,10 @@ slub_min_objects. slub_max_order specified the order at which slub_min_objects should no longer be checked. This is useful to avoid SLUB trying to generate super large order pages to fit slub_min_objects of a slab cache with -large object sizes into one high order page. +large object sizes into one high order page. Setting command line +parameter debug_guardpage_minorder=N (N > 0), forces setting +slub_max_order to 0, what cause minimum possible order of slabs +allocation. SLUB Debug output -----------------