Important per-cpu fix.
Quoted 2 lines · Rusty
Yeah, but you can still leave a spinlock uninitialized, and it'll work.
If your architecture has load-and-zero as its only atomic primitive, leaving spinlocks uninitialised will _not_ work ;-)
Signature · 1 line
Revolutions do not require corporate support.
In message <[email protected]> you write:
Quoted 6 lines
Quoted 2 lines · Rusty
Yeah, but you can still leave a spinlock uninitialized, and it'll work.
If your architecture has load-and-zero as its only atomic primitive, leaving spinlocks uninitialised will _not_ work ;-)
<sigh>
Context: static initializers. ie. you can use dynamic initialization on your spinlocks.
Rusty.
--
Anyone who quotes me in their sig is an idiot. -- Rusty Russell.