]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mm: lru_deactivate_fn should clear PG_referenced
authorMinchan Kim <minchan@kernel.org>
Wed, 21 Oct 2015 22:03:48 +0000 (09:03 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 21 Oct 2015 22:03:48 +0000 (09:03 +1100)
commited46beea6813913bf30de95ed0a96f48c7ea4799
treeed57cc2a59370e6831977cc5b5016565b0206e49
parent657fde58ac4edb00e7e8dd81a20fc73462c259ab
mm: lru_deactivate_fn should clear PG_referenced

deactivate_page aims for accelerate for reclaiming through
moving pages from active list to inactive list so we should
clear PG_referenced for the goal.

Signed-off-by: Minchan Kim <minchan@kernel.org>
Suggested-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/swap.c