aboutsummaryrefslogtreecommitdiffstats
path: root/mm/mempolicy.c
diff options
context:
space:
mode:
authorChristoph Lameter <cl@linux.com>2011-08-09 16:12:26 -0500
committerPekka Enberg <penberg@kernel.org>2011-08-19 19:34:27 +0300
commit497b66f2ecc97844493e6a147fd5a7e73f73f408 (patch)
tree6005da56ead66fca5fb413193bc52ad72a743b7c /mm/mempolicy.c
parentslub: pass kmem_cache_cpu pointer to get_partial() (diff)
downloadlinux-dev-497b66f2ecc97844493e6a147fd5a7e73f73f408.tar.xz
linux-dev-497b66f2ecc97844493e6a147fd5a7e73f73f408.zip
slub: return object pointer from get_partial() / new_slab().
There is no need anymore to return the pointer to a slab page from get_partial() since the page reference can be stored in the kmem_cache_cpu structures "page" field. Return an object pointer instead. That in turn allows a simplification of the spaghetti code in __slab_alloc(). Signed-off-by: Christoph Lameter <cl@linux.com> Signed-off-by: Pekka Enberg <penberg@kernel.org>
Diffstat (limited to 'mm/mempolicy.c')
0 files changed, 0 insertions, 0 deletions