From: Nick Piggin Date: Wed, 22 Mar 2006 08:08:07 +0000 (-0800) Subject: [PATCH] mm: cleanup bootmem X-Git-Tag: v2.6.17-rc1~1129^2~74 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=545b1ea9bfa5a8ca9af33d63144bd4f2faaea8dd;p=pandora-kernel.git [PATCH] mm: cleanup bootmem The bootmem code added to page_alloc.c duplicated some page freeing code that it really doesn't need to because it is not so performance critical. While we're here, make prefetching work properly by actually prefetching the page we're about to use before prefetching ahead to the next one (ie. get the most important transaction started first). Also prefetch just a single page ahead rather than leaving a gap of 16. Jack Steiner reported no problems with SGI's ia64 simulator. Signed-off-by: Nick Piggin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed