Date: Thu, 12 Sep 2002 04:31:48 -0700 From: Luigi Rizzo <rizzo@icir.org> To: Bruce Evans <bde@zeta.org.au> Cc: smp@FreeBSD.ORG Subject: Re: wakeup handling on SMP boxes Message-ID: <20020912043148.B98062@iguana.icir.org> In-Reply-To: <20020912204245.I5891-100000@gamplex.bde.org>; from bde@zeta.org.au on Thu, Sep 12, 2002 at 09:05:45PM %2B1000 References: <20020911172143.H93521@iguana.icir.org> <20020912204245.I5891-100000@gamplex.bde.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Sep 12, 2002 at 09:05:45PM +1000, Bruce Evans wrote: ... > > now, this is another debatable thing -- why do processes sleep at > > high priority at all given that they are not holding any locks while > > sleeping ? > > So that they get run soon after they wake up. The priority doesn't matter > while they are asleep, but the system needs to know what priority to use > when it wakes them. ok but why they need to run soon ? again, they are not holding any resource, so they could as well keep their priority and be scheduled according to it (which is something that will happen anyways when they do an usrret). cheers luigi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020912043148.B98062>