Re: [patch] stime/settimeofday/adjtimex SMP races (2.2.12 and 2.3.18ac5)

Ryan Murray (rmurray@cyberhqz.com)
Sun, 19 Sep 1999 01:42:25 -0700


On Fri, Sep 17, 1999 at 04:41:17PM +0200, Andrea Arcangeli wrote:
> I reviewed the time-related stuff in 2.2.12 and I found potential SMP
> races in the time-related syscalls. Basically the only problem is that the
> time-syscalls are not protecting against each other. They are only
> protecting themself against the timer irq. And this may lead to SMP races.

This seems to have resulted in all set_rtc_mmss messages vanishing for
me. It's been a bit over a day so far, and usually it starts displaying
them by now. I'll give it another day and then try a reboot to see if
the processors deadlock, but for now, it looks good. Glad to see these
will be in 2.2.13 (I'm running 2.2.13pre9 w/ the SMP time spinlock
patch)

-- 
Ryan Murray (rmurray@cyberhqz.com, rmurray@glenayre.com)
Software Designer, Glenayre Technologies Inc.
The opinions expressed here are my own.

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/