[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 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?



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.