As for as I know,when process/Thread is in runqueue,then may have allocate some resource even they do not running right now,In order to keep the data consistent(can not be modified by other processes/threads) ,we should use spinlock to protect the data. 在2007-09-19,"Mansha Linux" <[EMAIL PROTECTED]> : Hi all, Could you please explain me why do we need the spinlocks on uniprocessor machines? Is this the only reason that the kernel is preemptive ? -- regards, Mansha
- Spinlocks on Uniprocessor Mansha Linux
- Re: Spinlocks on Uniprocessor Erik Mouw
- Re: Spinlocks on Uniprocessor Jiri Kosina
- Re: Spinlocks on Uniprocessor Mansing
- Re:Spinlocks on Uniprocessor jiayinjia1983116
- RE: Spinlocks on Uniprocessor Rajendra Stalekar
- RE: Spinlocks on Uniprocessor richard bravo
- RE: Spinlocks on Uniprocessor Rajendra Stalekar
- Re: Spinlocks on Uniprocessor Thomas Petazzoni
