]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit - include/linux/mm_types.h
slab: overloading the RCU head over the LRU for RCU free
authorJoonsoo Kim <iamjoonsoo.kim@lge.com>
Thu, 24 Oct 2013 01:07:42 +0000 (10:07 +0900)
committerPekka Enberg <penberg@iki.fi>
Thu, 24 Oct 2013 17:17:31 +0000 (20:17 +0300)
commit68126702b419fd26ef4946e314bb3a1f57d3a53f
treeaf7acaf8d13921ab34271cb500d8454940a12e86
parent07d417a1c6f1e386a2276b0cae8ae1d14b8a32cc
slab: overloading the RCU head over the LRU for RCU free

With build-time size checking, we can overload the RCU head over the LRU
of struct page to free pages of a slab in rcu context. This really help to
implement to overload the struct slab over the struct page and this
eventually reduce memory usage and cache footprint of the SLAB.

Acked-by: Andi Kleen <ak@linux.intel.com>
Acked-by: Christoph Lameter <cl@linux.com>
Signed-off-by: Joonsoo Kim <iamjoonsoo.kim@lge.com>
Signed-off-by: Pekka Enberg <penberg@iki.fi>
include/linux/mm_types.h
include/linux/slab.h
mm/slab.c