]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] Extract the allocpercpu functions from the slab allocator
authorChristoph Lameter <clameter@sgi.com>
Tue, 26 Sep 2006 06:31:50 +0000 (23:31 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 26 Sep 2006 15:48:51 +0000 (08:48 -0700)
commit3d14479a9881a2a3cb9d3638c6d900e3f1d61d96
tree08b7d0fafba03d7b1d4d1d861897f78658aba173
parent46118772029c3330a622b382a026d1dea3c33727
[PATCH] Extract the allocpercpu functions from the slab allocator

The allocpercpu functions __alloc_percpu and __free_percpu() are heavily
using the slab allocator.  However, they are conceptually slab.  This also
simplifies SLOB (at this point slob may be broken in mm.  This should fix
it).

Signed-off-by: Christoph Lameter <clameter@sgi.com>
Cc: Matt Mackall <mpm@selenic.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
mm/Makefile
mm/allocpercpu.c [new file with mode: 0644]
mm/slab.c
mm/slob.c