[PATCH 05/18] mm: numa: Do not clear PTE for pte_numa update

2013-12-10 Thread Mel Gorman
The TLB must be flushed if the PTE is updated but change_pte_range is clearing the PTE while marking PTEs pte_numa without necessarily flushing the TLB if it reinserts the same entry. Without the flush, it's conceivable that two processors have different TLBs for the same virtual address and at th

Re: [PATCH 05/18] mm: numa: Do not clear PTE for pte_numa update

2013-12-09 Thread Rik van Riel
On 12/09/2013 02:08 AM, Mel Gorman wrote: > The TLB must be flushed if the PTE is updated but change_pte_range is clearing > the PTE while marking PTEs pte_numa without necessarily flushing the TLB if it > reinserts the same entry. Without the flush, it's conceivable that two > processors > have d

[PATCH 05/18] mm: numa: Do not clear PTE for pte_numa update

2013-12-08 Thread Mel Gorman
The TLB must be flushed if the PTE is updated but change_pte_range is clearing the PTE while marking PTEs pte_numa without necessarily flushing the TLB if it reinserts the same entry. Without the flush, it's conceivable that two processors have different TLBs for the same virtual address and at th