On Fri, 6 Aug 1999, Andrea Arcangeli wrote:
>
> On 2.2.10 I need the big kernel lock to call flush_tlb_all().
> 
> But in 2.3.12 it seems to me that I can write code in _include/asm-i386_
> that calls flush_tlb_all() from interrupts since there's no special
> locking anymore on the i386 port.

It's still a bug if you do.

It may not lock up the macine due to any special deadlock issues, but
anything that tries to flush the TLB from an interrupt is basically
horribly broken in the first place (the one special case is the inter-CPU
tlb-flush call, but you shouldn't consider that an interrupt as much as a
kernel communication).

Interrupts must NEVER know about user space mm. As a result, any interrupt
that plays with the TLB is bad.

                Linus

-
Linux SMP list: FIRST see FAQ at http://www.irisa.fr/prive/mentre/smp-faq/
To Unsubscribe: send "unsubscribe linux-smp" to [EMAIL PROTECTED]

Reply via email to