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 different TLBs for the same virtual address and at the very least it would > generate spurious faults. This patch only unmaps the pages in change_pte_range for > a full protection change. > > Cc: stable@xxxxxxxxxxxxxxx > Signed-off-by: Mel Gorman <mgorman@xxxxxxx> Reviewed-by: Rik van Riel <riel@xxxxxxxxxx> -- All rights reversed -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>