summaryrefslogtreecommitdiffstats
path: root/mm/filemap.c
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2006-01-06 09:11:08 +0100
committerLinus Torvalds <torvalds@g5.osdl.org>2006-01-06 17:33:26 +0100
commita226f6c899799fe2c4919daa0767ac579c88f7bd (patch)
tree82863c401f344cae8ab518b174085a7071a0a325 /mm/filemap.c
parent[PATCH] Cleanup bootmem allocator and fix alloc_bootmem_low (diff)
downloadlinux-a226f6c899799fe2c4919daa0767ac579c88f7bd.tar.xz
linux-a226f6c899799fe2c4919daa0767ac579c88f7bd.zip
[PATCH] FRV: Clean up bootmem allocator's page freeing algorithm
The attached patch cleans up the way the bootmem allocator frees pages. A new function, __free_pages_bootmem(), is provided in mm/page_alloc.c that is called from mm/bootmem.c to turn pages over to the main allocator. All the bits of code to initialise pages (clearing PG_reserved and setting the page count) are moved to here. The checks on page validity are removed, on the assumption that the struct page arrays will have been prepared correctly. Signed-off-by: David Howells <dhowells@redhat.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'mm/filemap.c')
0 files changed, 0 insertions, 0 deletions