[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v1 9/9] mm: Make sure pages are scrubbed
On 03/29/2017 12:25 PM, Wei Liu wrote: > On Fri, Mar 24, 2017 at 01:05:04PM -0400, Boris Ostrovsky wrote: >> +static void check_one_page(struct page_info *pg) >> +{ >> + mfn_t mfn = _mfn(page_to_mfn(pg)); >> + uint64_t *ptr; >> + >> + ptr = map_domain_page(mfn); >> + ASSERT(*ptr != PAGE_POISON); > Should be ASSERT(*ptr == 0) here. We can't assume it will be zero --- see scrub_one_page(). -boris _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx https://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |