aboutsummaryrefslogtreecommitdiff
path: root/net/9p
diff options
context:
space:
mode:
authorGravatar Nicholas Piggin <npiggin@gmail.com> 2018-07-13 16:59:03 -0700
committerGravatar Linus Torvalds <torvalds@linux-foundation.org> 2018-07-14 11:11:09 -0700
commita90744bac57c3c07d0d4422af62f3e44549ade30 (patch)
tree40d96c0932f80c381b86277e31ac089585da2b33 /net/9p
parentautofs: fix slab out of bounds read in getname_kernel() (diff)
downloadlinux-a90744bac57c3c07d0d4422af62f3e44549ade30.tar.gz
linux-a90744bac57c3c07d0d4422af62f3e44549ade30.tar.bz2
linux-a90744bac57c3c07d0d4422af62f3e44549ade30.zip
mm: allow arch to supply p??_free_tlb functions
The mmu_gather APIs keep track of the invalidated address range including the span covered by invalidated page table pages. Ranges covered by page tables but not ptes (and therefore no TLBs) still need to be invalidated because some architectures (x86) can cache intermediate page table entries, and invalidate those with normal TLB invalidation instructions to be almost-backward-compatible. Architectures which don't cache intermediate page table entries, or which invalidate these caches separately from TLB invalidation, do not require TLB invalidation range expanded over page tables. Allow architectures to supply their own p??_free_tlb functions, which can avoid the __tlb_adjust_range. Link: http://lkml.kernel.org/r/20180703013131.2807-1-npiggin@gmail.com Signed-off-by: Nicholas Piggin <npiggin@gmail.com> Reviewed-by: Andrew Morton <akpm@linux-foundation.org> Cc: "Aneesh Kumar K. V" <aneesh.kumar@linux.vnet.ibm.com> Cc: Minchan Kim <minchan@kernel.org> Cc: Mel Gorman <mgorman@techsingularity.net> Cc: Nadav Amit <nadav.amit@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'net/9p')
0 files changed, 0 insertions, 0 deletions