diff options
author | Luke Yang <luke.adi@gmail.com> | 2006-04-11 05:52:56 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-04-11 13:18:32 (GMT) |
commit | d6fef9da19b7acd46e04b7dbbba726b3febeca94 (patch) | |
tree | bcbacfc4edc18a6c3e266717f3928ff9c5167002 /mm/memory.c | |
parent | fb7faf3313d527bf68ba2e7ff3a2b6ebf201af73 (diff) | |
download | linux-fsl-qoriq-d6fef9da19b7acd46e04b7dbbba726b3febeca94.tar.xz |
[PATCH] nommu: use compound page in slab allocator
The earlier patch to consolidate mmu and nommu page allocation and
refcounting by using compound pages for nommu allocations had a bug:
kmalloc slabs who's pages were initially allocated by a non-__GFP_COMP
allocator could be passed into mm/nommu.c kmalloc allocations which really
wanted __GFP_COMP underlying pages. Fix that by having nommu pass
__GFP_COMP to all higher order slab allocations.
Signed-off-by: Luke Yang <luke.adi@gmail.com>
Acked-by: Nick Piggin <npiggin@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'mm/memory.c')
0 files changed, 0 insertions, 0 deletions