[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)
commitd00bcc98d7ec2c87391c9d9e1cca519ef64d33ef
tree08b7d0fafba03d7b1d4d1d861897f78658aba173
parent39bbcb8f88154c4ac9853baf3f1134af4c987517
[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