RE: smp_call_function() friends and irq/bottom_half context

2018-05-10 Thread Hoeun Ryu
.org > Subject: Re: smp_call_function() friends and irq/bottom_half context > > On Thu, May 10, 2018 at 01:58:29PM +0900, ��ȣ�� wrote: > > Hi, all. > > > > I'm reading kernel/smp.c code and I found comments on smp_call_function() > > and smp_call_function_[single/many]

Re: smp_call_function() friends and irq/bottom_half context

2018-05-10 Thread Peter Zijlstra
On Thu, May 10, 2018 at 01:58:29PM +0900, ��ȣ�� wrote: > 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. > >

smp_call_function() friends and irq/bottom_half context

2018-05-09 Thread 류호은
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