]> err.no Git - linux-2.6/commit
[PATCH] Optimize free_one_page
authorChristoph Lameter <clameter@sgi.com>
Tue, 26 Sep 2006 06:31:48 +0000 (23:31 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 26 Sep 2006 15:48:51 +0000 (08:48 -0700)
commit006d22d9bbb7e66279ba5cc4556b54eeaf8fd556
tree5af5a6676af234db8836bb1e3ef71e6cf8ccb0a9
parent46a82b2d5591335277ed2930611f6acb4ce654ed
[PATCH] Optimize free_one_page

Free one_page currently adds the page to a fake list and calls
free_page_bulk.  Fee_page_bulk takes it off again and then calles
__free_one_page.

Make free_one_page go directly to __free_one_page.  Saves list on / off and
a temporary list in free_one_page for higher ordered pages.

Signed-off-by: Christoph Lameter <clameter@sgi.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
mm/page_alloc.c