From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rusty Russell Subject: Re: linux-next: percpu tree build warning Date: Fri, 27 Nov 2009 08:46:02 +1030 Message-ID: <200911270846.02717.rusty@rustcorp.com.au> References: <20091125214219.f37935e8.sfr@canb.auug.org.au> <4B0D23A6.8040902@kernel.org> <20091125134058.GA9097@elte.hu> Mime-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Return-path: Received: from ozlabs.org ([203.10.76.45]:55314 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752884AbZKZWV1 (ORCPT ); Thu, 26 Nov 2009 17:21:27 -0500 In-Reply-To: <20091125134058.GA9097@elte.hu> Sender: linux-next-owner@vger.kernel.org List-ID: To: Ingo Molnar Cc: Tejun Heo , Stephen Rothwell , Fr??d??ric Weisbecker , Peter Zijlstra , Christoph Lameter , linux-next@vger.kernel.org, linux-kernel@vger.kernel.org On Thu, 26 Nov 2009 12:10:58 am Ingo Molnar wrote: > While a percpu variable is defined and used in completely different > ways: > > DEFINE_PER_CPU(unsigned long, dr7); > > and is used via: > > __get_cpu_var(dr7); [[Fixed -- RR]] The entire point of Tejun's per-cpu work is that &dr7 is now valid. A per-cpu pointer as if it were allocated by the dynamic per-cpu allocator. Your arguments are fine, but out-of-date. Rusty.