Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: src
On Mon, Apr 28, 2008 at 03:36:01PM +0000, Andrew Doran wrote:
>
> Log Message:
> Add MI code to support in-kernel preemption. Preemption is deferred by
> one of the following:
>
> - Holding kernel_lock (indicating that the code is not MT safe).
> - Bracketing critical sections with kpreempt_disable/kpreempt_enable.
> - Holding the interrupt priority level above IPL_NONE.
Shouldn't the list also include 'holding any spinlock' ?
Or do we only have spinlocks that raise the IPL ?
David
--
David Laight: david%l8s.co.uk@localhost
Home |
Main Index |
Thread Index |
Old Index