Re: [patch] IDE problems on SMP, fixed? (fwd)

MOLNAR Ingo (mingo@chiara.csoma.elte.hu)
Thu, 30 Jul 1998 08:19:57 +0200 (CEST)


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