lkml.org 
[lkml]   [2011]   [Feb]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH RFC tip/core/rcu 11/11] rcu: move TREE_RCU from softirq to kthread
On Wed, Feb 23, 2011 at 01:24:34PM -0600, Christoph Lameter wrote:
> On Wed, 23 Feb 2011, Paul E. McKenney wrote:
>
> > Reschedules can happen in this case due to CPU hotplug events. :-(
>
> Lockout cpu hotplug instead of disabling interrupts? Systems that support
> cpu hotplug in hardware are rare and so the cpu hotplug locking may be
> become noop.

Good point!

However, the local_irq_save() is doing two things here: (1) blocking
CPU hotplug and (2) synchronizing with concurrent invocations of
invoke_rcu_cpu_kthread() from irq handlers.

Thanx, Paul


\
 
 \ /
  Last update: 2011-02-23 21:47    [W:0.096 / U:0.080 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site