[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v5 03/23] x86/mm: move update_intpte to pv/mm.h
>>> On 14.09.17 at 14:58, <wei.liu2@xxxxxxxxxx> wrote: > --- a/xen/arch/x86/pv/mm.h > +++ b/xen/arch/x86/pv/mm.h > @@ -18,4 +18,69 @@ static inline l1_pgentry_t guest_get_eff_l1e(unsigned long > linear) > return l1e; > } > > +/* > + * PTE updates can be done with ordinary writes except: > + * 1. Debug builds get extra checking by using CMPXCHG[8B]. > + */ > +#if !defined(NDEBUG) #ifdef > +#define PTE_UPDATE_WITH_CMPXCHG #else #undef now that it sits in a header, to be on the safe side. With that Acked-by: Jan Beulich <jbeulich@xxxxxxxx> Jan _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx https://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |