diff options
author | Konstantin Khlebnikov <khlebnikov@openvz.org> | 2012-05-30 00:06:54 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-05-30 01:22:25 +0200 |
commit | f3fd4a61928a5edf5b033a417e761b488b43e203 (patch) | |
tree | f56c5b6f4a4c732c9167e4cacb3e9c25ced0d000 /mm/memcontrol.c | |
parent | mm: mark mm-inline functions as __always_inline (diff) | |
download | linux-f3fd4a61928a5edf5b033a417e761b488b43e203.tar.xz linux-f3fd4a61928a5edf5b033a417e761b488b43e203.zip |
mm: remove lru type checks from __isolate_lru_page()
After patch "mm: forbid lumpy-reclaim in shrink_active_list()" we can
completely remove anon/file and active/inactive lru type filters from
__isolate_lru_page(), because isolation for 0-order reclaim always
isolates pages from right lru list. And pages-isolation for lumpy
shrink_inactive_list() or memory-compaction anyway allowed to isolate
pages from all evictable lru lists.
Signed-off-by: Konstantin Khlebnikov <khlebnikov@openvz.org>
Acked-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Cc: Hugh Dickins <hughd@google.com>
Acked-by: Michal Hocko <mhocko@suse.cz>
Cc: Glauber Costa <glommer@parallels.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: Minchan Kim <minchan@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/memcontrol.c')
0 files changed, 0 insertions, 0 deletions