commit | 1c1c53d43b387d02174911ecb42ce846577b0ea0 | [log] [tgz] |
---|---|---|
author | Hugh Dickins <hughd@google.com> | Thu Jan 12 17:20:04 2012 -0800 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Thu Jan 12 20:13:10 2012 -0800 |
tree | bb1294b23d23f2403ab95068af6080b375cc3166 | |
parent | 4111304dab198c687bc60f2e235a9f7ee92c47c8 [diff] |
mm: remove del_page_from_lru, add page_off_lru del_page_from_lru() repeats del_page_from_lru_list(), also working out which LRU the page was on, clearing the relevant bits. Decouple those functions: remove del_page_from_lru() and add page_off_lru(). Signed-off-by: Hugh Dickins <hughd@google.com> Reviewed-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>