summaryrefslogtreecommitdiffstats
path: root/mm/swapfile.c
diff options
context:
space:
mode:
authorNick Piggin <npiggin@suse.de>2007-07-15 23:38:09 -0700
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-07-16 09:05:35 -0700
commit553948491c18413928b85a9025b92af80e7d61d6 (patch)
treefcb6adcb743533c7d6818bbd13511062f6fda737 /mm/swapfile.c
parentd87a133fc21d842e3cc285e6bbff727181abec81 (diff)
downloadop-kernel-dev-553948491c18413928b85a9025b92af80e7d61d6.zip
op-kernel-dev-553948491c18413928b85a9025b92af80e7d61d6.tar.gz
slob: improved alignment handling
Remove the core slob allocator's minimum alignment restrictions, and instead introduce the alignment restrictions at the slab API layer. This lets us heed the ARCH_KMALLOC/SLAB_MINALIGN directives, and also use __alignof__ (unsigned long) for the default alignment (which should allow relaxed alignment architectures to take better advantage of SLOB's small minimum alignment). Signed-off-by: Nick Piggin <npiggin@suse.de> Acked-by: Matt Mackall <mpm@selenic.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/swapfile.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud