diff options
author | Johannes Weiner <hannes@cmpxchg.org> | 2015-02-11 15:26:09 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-02-11 17:06:02 -0800 |
commit | 1dfab5abcdd404fd04597c063d9f61a5b3247552 (patch) | |
tree | d8b69a2260b839a6db419ee39d520d14eda34f74 /mm/oom_kill.c | |
parent | 241994ed8649f7300667be8b13a9e04ae04e05a1 (diff) | |
download | op-kernel-dev-1dfab5abcdd404fd04597c063d9f61a5b3247552.zip op-kernel-dev-1dfab5abcdd404fd04597c063d9f61a5b3247552.tar.gz |
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/oom_kill.c')
0 files changed, 0 insertions, 0 deletions