aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/kernel-parameters.txt
diff options
context:
space:
mode:
authorDavid Rientjes <rientjes@google.com>2011-10-19 01:09:28 -0400
committerPekka Enberg <penberg@kernel.org>2011-11-10 14:25:30 -0500
commit3df1cccdfb3fab6aa9176beb655d802eb384eabc (patch)
treeab3e1e206a9120e936caa52ea85193aecf670e42 /Documentation/kernel-parameters.txt
parent543585cc5b07fa99a2dc897159fbf48c1eb73058 (diff)
slab: introduce slab_max_order kernel parameter
Introduce new slab_max_order kernel parameter which is the equivalent of slub_max_order. For immediate purposes, allows users to override the heuristic that sets the max order to 1 by default if they have more than 32MB of RAM. This may result in page allocation failures if there is substantial fragmentation. Another usecase would be to increase the max order for better performance. Acked-by: Christoph Lameter <cl@linux.com> Signed-off-by: David Rientjes <rientjes@google.com> Signed-off-by: Pekka Enberg <penberg@kernel.org>
Diffstat (limited to 'Documentation/kernel-parameters.txt')
-rw-r--r--Documentation/kernel-parameters.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt
index a0c5c5f4fce6..b21093eabef1 100644
--- a/Documentation/kernel-parameters.txt
+++ b/Documentation/kernel-parameters.txt
@@ -2362,6 +2362,12 @@ bytes respectively. Such letter suffixes can also be entirely omitted.
2362 2362
2363 slram= [HW,MTD] 2363 slram= [HW,MTD]
2364 2364
2365 slab_max_order= [MM, SLAB]
2366 Determines the maximum allowed order for slabs.
2367 A high setting may cause OOMs due to memory
2368 fragmentation. Defaults to 1 for systems with
2369 more than 32MB of RAM, 0 otherwise.
2370
2365 slub_debug[=options[,slabs]] [MM, SLUB] 2371 slub_debug[=options[,slabs]] [MM, SLUB]
2366 Enabling slub_debug allows one to determine the 2372 Enabling slub_debug allows one to determine the
2367 culprit if slab objects become corrupted. Enabling 2373 culprit if slab objects become corrupted. Enabling