[PATCH 06/31] mm: Only flush the TLB when clearing an accessible pte

2012-10-25 Thread Peter Zijlstra
From: Rik van Riel 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 Signed-off-by: Peter Zijlstra Cc: Linus Torvalds Cc:

[PATCH 06/31] mm: Only flush the TLB when clearing an accessible pte

2012-10-25 Thread Peter Zijlstra
From: Rik van Riel r...@redhat.com 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 r...@redhat.com Signed-off-by: Peter Zijlstra