All of lore.kernel.org
 help / color / mirror / Atom feed
* [question] what's the purpose of smp_send_event_check_mask?
@ 2012-01-19  9:02 Kai Huang
  2012-01-19  9:14 ` Keir Fraser
  0 siblings, 1 reply; 6+ messages in thread
From: Kai Huang @ 2012-01-19  9:02 UTC (permalink / raw)
  To: Xen-devel

Hi,

I see cpu_raise_softirq calls smp_send_event_check_mask after setting
softirq bit for target CPU if target CPU is not the current CPU. I
thought smp_send_event_check_mask will send IPI to target CPU and then
trigger target CPU to run pending irq, but seems
smp_send_event_check_mask does nothing but jast ACK the IPI. So what's
the purpose of this function? Why do we need this function?

BTW, would someone gives me some knowledge when will the pending irqs
be triggered to run after setting up the pending bits? Seems normally
they are called asynchronously.

Thanks in advance!

-cody

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-01-19  9:52 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-19  9:02 [question] what's the purpose of smp_send_event_check_mask? Kai Huang
2012-01-19  9:14 ` Keir Fraser
2012-01-19  9:18   ` Kai Huang
2012-01-19  9:26   ` Kai Huang
2012-01-19  9:49     ` Keir Fraser
2012-01-19  9:52     ` Kai Huang

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.