aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorKefeng Wang <[email protected]>2024-04-12 14:47:51 +0800
committerAndrew Morton <[email protected]>2024-05-05 17:53:36 -0700
commitceca44991f3dd5a67b4e0ded6379c5e93e84cb31 (patch)
tree4f7ad9b13b913f3a771cd63f9f6a697ceb420429 /tools/perf/scripts/python/stackcollapse.py
parent1f2d8b4421bd0da2c97fb8bad5cc85fc929fef64 (diff)
mm: filemap: batch mm counter updating in filemap_map_pages()
Like copy_pte_range()/zap_pte_range(), make mm counter batch updating in filemap_map_pages(), since folios type are same(MM_SHMEMPAGES or MM_FILEPAGES) in filemap_map_pages(), only check the first folio type is enough, the 'lat_pagefault -P 1 file' test from lmbench shows 12% improvement, and the percpu_counter_add_batch() is gone from perf flame graph. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Kefeng Wang <[email protected]> Cc: Matthew Wilcox (Oracle) <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions