[lkml]   [1998]   [Jul]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [patch] IDE problems on SMP, fixed? (fwd)

On Wed, 29 Jul 1998, Linus Torvalds wrote:

> [ Btw, I added code to the big kernel lock that checks that the lock is
> always aquired with interrupts enabled (locally or globally). I've run a
> kernel that would panic if interrupts were ever disabled upon trying to
> access the global kernel lock, and it's been up so far, under both heavy
> load and me trying to find some other way to crash it. [...]

the case i occasionally saw was i think the first lock_kernel() done in
non-boot CPUs. (this was fixed) But i think the original reason was
because lock_kernel() _itself_ used to disable interrupts (just like a
spin_lock_irq()). But now it's lean and mean.

-- mingo

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 13:43    [W:0.084 / U:1.888 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site