]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit01c481052dbf6826fef0dfc7f82c44d7eb3e7f57
treeaf7acaf8d13921ab34271cb500d8454940a12e86
parent839b0ccdfbd126e9e0320d00ca61c14e7aa01bc3
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