Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Sep 1997 07:47:25 +0000 (GMT)
From:      Terry Lambert <tlambert@primenet.com>
To:        gibbs@plutotech.com (Justin T. Gibbs)
Cc:        finnag@guardian.no, archie@whistle.com, current@FreeBSD.ORG
Subject:   Re: timeout management (was: Re: cvs commit: ...)
Message-ID:  <199709250747.AAA10520@usr03.primenet.com>
In-Reply-To: <199709250512.XAA19962@pluto.plutotech.com> from "Justin T. Gibbs" at Sep 24, 97 11:11:58 pm

next in thread | previous in thread | raw e-mail | index | archive | help
> >Have you guys looked at the timer code in Linux? It basically is a small
> >variation of this, which makes all operations  O(1) for almost
> >every timer.
> 
> It looks like a 5 level hierarchical timing wheel to me.  FreeBSD currently
> has a one level timing wheel.  Cascade_timers should enable interrupts
> at deterministic intervals so that interrupts are defered a deterministic
> amount of time.

I agree with Justin on this.  The Linux code is insufficient, in this case.

BTW, it's linux/kernel/sched.c, not just kernel/sched.c.


					Terry Lambert
					terry@lambert.org
---
Any opinions in this posting are my own and not those of my present
or previous employers.



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