diff options
author | John David Anglin <dave.anglin@bell.net> | 2013-01-14 19:45:00 -0500 |
---|---|---|
committer | Ben Hutchings <ben@decadent.org.uk> | 2013-03-06 03:23:44 +0000 |
commit | 0af31617ad5cf724312c90f78ed95cb6988c3d6f (patch) | |
tree | b953bc049b4ad671cf4cf27bf903cb22c30e5d7a /ipc/namespace.c | |
parent | 26d9655e02f35f47c2d2fd026dcd19a7d0b233cd (diff) |
Purge existing TLB entries in set_pte_at and ptep_set_wrprotect
commit 7139bc1579901b53db7e898789e916ee2fb52d78 upstream.
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 <dave.anglin@bell.net>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'ipc/namespace.c')
0 files changed, 0 insertions, 0 deletions