[asterisk-dev] sruffell: linux/trunk r6524 - /linux/trunk/drivers/dahdi/dahdi_dummy.c
Shaun Ruffell
sruffell at digium.com
Thu Apr 30 10:31:25 CDT 2009
Tony Mountifield wrote:
> In article <E1LzDte-0002CA-Bh at wibble.digium.internal>,
> SVN commits to the Digium repositories <svn-commits at lists.digium.com> wrote:
>> - * Converted to use RTC on i386 by Tony Mountifield <tony at softins.co.uk>
>
> Well, it was good while it lasted... :-)
>
> But seriously, one comment:
>
>> +#define JIFFIES_INTERVAL (HZ/250) /* 4ms is fine for dahdi_dummy */
>
> If it is possible to have a system where HZ is less than 250, this won't
> work on such a system. I think HZ=100 has been seen quite often.
This didn't appear to be a problem. When you add a timer that is equal
to (or less than) the current jiffies, the kernel will schedule it on
the next timer tick.
--
Shaun Ruffell
Digium, Inc. | Linux Kernel Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at: www.digium.com & www.asterisk.org
More information about the asterisk-dev
mailing list