]> git.baikalelectronics.ru Git - kernel.git/commit
mm: remove del_page_from_lru, add page_off_lru
authorHugh Dickins <hughd@google.com>
Fri, 13 Jan 2012 01:20:04 +0000 (17:20 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 13 Jan 2012 04:13:10 +0000 (20:13 -0800)
commite4a59456203a22ca432211ffdc54a61e5a60f273
treebb1294b23d23f2403ab95068af6080b375cc3166
parent9b6afc61735491d1a7592ec862c51895dc4567b2
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>
include/linux/mm_inline.h
mm/swap.c