]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] mm: cleanup bootmem
authorNick Piggin <npiggin@suse.de>
Wed, 22 Mar 2006 08:08:07 +0000 (00:08 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 22 Mar 2006 15:53:58 +0000 (07:53 -0800)
commitf6fb3087b6a0c1f4f4dbb66935a910d2ff074646
treedeef747e0f08089a0cd14e09551efaddfad813f9
parent49813adf09c664e3c1decdbfd130fd5ae81f4c64
[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 <npiggin@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
mm/page_alloc.c