SYSTIMER device polling

Matthew Dillon dillon at
Sun Oct 9 11:00:25 PDT 2005

:Hi all,
:Following patch(against HEAD) make device polling utilize seperate
:systimer, instead of hard clock:
:Tested with fxp(4)
:Please review it.
:Live Free or Die

    Sephe, the patch is good, please commit it any time.  I like the 
    shortcut you used to change the frequency... I wasn't even thinking
    about simply changing the periodic reload value, but that's clearly the
    most effective way to do it.

    We may want to put an upper limit on the frequency to avoid livelocking
    the system... say something like 20000 hz (50uS).  So e.g.:

    if (phz <= 0)
	    return EINVAL;

    And then add a #ifndef/#define/#endif sequence so it can be specified as
    an option.  But it isn't critical.  If you decide to do that, just make
    the changes, test, and commit.

					Matthew Dillon 
					<dillon at xxxxxxxxxxxxx>

More information about the Submit mailing list