From: David Howells Date: Fri, 6 Jan 2006 08:11:08 +0000 (-0800) Subject: [PATCH] FRV: Clean up bootmem allocator's page freeing algorithm X-Git-Tag: v2.6.16-rc1~936^2~253 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a226f6c899799fe2c4919daa0767ac579c88f7bd;p=pandora-kernel.git [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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed