NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: kern/52111: wmX i82574L inoperative in monoprocessor mode (i386)
The following reply was made to PR kern/52111; it has been noted by GNATS.
From: Martin Husemann <martin%duskware.de@localhost>
To: Kengo NAKAHARA <k-nakahara%iij.ad.jp@localhost>
Cc: gnats-bugs%NetBSD.org@localhost
Subject: Re: kern/52111: wmX i82574L inoperative in monoprocessor mode (i386)
Date: Mon, 27 Mar 2017 10:42:33 +0200
On Mon, Mar 27, 2017 at 11:27:17AM +0900, Kengo NAKAHARA wrote:
> Hmm...., It is strange to me that wm(4) use two TX and RX interrupts on
> uniprocessor system.
He means using "boot -1" on a multiprocessor system.
I don't know if on x86 that makes ncpu be 1 or if wm should better use
ncpuonline instead. The pool code seems to use
if (ncpu < 2 || !mp_online)
instead, maybe we should provide a simple inline function and make it
all the same?
Martin
Home |
Main Index |
Thread Index |
Old Index