diff options
author | Johannes Weiner <hannes@cmpxchg.org> | 2015-02-12 00:26:09 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-02-12 02:06:02 +0100 |
commit | 1dfab5abcdd404fd04597c063d9f61a5b3247552 (patch) | |
tree | d8b69a2260b839a6db419ee39d520d14eda34f74 /mm/workingset.c | |
parent | mm: memcontrol: default hierarchy interface for memory (diff) | |
download | linux-1dfab5abcdd404fd04597c063d9f61a5b3247552.tar.xz linux-1dfab5abcdd404fd04597c063d9f61a5b3247552.zip |
mm: memcontrol: fold move_anon() and move_file()
Turn the move type enum into flags and give the flags field a shorter
name. Once that is done, move_anon() and move_file() are simple enough to
just fold them into the callsites.
[akpm@linux-foundation.org: tweak MOVE_MASK definition, per Michal]
Signed-off-by: Johannes Weiner <hannes@cmpxchg.org>
Acked-by: Michal Hocko <mhocko@suse.cz>
Reviewed-by: Vladimir Davydov <vdavydov@parallels.com>
Cc: Greg Thelen <gthelen@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/workingset.c')
0 files changed, 0 insertions, 0 deletions