瀏覽代碼

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>
Fam Zheng 12 年之前
父節點
當前提交
24755e2e3a
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      include/linux/slab_def.h

+ 1 - 1
include/linux/slab_def.h

@@ -6,7 +6,7 @@
  */
  */
 
 
 struct kmem_cache {
 struct kmem_cache {
-/* 1) Cache tunables. Protected by cache_chain_mutex */
+/* 1) Cache tunables. Protected by slab_mutex */
 	unsigned int batchcount;
 	unsigned int batchcount;
 	unsigned int limit;
 	unsigned int limit;
 	unsigned int shared;
 	unsigned int shared;