summaryrefslogtreecommitdiffstats
path: root/include/linux/slab_def.h
diff options
context:
space:
mode:
authorFam Zheng <famz@redhat.com>2014-01-21 09:12:42 +0800
committerJiri Kosina <jkosina@suse.cz>2014-01-21 07:53:18 +0100
commit24755e2e3a21ba4e7d0911b26e265f231b2cea28 (patch)
tree56b245a1b32276cb866306a1f81db9f2fd205b47 /include/linux/slab_def.h
parent9c8f6820f0d7040db2bd669f3b3cc062c6c1a635 (diff)
downloadop-kernel-dev-24755e2e3a21ba4e7d0911b26e265f231b2cea28.zip
op-kernel-dev-24755e2e3a21ba4e7d0911b26e265f231b2cea28.tar.gz
slab: struct kmem_cache is protected by slab_mutex
cache_chain_mutex has been replaced by slab_mutex. Fix this remaining outdated comment. Signed-off-by: Fam Zheng <famz@redhat.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'include/linux/slab_def.h')
-rw-r--r--include/linux/slab_def.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/slab_def.h b/include/linux/slab_def.h
index 09bfffb..40fc39d 100644
--- a/include/linux/slab_def.h
+++ b/include/linux/slab_def.h
@@ -6,7 +6,7 @@
*/
struct kmem_cache {
-/* 1) Cache tunables. Protected by cache_chain_mutex */
+/* 1) Cache tunables. Protected by slab_mutex */
unsigned int batchcount;
unsigned int limit;
unsigned int shared;
OpenPOWER on IntegriCloud