commit | 7aa0d22785deea2725a23716823edd96e65c2ff6 | [log] [tgz] |
---|---|---|
author | Geliang Tang <geliangtang@163.com> | Thu Jan 14 15:18:02 2016 -0800 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Thu Jan 14 16:00:49 2016 -0800 |
tree | 6cda7f570983465f883ffd5c768b63a8a5dafa7f | |
parent | 73c0219d8eca4114d81626032055598bc0a17130 [diff] |
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>