From: Michael Jeanson Date: Tue, 21 May 2019 20:33:11 +0000 (-0400) Subject: fix: mm/vmscan: drop may_writepage and classzone_idx from direct reclaim begin templa... X-Git-Tag: v2.10.10~7 X-Git-Url: http://git.liburcu.org/?a=commitdiff_plain;h=cc1ba302ec41813a36822487fb37ee2fe83f277c;hp=cc1ba302ec41813a36822487fb37ee2fe83f277c;p=lttng-modules.git fix: mm/vmscan: drop may_writepage and classzone_idx from direct reclaim begin template (v5.2) See upstream commit: commit 3481c37ffa1de58ef140d0fe9eabf56305e74666 Author: Yafang Shao Date: Mon May 13 17:19:14 2019 -0700 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. Signed-off-by: Michael Jeanson Signed-off-by: Mathieu Desnoyers ---