Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753532AbaFMRKk (ORCPT ); Fri, 13 Jun 2014 13:10:40 -0400 Received: from qmta06.emeryville.ca.mail.comcast.net ([76.96.30.56]:55764 "EHLO qmta06.emeryville.ca.mail.comcast.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751138AbaFMRKj (ORCPT ); Fri, 13 Jun 2014 13:10:39 -0400 Date: Fri, 13 Jun 2014 12:10:36 -0500 (CDT) From: Christoph Lameter To: Tejun Heo cc: linux-kernel@vger.kernel.org, Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" Subject: Re: [PATCH 02/12] percpu: introduce arch_raw_cpu_ptr() In-Reply-To: <1402590209-31610-3-git-send-email-tj@kernel.org> Message-ID: References: <1402590209-31610-1-git-send-email-tj@kernel.org> <1402590209-31610-3-git-send-email-tj@kernel.org> Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 12 Jun 2014, Tejun Heo wrote: > Currently, archs can override raw_cpu_ptr() directly; however, we > wanna build a layer of indirection in the generic part of percpu so > that we can implement generic features there without affecting archs. Not sure why one would do this. We already have this_cpu_ptr() (arch independant) and the lower level raw_cpu_ptr() which can be modified by the arch code. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/