[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v5 8/8] xen: arm: allocate more than one bank for 1:1 domain 0 if needed
Hi Ian, On 07/09/2014 01:07 PM, Ian Campbell wrote: > Depending on where Xen and the initial modules were loaded into RAM we may not > be able to allocate a suitably contiguous block of memory for dom0. Especially > since the allocations made by alloc_domheap_pages are naturally aligned (e.g. > a > 1GB allocation must be at a 1GB boundary). > > The alignment requirement in particular is a huge limitation, meaning that > even > dom0_mem0=1G on a 2GB system is pretty likely to fail unless you are very > careful with your load addresses. People were also having trouble with dom0 > > 128MB on the 1GB cubieboard2 when using fairly standard load addresses for > things. > > This patch tries to allocate multiple banks of memory in order to try and > satisfy the entire requested domain 0 allocation. Sadly this turns out to be > pretty tricky to arrange (see the large comment in the code). > > Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxx> Acked-by: Julien Grall <julien.grall@xxxxxxxxxx> Regards, -- Julien Grall _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |