DragonFly BSD
DragonFly commits List (threaded) for 2005-05
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: cvs commit: src/sys/i386/i386 trap.c src/sys/kern kern_poll.c


From: Joerg Sonnenberger <joerg@xxxxxxxxxxxxxxxxx>
Date: Wed, 25 May 2005 10:36:47 +0200
Mail-followup-to: commits@crater.dragonflybsd.org

On Wed, May 25, 2005 at 01:06:53AM -0700, Matthew Dillon wrote:
>     Putting a hook in the trap code does not result in any sort of
>     deterministic operation.  I don't know who put that hack in there
>     (inherited from FreeBSDland) and I don't want to know.  That whole mess
>     was put in because hardclock (the normal polling point) is a totally
>     inadequate place to trigger the poll.

The reason it is there doesn't have anything to do with hardclock.
It's cheap to check there and helps network programs by reducing
the latency.

Joerg



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]