NetBSD-Users archive

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

Re: turning off MULTIPROCESSOR

On Tue, Nov 09, 2010 at 12:01:58PM -0500, Greg Troxel wrote:
> I have a custom kernel (i386) that I want to run on a machine that might
> have 2 cpus, but I want to only use 1 cpu because I'm not 100% sure the
> locking is right in the new code.  I went to turn off options
> MULTIPROCESSOR, but it seems that is now non-optional.  Is there a
> compile-time way to disable cpus beyond cpu0?  Or should I use cpuctl?
> or ?

Boot with -1.  All the locking will be magically patched away.


Home | Main Index | Thread Index | Old Index