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 Thu, Nov 20, 2014 at 01:11:45AM +0530, Cherry G. Mathew wrote:
> Looking at pmap_growkernel(), it seems to be well placed for this ( I
> see that you wrote the code for the early startup case ), although I
> dislike the if() within a fairly hot codepath.
> 
> I also just noticed in amd64/include/param.h:
> 
> #ifndef XEN
> /* Must be defined before cpu.h */
> #define MAXCPUS 256
> #endif
> 
> which means that maxcpus is 32 for XEN ? (Not sure when this happened).

This is strange; I'm almost sure I tested it with more vcpus than that.

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


Home | Main Index | Thread Index | Old Index