lkml.org 
[lkml]   [2012]   [Mar]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: [PATCH] Fix the race between smp_call_function and CPU booting
Date


> -----Original Message-----
> From: Peter Zijlstra [mailto:peterz@infradead.org]
> Sent: Monday, March 12, 2012 5:58 PM
> To: Liu, Chuansheng
> Cc: linux-kernel@vger.kernel.org; Yanmin Zhang; tglx@linutronix.de
> Subject: Re: [PATCH] Fix the race between smp_call_function and CPU booting
>
> On Mon, 2012-03-12 at 09:27 +0000, Liu, Chuansheng wrote:
> > The solution is just to send smp call to active cpus instead of online
> > cpus.
>
> BTW, that solution is broken because !active cpus can still be online and
> actually running stuff, so sending IPIs to them is perfectly fine and actually
> required.
>
Based on current code base, the IPI can be handled only after the cpu is active, before CPU is active,
Any sending IPI is meanless.


\
 
 \ /
  Last update: 2012-03-13 07:49    [W:0.161 / U:0.200 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site