From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932203Ab1BYVB6 (ORCPT ); Fri, 25 Feb 2011 16:01:58 -0500 Received: from hrndva-omtalb.mail.rr.com ([71.74.56.124]:34409 "EHLO hrndva-omtalb.mail.rr.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751610Ab1BYVB5 (ORCPT ); Fri, 25 Feb 2011 16:01:57 -0500 X-Authority-Analysis: v=1.1 cv=UQuFHoD2CPQ248x8AXEbKhr4z9AaDqApxmEl3BhfZ64= c=1 sm=0 a=9ezeExTAcuIA:10 a=Q9fys5e9bTEA:10 a=OPBmh+XkhLl+Enan7BmTLg==:17 a=n3e5NRa0ccN8VjfIpEQA:9 a=2D6_Pn014pOOv6-x6ing-gfxD7oA:4 a=PUjeQqilurYA:10 a=OPBmh+XkhLl+Enan7BmTLg==:117 X-Cloudmark-Score: 0 X-Originating-IP: 67.242.120.143 Subject: Re: [cpuops cmpxchg double V3 3/5] Generic support for this_cpu_cmpxchg_double From: Steven Rostedt To: Christoph Lameter Cc: Tejun Heo , akpm@linux-foundation.org, Pekka Enberg , linux-kernel@vger.kernel.org, Eric Dumazet , "H. Peter Anvin" , Mathieu Desnoyers In-Reply-To: References: <20110225173850.486326452@linux.com> <20110225174155.786331687@linux.com> <20110225202837.GC23161@home.goodmis.org> <1298667222.6376.23.camel@gandalf.stny.rr.com> Content-Type: text/plain; charset="ISO-8859-15" Date: Fri, 25 Feb 2011 16:01:54 -0500 Message-ID: <1298667714.6376.25.camel@gandalf.stny.rr.com> Mime-Version: 1.0 X-Mailer: Evolution 2.30.3 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 2011-02-25 at 14:58 -0600, Christoph Lameter wrote: > On Fri, 25 Feb 2011, Steven Rostedt wrote: > > > I was thinking that if these are per_cpu then they would be global and > > thus constant. But those are done at link time, which is too late. > > Well per_cpu data can also be dynamically allocated via alloc_percpu. > Which is the use case here. Good point, I forgot about that. Oh well, looks like runtime checking is all we can do. -- Steve