[lkml]   [2000]   [Aug]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [patch] getting rid of the Big Kernel Spinlock, 2.4.0-test7

On Mon, 28 Aug 2000, Ingo Molnar wrote:

> during 2.3 we got rid of 99% of lock_kernel()s within the core kernel.
> IMHO the time has arrived to get rid of the big kernel spinlock forever -
> by changing it to a ordinary semaphore. Most lock_kernel() code paths are

Umm... I would not do that. Reason: right now BKL can be acquired while we
are holding a spinlock. It's a bad idea, but it's possible. With your
change it becomes deadly. Another reason: currently BKL can be taken in
the middle of operations on per-CPU data. It will not block, so nothing
will get that CPU while we are in lock_kernel(). Not true with your patch.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

 \ /
  Last update: 2005-03-22 12:38    [W:0.028 / U:1.316 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site