lkml.org 
[lkml]   [2011]   [Feb]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH RFC tip/core/rcu 11/11] rcu: move TREE_RCU from softirq to kthread
From
Date
On Wed, 2011-02-23 at 13:19 -0600, Christoph Lameter wrote:

> this_cpu_inc is already percpu atomic. On x86 it is an instruction that
> cannot be interrupted nor preempted while in progress.

On x86, yes, but is this true for all architectures? I guess the
fallback is implemented with local_irq_disable() which might be good
enough for some but not for NMI usage.


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