]> 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)
commitb83a1630f08450483fb2b3f8cb4fa3e7e988dcd8
treeb28c9644bf084a235b14897573e6bd4c9ce9321f
parentc22b7a2ef5cb646395370d29b5634850161b1c0d
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