Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758570AbZJFX42 (ORCPT ); Tue, 6 Oct 2009 19:56:28 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1758472AbZJFX42 (ORCPT ); Tue, 6 Oct 2009 19:56:28 -0400 Received: from hera.kernel.org ([140.211.167.34]:32981 "EHLO hera.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753943AbZJFX41 (ORCPT ); Tue, 6 Oct 2009 19:56:27 -0400 Message-ID: <4ACBD8D7.7040700@kernel.org> Date: Wed, 07 Oct 2009 08:55:03 +0900 From: Tejun Heo User-Agent: Thunderbird 2.0.0.22 (X11/20090605) MIME-Version: 1.0 To: Rusty Russell CC: Christoph Lameter , Ingo Molnar , akpm@linux-foundation.org, linux-kernel@vger.kernel.org, David Howells , Eric Dumazet , Pekka Enberg Subject: Re: [this_cpu_xx V4 01/20] Introduce this_cpu_ptr() and generic this_cpu_* operations References: <20091001212521.123389189@gentwo.org> <20091002093453.GA21427@elte.hu> <200910062034.40864.rusty@rustcorp.com.au> In-Reply-To: <200910062034.40864.rusty@rustcorp.com.au> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.0 (hera.kernel.org [127.0.0.1]); Tue, 06 Oct 2009 23:55:06 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 632 Lines: 20 Hello, Rusty Russell wrote: > I still think that it's not symmetrical: get_cpu_var implies > get_cpu_ptr; there's no "this" in any Linux API until now. Yeah, the naming of percpu related stuff is a big mess. :-( Given that percpu variables aren't being used too widely at this time, cleaning up the API is an option. What do you think? Any good proposal on mind? Thanks. -- tejun -- 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/