linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* smp_call_function() friends and irq/bottom_half context
@ 2018-05-10  4:58 류호은
  2018-05-10 10:16 ` Peter Zijlstra
  0 siblings, 1 reply; 3+ messages in thread
From: 류호은 @ 2018-05-10  4:58 UTC (permalink / raw)
  To: mingo, peterz, aaron.lu, adobriyan, frederic, ying.huang; +Cc: linux-kernel

Hi, all.

I'm reading kernel/smp.c code and I found comments on smp_call_function()
and smp_call_function_[single/many]
saying that these functions are cannot be called in interrupt disabled
context or irq/bottom half handlers.

I understand that there is a potential deadlock issue when caller CPU of
the functions is waiting for the completion of the callback of other CPUs.
But I was wondering if this is the case even when the caller CPU doesn't
wait for the completion (wait == 0).

Thank you.

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

end of thread, other threads:[~2018-05-11  6:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-10  4:58 smp_call_function() friends and irq/bottom_half context 류호은
2018-05-10 10:16 ` Peter Zijlstra
2018-05-11  6:24   ` Hoeun Ryu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).