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 [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/

Reply via email to