[PATCH] mm: bad_page optimisation
authorNick Piggin <nickpiggin@yahoo.com.au>
Fri, 6 Jan 2006 08:11:11 +0000 (00:11 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 6 Jan 2006 16:33:26 +0000 (08:33 -0800)
commit224abf92b2f439a9030f21d2926ec8047d1ffcdb
treee45074383aea04ef8b3b8d2cc04a3b34959f9e65
parent9328b8faae922e52073785ed6c1eaa8565648a0e
[PATCH] mm: bad_page optimisation

Cut down size slightly by not passing bad_page the function name (it should be
able to be determined by dump_stack()).  And cut down the number of printks in
bad_page.

Also, cut down some branching in the destroy_compound_page path.

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