diff options
| author | Barry Song <[email protected]> | 2023-07-17 21:10:02 +0800 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2023-08-18 10:12:36 -0700 |
| commit | f73419bb89d606de9be2043febf0957d56627a5b (patch) | |
| tree | 9e1cb31c5732b4ac39c4edd525714a2f5092e4ca /tools/perf/scripts/python/flamegraph.py | |
| parent | 65c8d30e679bdffeeaa0b84b7094a3c719aa6585 (diff) | |
mm/tlbbatch: rename and extend some functions
This patch does some preparation works to extend batched TLB flush to
arm64. Including:
- Extend set_tlb_ubc_flush_pending() and arch_tlbbatch_add_mm()
to accept an additional argument for address, architectures
like arm64 may need this for tlbi.
- Rename arch_tlbbatch_add_mm() to arch_tlbbatch_add_pending()
to match its current function since we don't need to handle
mm on architectures like arm64 and add_mm is not proper,
add_pending will make sense to both as on x86 we're pending the
TLB flush operations while on arm64 we're pending the synchronize
operations.
This intends no functional changes on x86.
Link: https://lkml.kernel.org/r/[email protected]
Tested-by: Yicong Yang <[email protected]>
Tested-by: Xin Hao <[email protected]>
Tested-by: Punit Agrawal <[email protected]>
Signed-off-by: Barry Song <[email protected]>
Signed-off-by: Yicong Yang <[email protected]>
Reviewed-by: Kefeng Wang <[email protected]>
Reviewed-by: Xin Hao <[email protected]>
Reviewed-by: Anshuman Khandual <[email protected]>
Reviewed-by: Catalin Marinas <[email protected]>
Cc: Jonathan Corbet <[email protected]>
Cc: Nadav Amit <[email protected]>
Cc: Mel Gorman <[email protected]>
Cc: Anshuman Khandual <[email protected]>
Cc: Arnd Bergmann <[email protected]>
Cc: Barry Song <[email protected]>
Cc: Darren Hart <[email protected]>
Cc: Jonathan Cameron <[email protected]>
Cc: lipeifeng <[email protected]>
Cc: Mark Rutland <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Ryan Roberts <[email protected]>
Cc: Steven Miao <[email protected]>
Cc: Will Deacon <[email protected]>
Cc: Zeng Tao <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions