summaryrefslogtreecommitdiffstats
path: root/mm/pgtable-generic.c
diff options
context:
space:
mode:
authorRik van Riel2012-11-06 10:55:18 +0100
committerMel Gorman2012-12-11 15:28:33 +0100
commite4a1cc56e4d728eb87072c71c07581524e5160b1 (patch)
tree291232b64431eeb2c815adc38b20d66cb3355364 /mm/pgtable-generic.c
parentx86: mm: only do a local tlb flush in ptep_set_access_flags() (diff)
downloadkernel-qcow2-linux-e4a1cc56e4d728eb87072c71c07581524e5160b1.tar.gz
kernel-qcow2-linux-e4a1cc56e4d728eb87072c71c07581524e5160b1.tar.xz
kernel-qcow2-linux-e4a1cc56e4d728eb87072c71c07581524e5160b1.zip
x86: mm: drop TLB flush from ptep_set_access_flags
Intel has an architectural guarantee that the TLB entry causing a page fault gets invalidated automatically. This means we should be able to drop the local TLB invalidation. Because of the way other areas of the page fault code work, chances are good that all x86 CPUs do this. However, if someone somewhere has an x86 CPU that does not invalidate the TLB entry causing a page fault, this one-liner should be easy to revert. Signed-off-by: Rik van Riel <riel@redhat.com> Cc: Linus Torvalds <torvalds@kernel.org> Cc: Andrew Morton <akpm@linux-foundation.org> Cc: Michel Lespinasse <walken@google.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Ingo Molnar <mingo@redhat.com>
Diffstat (limited to 'mm/pgtable-generic.c')
0 files changed, 0 insertions, 0 deletions