aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorMatt Redfearn <[email protected]>2016-09-20 09:47:25 +0100
committerRalf Baechle <[email protected]>2016-10-05 01:31:20 +0200
commite710d6668309d227cc7a46e9c222d97d4a502b9e (patch)
treee23ef0deba73c43be007abbcbc4444c4dfa1a2e7 /tools/perf/scripts/python/net_dropmonitor.py
parentb2ff71718e6025fed33a693a1772e2ed39f25d6c (diff)
MIPS: tlb-r4k: If there are wired entries, don't use TLBINVF
When adding a wired entry to the TLB via add_wired_entry, the tlb is flushed with local_flush_tlb_all, which on CPUs with TLBINV results in the new wired entry being flushed again. Behavior of the TLBINV instruction applies to all applicable TLB entries and is unaffected by the setting of the Wired register. Therefore if the TLB has any wired entries, fall back to iterating over the entries rather than blasting them all using TLBINVF. Signed-off-by: Matt Redfearn <[email protected]> Cc: Bjorn Andersson <[email protected]> Cc: Ohad Ben-Cohen <[email protected]> Cc: Thomas Gleixner <[email protected]> Cc: [email protected] Cc: Hugh Dickins <[email protected]> Cc: Huacai Chen <[email protected]> Cc: David S. Miller <[email protected]> Cc: James Hogan <[email protected]> Cc: Paul Burton <[email protected]> Cc: Andrew Morton <[email protected]> Cc: [email protected] Cc: [email protected] Cc: [email protected] Patchwork: https://patchwork.linux-mips.org/patch/14283/ Signed-off-by: Ralf Baechle <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions