On Mon, 2014-06-02 at 21:44 +0200, Daniel Kiper wrote: > Hi, > > Here is patch series based on upstream which fixes dom0 memory > allocation issues. Without those patches dom0 may lose half > of its memory allocated at boot by Xen. > > Konrad and I have tested whole patch series. Are any of these fixes applicable to 3.2 as well? Ben. > Daniel > > arch/x86/include/asm/xen/page.h | 1 + > arch/x86/xen/enlighten.c | 1 - > arch/x86/xen/mmu.c | 23 ---------- > arch/x86/xen/p2m.c | 198 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++----------------- > arch/x86/xen/setup.c | 159 ++++++++++++++++++++++++++++++++++++++++++++++++++++++---------- > arch/x86/xen/xen-ops.h | 1 - > drivers/net/xen-netback/interface.c | 2 + > 7 files changed, 294 insertions(+), 91 deletions(-) > > David Vrabel (1): > xen/setup: update VA mapping when releasing memory during setup > > Konrad Rzeszutek Wilk (9): > xen/p2m: Move code around to allow for better re-usage. > xen/p2m: Allow alloc_p2m_middle to call reserve_brk depending on argument > xen/p2m: Collapse early_alloc_p2m_middle redundant checks. > xen/p2m: An early bootup variant of set_phys_to_machine > xen/setup: Populate freed MFNs from non-RAM E820 entries and gaps to E820 RAM > xen/setup: Combine the two hypercall functions - since they are quite similar. > xen/balloon: Subtract from xen_released_pages the count that is populated. > xen/p2m: Reserve 8MB of _brk space for P2M leafs when populating back. > xen/p2m: Reuse existing P2M leafs if they are filled with 1:1 PFNs or INVALID. > > zhenzhong.duan (1): > xen: populate correct number of pages when across mem boundary (v2) -- Ben Hutchings You can't have everything. Where would you put it?
Attachment:
signature.asc
Description: This is a digitally signed message part