diff options
author | Fam Zheng <famz@redhat.com> | 2014-01-20 20:12:42 -0500 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2014-01-21 01:53:18 -0500 |
commit | 24755e2e3a21ba4e7d0911b26e265f231b2cea28 (patch) | |
tree | 56b245a1b32276cb866306a1f81db9f2fd205b47 /include | |
parent | 9c8f6820f0d7040db2bd669f3b3cc062c6c1a635 (diff) |
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')
-rw-r--r-- | include/linux/slab_def.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/slab_def.h b/include/linux/slab_def.h index 09bfffb08a56..40fc39d22d53 100644 --- a/include/linux/slab_def.h +++ b/include/linux/slab_def.h | |||
@@ -6,7 +6,7 @@ | |||
6 | */ | 6 | */ |
7 | 7 | ||
8 | struct kmem_cache { | 8 | struct kmem_cache { |
9 | /* 1) Cache tunables. Protected by cache_chain_mutex */ | 9 | /* 1) Cache tunables. Protected by slab_mutex */ |
10 | unsigned int batchcount; | 10 | unsigned int batchcount; |
11 | unsigned int limit; | 11 | unsigned int limit; |
12 | unsigned int shared; | 12 | unsigned int shared; |