[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v2 8/8] xen: arm: allocate more than one bank for 1:1 domain 0 if needed
On Wed, 2014-06-18 at 10:10 +0100, Julien Grall wrote: > > On 18/06/14 09:27, Ian Campbell wrote: > > On Tue, 2014-06-17 at 18:58 +0100, Julien Grall wrote: > >> Hi Ian, > >> > >> On 06/11/2014 05:40 PM, Ian Campbell wrote: > >>> + /* > >>> + * First try and allocate the largest thing we can as low as > >>> + * possible to be bank 0. > >>> + */ > >>> + while ( order > min_low_order ) > >>> + { > >>> + for ( bits = order ; bits < (lowmem ? 32 : PADDR_BITS); bits++ ) > >>> + { > >>> + pg = alloc_domheap_pages(d, order, MEMF_bits(bits)); > >>> + if ( pg != NULL ) > >>> + goto got_bank0; > >>> + } > >>> + order--; > >>> + } > >>> + > >>> + panic("Unable to allocate first memory bank"); > >> > >> I gave a try to this patch in stand-alone on the versatile express and I > >> hit this panic. > >> > >> Xen is trying to allocate 128Mb for the first bank. It was working > >> without this patch. > > > > What is your dom0_mem and how much ram does the system have? > > I use the default value from Xen i.e 128MB. The platform has 1GB of RAM > (see below Xen log with early printk enabled). Thanks, how strange. Perhaps I got min_low_order wrong, or that loop is knackered in some way. I'll check. _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |