diff options
author | 2015-02-20 10:36:28 +0530 | |
---|---|---|
committer | 2015-10-17 17:48:20 +0530 | |
commit | 12ebc1581ad114543ae822aa3a12f76072e2f902 (patch) | |
tree | 2e80b72284497b1a45f29f0970ce13332f6896e2 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | mm,thp: reduce ifdef'ery for THP in generic code (diff) | |
download | wireguard-linux-12ebc1581ad114543ae822aa3a12f76072e2f902.tar.xz wireguard-linux-12ebc1581ad114543ae822aa3a12f76072e2f902.zip |
mm,thp: introduce flush_pmd_tlb_range
ARCHes with special requirements for evicting THP backing TLB entries
can implement this.
Otherwise also, it can help optimize TLB flush in THP regime.
stock flush_tlb_range() typically has optimization to nuke the entire
TLB if flush span is greater than a certain threshhold, which will
likely be true for a single huge page. Thus a single thp flush will
invalidate the entrire TLB which is not desirable.
e.g. see arch/arc: flush_pmd_tlb_range
Acked-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Link: http://lkml.kernel.org/r/20151009100816.GC7873@node
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions