From: Andrew Morton Cc: Christoph Lameter Signed-off-by: Andrew Morton --- Documentation/vm/slub.txt | 11 +++++------ 1 files changed, 5 insertions(+), 6 deletions(-) diff -puN Documentation/vm/slub.txt~slub-user-documentation-fix Documentation/vm/slub.txt --- a/Documentation/vm/slub.txt~slub-user-documentation-fix +++ a/Documentation/vm/slub.txt @@ -19,10 +19,9 @@ all slabs. Typically one would then use the "slabinfo" command to get statistical data and perform operation on the slabs. By default slabinfo only lists slabs that have data in them. See "slabinfo -h" for more options when -running the command. slabinfo is included in this directory and can -be compiled with +running the command. slabinfo can be compiled with -gcc -o slabinfo slabinfo.c +gcc -o slabinfo Documentation/vm/slabinfo.c Some of the modes of operation of slabinfo require that slub debugging be enabled on the command line. F.e. no tracking information will be @@ -57,8 +56,8 @@ Trying to find an issue in the dentry ca to only enable debugging on the dentry cache. -Red zoning and tracking may realign the slab. We can just apply sanity checks to -the dentry cache with +Red zoning and tracking may realign the slab. We can just apply sanity checks +to the dentry cache with slub_debug=F,dentry_cache @@ -87,7 +86,7 @@ slabinfo -a displays which slabs were me Getting more performance ------------------------ -To some degree SLUBs performance is limited by the need to take the +To some degree SLUB's performance is limited by the need to take the list_lock once in a while to deal with partial slabs. That overhead is governed by the order of the allocation for each slab. The allocations can be influenced by kernel parameters: _