Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp353267ybl; Mon, 2 Dec 2019 11:45:29 -0800 (PST) X-Google-Smtp-Source: APXvYqwhdD50om0pz3vCXYHLWud81052/kQhQY/D0/E/malJ+o0Don1qx8UhWgtao+xzNFDIr0CE X-Received: by 2002:a17:906:3718:: with SMTP id d24mr1058001ejc.14.1575315928934; Mon, 02 Dec 2019 11:45:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575315928; cv=none; d=google.com; s=arc-20160816; b=r9iMyw/d0mSqk7WqRnBr/JcN54pjbBJcdxtidVTzDs/FHjA7e7XmOq3xMeUvy2futa +Mt3m6PsUyma8fW+DOCf3vq8kILQCKNpRsmRYsMPRNVDQ4LYqcZl1oUV2Zb/bTDQ3xTC af1yKhVwMWk+NsmEGRvP59RSa9baXH1Rst1VqwBsMe+Z0SWkI3O+iEqTLKtz2fgs4rcb PB2uazoTBI5T/N0ZHAYLHbMmTlRI81l+XlXa1M1uV8ITJB6hiLSm2PWsmhwfYxJ2rPCV KocRzck51AgvzWvbuHGobj7+vDI3KLnCtgzXm50efvpFO6hVgXbLZjyn9d6wiveF92cI /IwQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date; bh=ugVuHfdh7L+4qO7u/3lUrML6rayWSeXlgkyykm5xbwU=; b=XfAIriCa4mHZNCrjPZYDtux/fPHCAxiEqPPsl5JQUZkLIyAY9GRteIHqS5hYe7lAOc bIu4jJiePuuafBW2fuU+N3Yk90sUW32HOJXWUROIfaJknK/5tMXft4YdQvvGchkJLUo1 ImBsZ4aAP8wzFZb9nXZ5r0N/A/f16JgXoEu4CRku4PpUep5f8CWosNpbktlHzSep3vda jgWioe+A4mLK/KEYz6faQ0TKWnsSXvN9y9Z9G0BPqpRAbAl9bgU+T6s4RpzVjiIaYclK O5ameFa9EokewmWmPZJHOKb4HKnGwX+siLSCXoms8I9PwTCM0bhIm/HnKMuObxQoj0In shOw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e9si294847ejx.67.2019.12.02.11.45.03; Mon, 02 Dec 2019 11:45:28 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728091AbfLBTmW (ORCPT + 99 others); Mon, 2 Dec 2019 14:42:22 -0500 Received: from gentwo.org ([3.19.106.255]:46878 "EHLO gentwo.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727927AbfLBTmW (ORCPT ); Mon, 2 Dec 2019 14:42:22 -0500 Received: by gentwo.org (Postfix, from userid 1002) id 6B0D53EEE1; Mon, 2 Dec 2019 19:42:21 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by gentwo.org (Postfix) with ESMTP id 69F1C3EED9; Mon, 2 Dec 2019 19:42:21 +0000 (UTC) Date: Mon, 2 Dec 2019 19:42:21 +0000 (UTC) From: Christopher Lameter X-X-Sender: cl@www.lameter.com To: Dennis Zhou cc: Luc Van Oostenryck , Ben Dooks , linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org, Tejun Heo , Nicholas Piggin , Arnd Bergmann Subject: Re: [PATCH] fix __percpu annotation in asm-generic In-Reply-To: <20191202190718.GA18019@dennisz-mbp> Message-ID: References: <20191126200619.63348-1-luc.vanoostenryck@gmail.com> <20191127175350.GA52308@dennisz-mbp.dhcp.thefacebook.com> <20191127225432.ttwxm3hxtg5utfaz@ltop.local> <20191130000037.zsendu5pk7p75xqf@ltop.local> <20191202190718.GA18019@dennisz-mbp> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 2 Dec 2019, Dennis Zhou wrote: > I think typeof_cast_kernel() or typeof_force_kernel() are reasonable > names. I kind of like the idea of cast/force over strip because we're > really still moving address spaces even if it is moving it back. I vote for typeof_cast_kernel()... percpu addresses are more like an alias.... or more precisely an offset to a base pointer (that already belongs to a certain "address space") and we use the notion of a distinctly different "address space" in the linker to categorize these references.