Date: Tue, 23 Dec 2003 16:17:58 -0800 From: Alfred Perlstein <alfred@FreeBSD.org> To: John Baldwin <jhb@FreeBSD.org> Cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/kern subr_smp.c Message-ID: <20031224001758.GT60229@elvis.mu.org> In-Reply-To: <XFMail.20031223120248.jhb@FreeBSD.org> References: <200312231354.hBNDsGi3005135@repoman.freebsd.org> <XFMail.20031223120248.jhb@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
* John Baldwin <jhb@FreeBSD.org> [031223 09:04] wrote: > > On 23-Dec-2003 Alfred Perlstein wrote: > > alfred 2003/12/23 05:54:16 PST > > > > FreeBSD src repository > > > > Modified files: > > sys/kern subr_smp.c > > Log: > > Introduce mp_maxcpus which can be used by libkvm utils to find out > > how many CPUs the system was compiled for. > > Export the variable via a sysctl node 'kern.smp.maxcpus' as well. > > Why does libkvm care about more than mp_maxid? See mbuf.c from netstat(1). basically some arrays in the kernel are based on MAXCPU so it has to know how much to copy. - Alfred Perlstein - Research Engineering Development Inc. - email: bright@mu.org cell: 408-480-4684
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031224001758.GT60229>