Messages in this thread | | | Date | Sun, 5 Sep 1999 19:30:56 +0200 (CEST) | From | <> | Subject | Re: SMP linux help |
| |
On Sun, 5 Sep 1999, Jamie Lokier wrote:
> Actually the kernel lock is different to other spinlocks. > > When a task holding the kernel lock blocks, i.e. calls schedule(), the > lock is dropped. When the task is run again, the lock is reacquired.
yes. The kernel lock can be best described as a 'spin-semaphore'. We might want to change it to a real semaphore in the future, now that the locked regions are getting much longer (multi-millisec). 2.5 stuff i guess.
-- mingo
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |