[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-3.1-testing] x86: Fix writable-pagetable cmpxchg path to properly adjust PTE (i.e.,
# HG changeset patch # User Keir Fraser <keir@xxxxxxxxxxxxx> # Date 1192697960 -3600 # Node ID cb6254fd69136b0b0d8b71e75d1a7435c8433a52 # Parent f46b48179d84c00ce534002e63162e529883511d x86: Fix writable-pagetable cmpxchg path to properly adjust PTE (i.e., set _PAGE_GLOBAL for x86/64 guest user mappings). Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx> xen-unstable changeset: 16129:2173fe77dcd216dc278a43f59430915a5b53180d xen-unstable date: Thu Oct 18 09:59:20 2007 +0100 --- xen/arch/x86/mm.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -r f46b48179d84 -r cb6254fd6913 xen/arch/x86/mm.c --- a/xen/arch/x86/mm.c Wed Oct 17 11:17:53 2007 +0100 +++ b/xen/arch/x86/mm.c Thu Oct 18 09:59:20 2007 +0100 @@ -3305,7 +3305,7 @@ static int ptwr_emulated_update( ol1e = l1e_from_intpte(old); okay = paging_cmpxchg_guest_entry(v, &l1e_get_intpte(*pl1e), - &t, val, _mfn(mfn)); + &t, l1e_get_intpte(nl1e), _mfn(mfn)); okay = (okay && t == old); if ( !okay ) _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |