Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Sep 2000 23:49:45 +0000
From:      Tony Finch <dot@dotat.at>
To:        Warner Losh <imp@village.org>
Cc:        Mike Smith <msmith@FreeBSD.ORG>, current@FreeBSD.ORG
Subject:   Re: new idle_proc() makes my laptop very hot
Message-ID:  <20000921234945.F5948@hand.dotat.at>
In-Reply-To: <200009212310.RAA62949@harmony.village.org>
References:  <200009212303.QAA62850@mass.osd.bsdi.com> <200009212310.RAA62949@harmony.village.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Warner Losh <imp@village.org> wrote:
>Mike Smith writes:
>>
>> If I remember from a discussion with John Baldwin, the reason we
>> don't do this (yet) is that HLT only wakes up when you take an
>> interrupt, and there are cases where we can't guarantee that we'll
>> take an interrupt in order to get us out of the HLT.
>
>I thought that's what the timer interrupts were for...  We can't
>guarantee that we'll get one?  That seems very serious to me.

The problem is that one cpu may wich to schedule a process to run on
the idle cpu, but it can't because the idle cpu is halted and won't
wake up until the next irq.

Tony.
-- 
en oeccget g mtcaa    f.a.n.finch
v spdlkishrhtewe y    dot@dotat.at
eatp o v eiti i d.    fanf@covalent.net


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




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