Re: why both kernel lock as well as semaphore

2000-12-23 Thread Tigran Aivazian
On Sat, 23 Dec 2000, Sourav Sen wrote: > > In many parts of the kernel, I have seen both semaphore is taken > (eg. down(¤t->mm->mmap_sem)) as well as kernel lock (lock_kernel()) > is also taken, why both are required? Whats the purpose of each? > because the semaphore is really needed (by desi

why both kernel lock as well as semaphore

2000-12-23 Thread Sourav Sen
In many parts of the kernel, I have seen both semaphore is taken (eg. down(¤t->mm->mmap_sem)) as well as kernel lock (lock_kernel()) is also taken, why both are required? Whats the purpose of each? ~sourav - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of