tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Please do not yell at people for trying to help you.



Matt,

On 2010-11-13 04:17, Matt Thomas wrote:
The VAX now has a fast non-MP emulation of atomic_cas so that should be
less of an issue.

I looked at this code, as well as your musings about the design. Did you miss one step in there, or did I miss something?

I thought that we needed to reset the address pointing location on all traps/exceptions, but we don't seem to be. So unless an interrupt actually calls the CAS function, the CAS will happily run to completion no matter how many intervening interrupt, exceptions and context switches occur.

I'm trying to see if this can be a problem, but I'm not sure. But based on your comments in your design, I seem to read that the idea was that the address pointer should be reset on every exception.

        Johnny

--
Johnny Billquist                  || "I'm on a bus
                                  ||  on a psychedelic trip
email: bqt%softjar.se@localhost             ||  Reading murder books
pdp is alive!                     ||  tryin' to stay hip" - B. Idol


Home | Main Index | Thread Index | Old Index