Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Sep 2002 12:31:39 +0200
From:      Poul-Henning Kamp <phk@critter.freebsd.dk>
To:        Harti Brandt <brandt@fokus.gmd.de>
Cc:        Bruce Evans <bde@zeta.org.au>, Josef Karthauser <joe@FreeBSD.ORG>, "David O'Brien" <obrien@FreeBSD.ORG>, cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG
Subject:   Re: cvs commit: src/sys/kern kern_timeout.c 
Message-ID:  <13968.1032172299@critter.freebsd.dk>
In-Reply-To: Your message of "Mon, 16 Sep 2002 12:29:51 %2B0200." <20020916122355.N92332-100000@beagle.fokus.gmd.de> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <20020916122355.N92332-100000@beagle.fokus.gmd.de>, Harti Brandt wri
tes:

>In case of the xl driver it is a problem with DELAY(). One xl_mii_readreg
>needs 184 DELAY(1) calls, each of which takes around 9usecs. The mii_tick
>needs several readregs. Just for testing I have converted all these DELAYs
>to use busy wait on the TSC. This cuts down the readreg() time to
>350usecs!

I have a point on my TODO list about improving DELAY(), but nobody
has picked it up yet.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.

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




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