summaryrefslogtreecommitdiffstats
path: root/include/asm-generic/mm_hooks.h
diff options
context:
space:
mode:
authorPeter Zijlstra <peterz@infradead.org>2018-10-11 16:51:51 +0200
committerIngo Molnar <mingo@kernel.org>2019-04-03 10:32:44 +0200
commita30e32bd79e924f460b8b83408d88af34a402f6d (patch)
tree93fe3aab6afd5eac92bac803acaafb5d94c87092 /include/asm-generic/mm_hooks.h
parent5f307be18b32aeff7bbad540c0d3897ecedbeb56 (diff)
downloadlinux-a30e32bd79e924f460b8b83408d88af34a402f6d.tar.bz2
asm-generic/tlb: Provide generic tlb_flush() based on flush_tlb_mm()
When an architecture does not have (an efficient) flush_tlb_range(), but instead always uses full TLB invalidates, the current generic tlb_flush() is sub-optimal, for it will generate extra flushes in order to keep the range small. But if we cannot do range flushes, that is a moot concern. Optionally provide this simplified default. No change in behavior intended. Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Acked-by: Will Deacon <will.deacon@arm.com> Cc: Andrew Morton <akpm@linux-foundation.org> Cc: Andy Lutomirski <luto@kernel.org> Cc: Borislav Petkov <bp@alien8.de> Cc: Dave Hansen <dave.hansen@linux.intel.com> Cc: H. Peter Anvin <hpa@zytor.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Rik van Riel <riel@surriel.com> Cc: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'include/asm-generic/mm_hooks.h')
0 files changed, 0 insertions, 0 deletions