[lkml]   [1999]   [Jun]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [patch] fix for SMP stuck on IPI-TLB-flush [Re: 2.2.9-ac2 locks solid]
On Mon, 7 Jun 1999, Ingo Molnar wrote:

>ugh, some time ago i added a 'sti' to lock_kernel() for exactly this
>reason. The bug got reintroduced when we switched to a spin_lock()-ed
>kernel lock.

_Silenty_ forcing a sti() you was not only hiding a bug that may
cause an IPI deadlock,
but you was also pontentially opening a window for deadlocking in
a spinlock or to race with an irq handler.

>as i said in the previous mail, _dont_ do this Andrea. At least not in
>2.2. This way we might trigger CPU bugs never seen before.

The NMI should be the most robust and bug-free part of the CPU since it's
the way the hardware delivers urgent things to do to the CPU (it's been
almost unused for doing useful things in the PC so far of course).
But think if somebody would use
an Intel CPU for an embedded application where he want to use the NMI. Do
you suggest him to not use an Intel CPU because the NMI may trigger CPU
bugs never seen before? If so which CPU does have a relialable NMI

Andrea Arcangeli

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:52    [W:0.094 / U:11.316 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site