Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Jul 2003 16:06:39 -0400 (EDT)
From:      John Baldwin <jhb@FreeBSD.org>
To:        Julian Elischer <julian@elischer.org>
Cc:        FreeBSD current users <current@FreeBSD.ORG>
Subject:   RE: SMP and setrunnable()- scheduler 4bsd
Message-ID:  <XFMail.20030710160639.jhb@FreeBSD.org>
In-Reply-To: <Pine.BSF.4.21.0307101228100.40558-100000@InterJet.elischer.org>

next in thread | previous in thread | raw e-mail | index | archive | help

On 10-Jul-2003 Julian Elischer wrote:
> BTW in cpu_idle()
> 
>#ifdef SMP
>         if (mp_grab_cpu_hlt())
>                 return;
>#endif
> 
> 
> whta gain is there in this returning.. it will anyhow if there is work
> to do, and sched_runnable is called either way..
> 
> couldn't it just be 
> 
>#ifdef SMP
>       mp_grab_cpu_hlt();
>#endif
> 
> ?

*shrug*, ps@ stuck that in there and I didn't really look too closely.

-- 

John Baldwin <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/



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