Re: Bottom Handles/soft irqs/timer interrupts/SMP .....

From: kuznet@ms2.inr.ac.ru
Date: Wed Sep 27 2000 - 12:22:13 EST


Hello!

> 1st Question: It is guaranteed that the timer interrupt will go to
> all CPUs _soon_???

After it will tick on each cpu. It is not very soon. 8)

Blocking in __kmem_cache_shrink to wait for this looks like a bug.

> 2nd Question: Is there a sane way to queue an operation to be done in
> each specific CPU?

smp_call_function().

If you cannot complete the operation on hard irq, you raise some softirq
to complete it.

Alexey
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Sep 30 2000 - 21:00:20 EST