Re: xcall while cold == 1

2017-12-27 Thread Masanobu SAITOH
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

Re: xcall while cold == 1

2017-12-26 Thread Martin Husemann
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. Martin

Re: xcall while cold == 1

2017-12-26 Thread Masanobu SAITOH
On 2017/12/26 11:59, Masanobu SAITOH wrote: On 2017/12/25 20:26, Martin Husemann wrote: On Mon, Dec 25, 2017 at 03:42:06PM +0900, Masanobu SAITOH wrote:   Is this intended behavior? Is it possible to use xcall while cold==1? Cold is (as you noted) not the right condition (but pretty close

Re: xcall while cold == 1

2017-12-25 Thread Masanobu SAITOH
On 2017/12/25 20:26, Martin Husemann wrote: On Mon, Dec 25, 2017 at 03:42:06PM +0900, Masanobu SAITOH wrote: Is this intended behavior? Is it possible to use xcall while cold==1? Cold is (as you noted) not the right condition (but pretty close). Xcalls don't really make any sense before

xcall while cold == 1

2017-12-24 Thread Masanobu SAITOH
ssertion "xc->xc_donep < xc->xc_headp" failed: file "../../../../kern/subr_xcall.c", line 286 (Yes, the exact reason is not cold==1 but all CPU's SPCF_RUNNING is not set) Is this intended behavior? Is it possible to use xcall while cold==1? For softint_establish(