]> Git Repo - linux.git/commit
vmscan: prevent shrinking of active anon lru list in case of no swap space V3
authorMinChan Kim <[email protected]>
Tue, 16 Jun 2009 22:32:44 +0000 (15:32 -0700)
committerLinus Torvalds <[email protected]>
Wed, 17 Jun 2009 02:47:41 +0000 (19:47 -0700)
commit69c854817566db82c362797b4a6521d0b00fe1d8
treeb4873e257212659ca0eb224151971e029ce3875d
parent35282a2de4e5e4e173ab61aa9d7015886021a821
vmscan: prevent shrinking of active anon lru list in case of no swap space V3

shrink_zone() can deactivate active anon pages even if we don't have a
swap device.  Many embedded products don't have a swap device.  So the
deactivation of anon pages is unnecessary.

This patch prevents unnecessary deactivation of anon lru pages.  But, it
don't prevent aging of anon pages to swap out.

Signed-off-by: Minchan Kim <[email protected]>
Acked-by: KOSAKI Motohiro <[email protected]>
Cc: Johannes Weiner <[email protected]>
Acked-by: Rik van Riel <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
mm/vmscan.c
This page took 0.053915 seconds and 4 git commands to generate.