Files
kernel/include/linux
Hugh Dickins b5934c5318 mm: add_active_or_unevictable into rmap
lru_cache_add_active_or_unevictable() and page_add_new_anon_rmap() always
appear together.  Save some symbol table space and some jumping around by
removing lru_cache_add_active_or_unevictable(), folding its code into
page_add_new_anon_rmap(): like how we add file pages to lru just after
adding them to page cache.

Remove the nearby "TODO: is this safe?" comments (yes, it is safe), and
change page_add_new_anon_rmap()'s address BUG_ON to VM_BUG_ON as
originally intended.

Signed-off-by: Hugh Dickins <hugh@veritas.com>
Acked-by: Rik van Riel <riel@redhat.com>
Cc: Lee Schermerhorn <Lee.Schermerhorn@hp.com>
Cc: Nick Piggin <nickpiggin@yahoo.com.au>
Cc: Mel Gorman <mel@csn.ul.ie>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2009-01-06 15:59:02 -08:00
..
2009-01-04 12:17:43 +01:00
2009-01-04 12:17:42 +01:00
2009-01-04 13:33:20 -08:00
2009-01-04 13:33:20 -08:00
2009-01-06 15:59:01 -08:00
2009-01-02 12:19:34 -08:00
2009-01-04 13:33:20 -08:00
2009-01-04 13:33:20 -08:00
2009-01-06 15:59:01 -08:00
2009-01-05 08:40:30 -08:00
2009-01-05 08:40:30 -08:00
2009-01-03 14:11:07 +01:00
2009-01-06 15:58:58 -08:00
2009-01-04 16:13:40 -08:00
2009-01-05 18:31:12 -08:00
2009-01-04 13:33:20 -08:00
2009-01-06 15:59:02 -08:00
2009-01-02 10:19:36 -08:00