Skip site navigation (1)Skip section navigation (2)
Date:      24 Jun 2001 16:27:44 +0200
From:      Dag-Erling Smorgrav <des@ofug.org>
To:        Bosko Milekic <bmilekic@FreeBSD.org>
Cc:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/usr.bin/netstat mbuf.c
Message-ID:  <xzpvglm6jhb.fsf@flood.ping.uio.no>
In-Reply-To: <200106231704.f5NH4Hh28570@freefall.freebsd.org>
References:  <200106231704.f5NH4Hh28570@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Bosko Milekic <bmilekic@FreeBSD.org> writes:
>   Log:
>   - Fix space allocation for mbstat structure
>   - Make sure to try hw.ncpu if kern.smp.cpus doesn't exist (i.e. on UP) to
>     get number of CPUs.

What's the point of having both?  Why not just make sure hw.ncpu is
always correct, and use only that?

DES
-- 
Dag-Erling Smorgrav - des@ofug.org

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?xzpvglm6jhb.fsf>