tech-kern archive

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

Re: __{read,write}_once



> Uninterruptible means exactly that, there is a clear before and after
> state and no interrupts can happen in between.

Is uninterruptible all you care about?  Or does it also need to be
atomic with respect to other CPUs?  Eventually, of course, you'll want
all those counter values on a single CPU - does that happen often
enough to matter?

Also, does it actually need to be uninterruptible, or does it just need
to be interrupt-tolerant?  I'm not as clear as I'd like on what the
original desire here was, so I'm not sure but that we might be trying
to solve a harder problem than necessary.

/~\ The ASCII				  Mouse
\ / Ribbon Campaign
 X  Against HTML		mouse%rodents-montreal.org@localhost
/ \ Email!	     7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B


Home | Main Index | Thread Index | Old Index