]> bbs.cooldavid.org Git - net-next-2.6.git/commit
[PATCH] paravirt: remove read hazard from cow
authorZachary Amsden <zach@vmware.com>
Sun, 1 Oct 2006 06:29:30 +0000 (23:29 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sun, 1 Oct 2006 07:39:33 +0000 (00:39 -0700)
commit3dc907951446b9317b1887223caa4e083390de9f
treeaddff9ee95e0caea5e895a1a674e49f38254fddd
parentbd4c8ce41a2e2f0c5bf54343ab54e8e09faec021
[PATCH] paravirt: remove read hazard from cow

We don't want to read PTEs directly like this after they have been modified,
as a lazy MMU implementation of direct page tables may not have written the
updated PTE back to memory yet.

Signed-off-by: Zachary Amsden <zach@vmware.com>
Signed-off-by: Jeremy Fitzhardinge <jeremy@xensource.com>
Cc: Rusty Russell <rusty@rustcorp.com.au>
Cc: Andi Kleen <ak@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
mm/memory.c