aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorXianting Tian <tian.xianting@h3c.com>2020-10-13 16:54:42 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2020-10-13 18:38:32 -0700
commitc43bc03d0a872dcfcaaf1689c4f6140f9d3cb867 (patch)
treefa6677e16c4c40e2564e6db9945a6d99b12302fb /tools/perf/scripts/python/export-to-postgresql.py
parentmm/dmapool.c: replace hard coded function name with __func__ (diff)
downloadwireguard-linux-c43bc03d0a872dcfcaaf1689c4f6140f9d3cb867.tar.xz
wireguard-linux-c43bc03d0a872dcfcaaf1689c4f6140f9d3cb867.zip
mm/memory-failure: do pgoff calculation before for_each_process()
There is no need to calculate pgoff in each loop of for_each_process(), so move it to the place before for_each_process(), which can save some CPU cycles. Signed-off-by: Xianting Tian <tian.xianting@h3c.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Acked-by: Naoya Horiguchi <naoya.horiguchi@nec.com> Link: http://lkml.kernel.org/r/20200818082647.34322-1-tian.xianting@h3c.com Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions