Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Jul 1998 13:26:59 +0200 (MET DST)
From:      Luigi Rizzo <luigi@labinfo.iet.unipi.it>
To:        sos@FreeBSD.ORG
Cc:        smoergrd@oslo.geco-prakla.slb.com, nick.hibma@jrc.it, hackers@FreeBSD.ORG
Subject:   timeout granularity (was: Re: Console driver...)
Message-ID:  <199807021127.NAA12406@labinfo.iet.unipi.it>
In-Reply-To: <199807021112.EAA00304@hub.freebsd.org> from "sos@FreeBSD.ORG" at Jul 2, 98 04:12:07 am

next in thread | previous in thread | raw e-mail | index | archive | help
[about default timer granularity being too coarse for sampling
the vertical retrace interval]

the code might check if HZ is set to a suitable value (how large,
e.g. 1000 or 2000, i have no idea) and use timeout instead of
polling if the test is successful. Sooner or later hopefully we
will move to large values of HZ anyways.

(or, how about adding a utimeout() call to the kernel :)

	cheers
	luigi
-----------------------------+--------------------------------------
Luigi Rizzo                  |  Dip. di Ingegneria dell'Informazione
email: luigi@iet.unipi.it    |  Universita' di Pisa
tel: +39-50-568533           |  via Diotisalvi 2, 56126 PISA (Italy)
fax: +39-50-568522           |  http://www.iet.unipi.it/~luigi/
_____________________________|______________________________________

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



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