lkml.org 
[lkml]   [1997]   [May]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectSMP irq question

SMP questions.
In the following code you ack _after_ clearing the tlb.
A) Why? On all other interrupts we ack first.
B) How time critical is this event? On the one hand, I don't
want to hang Linux on the other processors while theRT system
runs, but on the other hand I don't want to pay the performance
cost during a rt process .
C) Am I correct in assuming that the critical material to flush,
fter bootup, will be in user space.


asmlinkage void smp_invalidate_interrupt(void)
{
if (test_and_clear_bit(smp_processor_id(), &smp_invalidate_needed))
local_flush_tlb();

ack_APIC_irq ();
}


\
 
 \ /
  Last update: 2005-03-22 13:39    [W:0.027 / U:0.488 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site