From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933443Ab3JOSWq (ORCPT ); Tue, 15 Oct 2013 14:22:46 -0400 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 Date: Tue, 15 Oct 2013 12:22:40 -0600 From: Jens Axboe 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 Subject: Re: [PATCH 06/10] block: Replace __get_cpu_var uses 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 Content-Disposition: inline In-Reply-To: <20131015180052.699083354@linux.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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