Re: kernel time *UNSAFE* during interrupts

Stephen Donnelly (sfd@cs.waikato.ac.nz)
Mon, 30 Nov 1998 09:52:06 +1300


Michael Krause wrote:

> > > What a machine do you have, and is CONFIG_CPU_IS_SLOW enabled?
> >
> > I have tried this on a PII 266MHz with 196MB of ram, and an old P75.
> > Both of these will have TSC.

Ah, CONFIG_CPU_IS_SLOW is not set on the machines we tested.

> > I would very much like it if you could try the tcpdump experiment, so
> > that I can say that its not only me that sees this bug!
>
> Unfortunately I don't have a network set up at home, so I guess I'm
> not that much of a help.. has anyone else responded to your query yet?

No, unfortunately. I'm amazed no one has tried this out, as it is very
easy to show. I thought people would have been more worried about time
being broken for 2.2.0

> I'm not as much into that arch/i386/kernel/time.c code as you might
> have hoped from my first reply, by the way... I'm just responsible for
> having ported it from some 2.0 patch.

That's okay, thanks for the replies, at least I know someone is
listening.

I have looked through the 2.1.126 patch, but I still can't see what
would break it like this. There are quite a few changes, but they do
seem to be interrupt masked anyway. This happens so often, you would
think it would have to be some code that runs fairly often.

I hope you don't mind me sending this to the list, I'm hoping somone
will read it if I keep the thread live.

Stephen.

-- 
-----------------------------------------------------------------------
    Stephen Donnelly (BCMS)             email: sfd@cs.waikato.ac.nz
    Waikato ATM Group          Lab G1.31 phone +64 7 838 4466 x6728
    Computer Science Department, University of Waikato, New Zealand
-----------------------------------------------------------------------

- 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/