Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Nov 2001 06:44:58 -0800
From:      Luigi Rizzo <rizzo@aciri.org>
To:        Bruce Evans <bde@zeta.org.au>
Cc:        Peter Wemm <peter@wemm.org>, Mike Smith <msmith@FreeBSD.ORG>, John Baldwin <jhb@FreeBSD.ORG>, current@FreeBSD.ORG
Subject:   Re: where is the idle_loop in current ?
Message-ID:  <20011125064458.A76206@iguana.aciri.org>
In-Reply-To: <20011125195537.X5075-100000@delplex.bde.org>
References:  <20011124023142.9BB70380D@overcee.netplex.com.au> <20011125195537.X5075-100000@delplex.bde.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Now, the whole problem here seems to be that kernel threads
are not preemptable, which is something that worries me a
bit because in CURRENT we use them for interrupt handlers as
well, and those used to be preemptable (subject to spl masks)
in RELENG_4.

On the other hand, if preemptable threads are implemented
(which one of the messages in this thread suggests might
occur), then things will improve even wrt RELENG_4

On Sun, Nov 25, 2001 at 09:26:51PM +1100, Bruce Evans wrote:

> Anyway, I think luigi wants the non-process benefits of hacking on the
> old idle loop.  Sorry, the only way to get these seems to be to upgrade
> to RELENG_4.

which, funnily, I have already... This thread came out because in
order to import my polling stuff in the tree (see my yet-unanswered
request to -core), having a CURRENT version seems useful to lower
resistance.

I don't mind having spent the time for doing it, in the process i
certainly learned something on the internals of CURRENT, but this
seems to be about the only useful result of this additional work :)

	cheers
	luigi
----------------------------------+-----------------------------------------
 Luigi RIZZO, luigi@iet.unipi.it  . ACIRI/ICSI (on leave from Univ. di Pisa)
 http://www.iet.unipi.it/~luigi/  . 1947 Center St, Berkeley CA 94704
 Phone: (510) 666 2927
----------------------------------+-----------------------------------------

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?20011125064458.A76206>