summaryrefslogtreecommitdiffstats
path: root/mm/huge_memory.c
diff options
context:
space:
mode:
authorRik van Riel2012-10-09 15:31:59 +0200
committerMel Gorman2012-12-11 15:28:34 +0100
commit8d1acce4537c4e2f5889ed9ba9b8eddb80d99820 (patch)
tree8032b026c25b3394613abde6d0f22529a1ef4e2a /mm/huge_memory.c
parentx86/mm: Introduce pte_accessible() (diff)
downloadkernel-qcow2-linux-8d1acce4537c4e2f5889ed9ba9b8eddb80d99820.tar.gz
kernel-qcow2-linux-8d1acce4537c4e2f5889ed9ba9b8eddb80d99820.tar.xz
kernel-qcow2-linux-8d1acce4537c4e2f5889ed9ba9b8eddb80d99820.zip
mm: Only flush the TLB when clearing an accessible pte
If ptep_clear_flush() is called to clear a page table entry that is accessible anyway by the CPU, eg. a _PAGE_PROTNONE page table entry, there is no need to flush the TLB on remote CPUs. Signed-off-by: Rik van Riel <riel@redhat.com> Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Andrew Morton <akpm@linux-foundation.org> Link: http://lkml.kernel.org/n/tip-vm3rkzevahelwhejx5uwm8ex@git.kernel.org Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'mm/huge_memory.c')
0 files changed, 0 insertions, 0 deletions