commit | 48db57f8ff10eb09ab887ccb6150b0da0c7be24e | [log] [tgz] |
---|---|---|
author | Nick Piggin <nickpiggin@yahoo.com.au> | Sun Jan 08 01:00:42 2006 -0800 |
committer | Linus Torvalds <torvalds@g5.osdl.org> | Sun Jan 08 20:12:40 2006 -0800 |
tree | 5c9fba3937bb802aa2944af189aae57b7bf7aa8b | |
parent | 23316bc86fd31c5d644a71c398ec41d9fecacec4 [diff] |
[PATCH] mm: free_pages opt Try to streamline free_pages_bulk by ensuring callers don't pass in a 'count' that exceeds the list size. Some cleanups: Rename __free_pages_bulk to __free_one_page. Put the page list manipulation from __free_pages_ok into free_one_page. Make __free_pages_ok static. Signed-off-by: Nick Piggin <npiggin@suse.de> Cc: Hugh Dickins <hugh@veritas.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>