From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jens Axboe Subject: Re: [PATCH 06/10] block: Replace __get_cpu_var uses Date: Tue, 15 Oct 2013 12:22:40 -0600 Message-ID: <20131015182240.GA541@kernel.dk> References: <20131015175852.122827685@linux.com> <20131015180052.699083354@linux.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from merlin.infradead.org ([205.233.59.134]:35420 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932555Ab3JOSWp (ORCPT ); Tue, 15 Oct 2013 14:22:45 -0400 Content-Disposition: inline In-Reply-To: <20131015180052.699083354@linux.com> Sender: linux-arch-owner@vger.kernel.org List-ID: To: Christoph Lameter Cc: Tejun Heo , akpm@linuxfoundation.org, linux-arch@vger.kernel.org, Steven Rostedt , linux-kernel@vger.kernel.org, Ingo Molnar , Peter Zijlstra On Tue, Oct 15 2013, Christoph Lameter wrote: > __get_cpu_var() is used for multiple purposes in the kernel source. One of > them is address calculation via the form &__get_cpu_var(x). This calculates > the address for the instance of the percpu variable of the current processor > based on an offset. Thanks, applied to for-3.13/core -- Jens Axboe