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 Tue, Nov 18, 2014 at 10:30:28PM +0530, Cherry G. Mathew wrote:
> Hi,
> Does the following patch work for you ?
> It's a bit tricky since we use uvm_km_alloc() at early bootup (even for ci,
> I think this should come from a static array or a poolcache) which is what
> triggers the pmap_growkernel() as you probably know.

a static array is probably not appropriate as we can have as much as
256 virtual CPUs. I don't think a poolcache would help as it has to
get the memory from somewhere. And as ci is never freeed, a pool or poolcache
would be overkill.

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

Home | Main Index | Thread Index | Old Index