On Tue, 22 Jan 2002, Kevin D. Kissell wrote: > The idea leverages off the fact that a branch likely > instruction performs a kind of conditional execution. > The instruction in the delay slot is executed only if > the branch is taken. This can be used to synthesize > a conditional store. The user level code for a simple > atomic increment, for example, would look something > like this: Hmm, could you use this to take the race out of the kernel wait loop too? Ie use current->need_resched as the test and 'wait' as the conditional operation. Jason