On 2017/12/27 1:37, Martin Husemann wrote:
On Tue, Dec 26, 2017 at 07:05:38PM +0900, Masanobu SAITOH wrote:so checking mp_online is the best, right?I wonder if we should additionaly check for ncpu >= 2 (or ncpuonline >= 2), but that is probably overoptimization.
I think doing optimization for single CPU machine with options MULTIPROCESSOR kernel is not so important. It would rather do optimize for non-MULTIPROCESSOR kernel.
Martin
--
-----------------------------------------------
SAITOH Masanobu (msaitoh%execsw.org@localhost
msaitoh%netbsd.org@localhost)