]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
mm/vmscan: simplify trace_reclaim_flags and trace_shrink_flags
authorYafang Shao <laoar.shao@gmail.com>
Tue, 14 May 2019 00:23:08 +0000 (17:23 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 14 May 2019 16:47:51 +0000 (09:47 -0700)
commit60b62ff7cc4217ac3de76535fa4c1510a798dbcb
tree79d2653037fc69713a56b7dd9eeb82b1cd269bbb
parentd66d109d3c9c31f4c2140a5ac6ab486c53cb0156
mm/vmscan: simplify trace_reclaim_flags and trace_shrink_flags

trace_reclaim_flags and trace_shrink_flags are almost the same.
We can simplify them to avoid redundant code.

Link: http://lkml.kernel.org/r/1556169203-5858-1-git-send-email-laoar.shao@gmail.com
Signed-off-by: Yafang Shao <laoar.shao@gmail.com>
Reviewed-by: Andrew Morton <akpm@linux-foundation.org>
Cc: Michal Hocko <mhocko@suse.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/trace/events/vmscan.h