timeouts too long bug again...

2012-01-26 Thread Luigi Rizzo
In sep.2009 i noticed that usleep() select() and friends (including the in-kernel callouts) would consistently take one tick longer than they should, and committed a fix to sys/kern/kern_timeout.c to HEAD and RELENG_8 http://svnweb.freebsd.org/base?view=revisionrevision=197137

Re: timeouts too long bug again...

2012-01-26 Thread Chuck Swiger
On Jan 26, 2012, at 11:08 AM, Luigi Rizzo wrote: In sep.2009 i noticed that usleep() select() and friends (including the in-kernel callouts) would consistently take one tick longer than they should, and committed a fix to sys/kern/kern_timeout.c to HEAD and RELENG_8 Sounds like the tvtohz()