]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
mm/slab.c: add a helper function get_first_slab
authorGeliang Tang <geliangtang@163.com>
Thu, 14 Jan 2016 23:18:02 +0000 (15:18 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 15 Jan 2016 00:00:49 +0000 (16:00 -0800)
commit7aa0d22785deea2725a23716823edd96e65c2ff6
tree6cda7f570983465f883ffd5c768b63a8a5dafa7f
parent73c0219d8eca4114d81626032055598bc0a17130
mm/slab.c: add a helper function get_first_slab

Add a new helper function get_first_slab() that get the first slab from
a kmem_cache_node.

Signed-off-by: Geliang Tang <geliangtang@163.com>
Acked-by: Christoph Lameter <cl@linux.com>
Acked-by: David Rientjes <rientjes@google.com>
Cc: Pekka Enberg <penberg@kernel.org>
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