Port-xen archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: LOCKDEBUG kernel option crashes if vcpu > 1



On Wed, Nov 19, 2014 at 12:44:54PM +0100, Manuel Bouyer wrote:
> >         mapsize += NBPG;
> > 
> > +       /* Pre-alloc kva for ci during cpu attach  */
> > +       mapsize += round_page(maxcpus * sizeof(struct cpu_info)) * NBPG;
> > +
> 
> On amd64 this makes 2193 extra slots.
> What's the problem with making pmap_growkernel() work as expected ?

I'll add that it's not clear for me that this patch would avoid the problematic
call to pmap_growkernel when 256 CPUs are present.

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--


Home | Main Index | Thread Index | Old Index