Yafang Shao 3481c37ffa mm/vmscan: drop may_writepage and classzone_idx from direct reclaim begin template
There are three tracepoints using this template, which are
mm_vmscan_direct_reclaim_begin,
mm_vmscan_memcg_reclaim_begin,
mm_vmscan_memcg_softlimit_reclaim_begin.

Regarding mm_vmscan_direct_reclaim_begin,
sc.may_writepage is !laptop_mode, that's a static setting, and
reclaim_idx is derived from gfp_mask which is already show in this
tracepoint.

Regarding mm_vmscan_memcg_reclaim_begin,
may_writepage is !laptop_mode too, and reclaim_idx is (MAX_NR_ZONES-1),
which are both static value.

mm_vmscan_memcg_softlimit_reclaim_begin is the same with
mm_vmscan_memcg_reclaim_begin.

So we can drop them all.

Link: http://lkml.kernel.org/r/1553736322-32235-1-git-send-email-laoar.shao@gmail.com
Signed-off-by: Yafang Shao <laoar.shao@gmail.com>
Acked-by: Michal Hocko <mhocko@suse.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2019-05-14 09:47:48 -07:00
..
2019-05-07 16:48:44 +01:00
2018-04-16 11:53:35 +01:00
2017-12-13 15:10:01 -05:00
2019-05-07 11:34:19 -07:00
2018-04-04 13:41:27 +01:00
2018-06-19 10:06:29 -07:00
2017-11-17 14:58:01 -08:00
2017-11-17 09:51:57 -08:00
2019-03-27 15:52:01 -03:00
2017-09-25 20:38:26 +02:00
2018-07-26 10:17:47 +02:00
2019-04-25 15:19:56 -04:00
2018-02-13 21:30:22 +01:00
2017-12-19 10:56:24 +01:00
2019-05-09 14:33:15 -07:00
2019-03-24 20:29:33 +01:00
2018-04-18 23:37:39 -04:00