Re: Timers in 2.6.x kernels

From: Jarmo (terhi.victor@logonet.com)
Date: Sat Mar 13 2004 - 16:59:49 EET

  • Next message: Ralf Baechle DO1GRB: "Re: Timers in 2.6.x kernels"

    On Saturday 13 March 2004 16:19, you wrote:

    > All properly written kernel code should now be used USER_HZ for any kind of
    > kernel interfaces that are user or application visible. Unfortunately
    > quite a bit of the ham code in the kernel still hasn't done that
    > transitition so now we've got a wild mix of time units.
    >
    > I guess for consistence we should bit the bullet and standardize on one
    > unit, seconds or miliseconds as appropriate. HZ or USER_HZ require the
    > user to know what kind of system or even what kernel version he's running.

    In 6pack driver here in linux,there's still 0.3.0 version,and if I remember
    the end of 90' ,there was something 0.4.2 version for dos/windows.
    It never came into kernel tree...

    > Do you happen to be running a CONFIG_SMP / CONFIG_PREEMPT kernel? The
    > locking stuff in the 6pack driver looks pretty broken and I wouldn't
    > expect it to survive for long with any of these two kernel options
    > enabled.

    No

    > APM implementations tend to tamper with interrupts so disabling APM while
    > running data over the serial port may help.

    This morning I compiled kernel without APM and it has been running
    from since.
    Hope,that get it running more stable..9 hours max uptime was quite
    annoying.

    Ofcourse possibilities to start use mkiss......Hope someone should
    find intress to look code and make improvements..My knowledge
    is below zero...;-)

    Still have to remember,that this is a hobby..isn't it?

    Jarmo
    -
    To unsubscribe from this list: send the line "unsubscribe linux-hams" in
    the body of a message to dhsv@libertyhelicopters.com
    More majordomo info at http://vger.kernel.org/majordomo-info.html



    This archive was generated by hypermail 2b30 : Sat Mar 13 2004 - 17:36:31 EET