From: John David Anglin Date: Tue, 15 Jan 2013 00:45:00 +0000 (-0500) Subject: [PARISC] Purge existing TLB entries in set_pte_at and ptep_set_wrprotect X-Git-Tag: v3.9-rc1~102^2~29^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7139bc1579901b53db7e898789e916ee2fb52d78;p=pandora-kernel.git [PARISC] Purge existing TLB entries in set_pte_at and ptep_set_wrprotect This patch goes a long way toward fixing the minifail bug, and it  significantly improves the stability of SMP machines such as the rp3440.  When write  protecting a page for COW, we need to purge the existing translation.  Otherwise, the COW break doesn't occur as expected because the TLB may still have a stale entry which allows writes. [jejb: fix up checkpatch errors] Signed-off-by: John David Anglin Cc: stable@vger.kernel.org Signed-off-by: James Bottomley --- Reading git-diff-tree failed