]> git.baikalelectronics.ru Git - kernel.git/commit
mm/slab.c: fix comments
authorWang Sheng-Hui <shhuiw@gmail.com>
Wed, 6 Aug 2014 23:04:46 +0000 (16:04 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 7 Aug 2014 01:01:15 +0000 (18:01 -0700)
commite03f45ea512a16416b5757842c93bef0444b2494
treeb28c9644bf084a235b14897573e6bd4c9ce9321f
parent6e213582d6c7af47f6ca8f3134aa8751dd9be615
mm/slab.c: fix comments

Current struct kmem_cache has no 'lock' field, and slab page is managed by
struct kmem_cache_node, which has 'list_lock' field.

Clean up the related comment.

Signed-off-by: Wang Sheng-Hui <shhuiw@gmail.com>
Cc: Christoph Lameter <cl@linux.com>
Cc: Pekka Enberg <penberg@kernel.org>
Cc: David Rientjes <rientjes@google.com>
Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/slab.c