[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v1 1/9] mm: Separate free page chunk merging into its own routine
On 03/28/2017 03:20 PM, Wei Liu wrote: > On Fri, Mar 24, 2017 at 01:04:56PM -0400, Boris Ostrovsky wrote: >> This is needed for subsequent changes to memory scrubbing. No >> logic change, only code re-factoring. > Actually there is a slight change in logic: pg and order could be > updated in the original merge code. With this patch you still pass the > original pg to reserve_offlined_page if tainted is true. I don't think > this matters in terms of correctness, but it is worth pointing out. Actually, for pg it does matter since reserve_offlined_page() is passed buddy head. So I should make merge_chunks() return new head. ('order' is not used after merge_chunks(), so that's OK). -boris _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx https://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |