lkml.org 
[lkml]   [1998]   [Jul]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
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 majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html

\
 
 \ /
  Last update: 2005-03-22 13:43    [W:0.463 / U:0.128 seconds]
©2003-2014 Jasper Spaans. Advertise on this site