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

Joerg Sonnenberger joerg at
Wed May 25 01:40:27 PDT 2005

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.


More information about the Commits mailing list