From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 22792FF8868 for ; Tue, 28 Apr 2026 11:34:37 +0000 (UTC) Received: from boromir.ozlabs.org (localhost [127.0.0.1]) by lists.ozlabs.org (Postfix) with ESMTP id 4g4dd754JBz2xlt; Tue, 28 Apr 2026 21:34:35 +1000 (AEST) Authentication-Results: lists.ozlabs.org; arc=none smtp.remote-ip=63.228.1.57 ARC-Seal: i=1; a=rsa-sha256; d=lists.ozlabs.org; s=201707; t=1777376075; cv=none; b=RVuvQUSp8EFoeX97DMwYNGty7Y8hdNGcYlVXu7QgVgMH/HwhmyuiWt9YLqis6KXZoEiM5lpgpn5BO3PMg/P2cMY6lwT9HWm23Mmfx0dwVhUomKW0Aun+HpwWY9dTHamXB4WErtumGMP8T4KhSApERAfWFpNx8ZEEK8L9LaBLa/FY3MRxkhuLVAt6NXWSwuqJ/2Z5kCnWuHpBPaeGadcZcMxotOEh7lCVr4EFJGwN5U28DIjDfezbhBV08Mcog2mUOHPkVANgoRX8m0Nd8FrZlUZxWvs3wd4Ok76ddfaO+VK4mqD2yq7GQawmS1XO0ZRA9NalpZNrqdWzuDJDh0mRsA== ARC-Message-Signature: i=1; a=rsa-sha256; d=lists.ozlabs.org; s=201707; t=1777376075; c=relaxed/relaxed; bh=r2VT2v38m41OJS5IqZzssjeRJKc2hKIY8tTqzqnq+aM=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=lU5+CRAoIWPmexk1TUyNB3qMZphIECF4+PqWyTM2V9jcK4MW5Q5BNsOE1cB85ANc2w2HZs6F10mVOFdflqTdxG+Ey3h9AbqBQtMoYC/1wSaWZSjbu5YRRb5iHQAMAwJNZc8AWtyxwDZrX+dG0dhgCA7YOC/ndipUSz18cnHilQsOjxvmHaXZmKKEJLheP7Xki9TVzq1M5H+dCdCA/Puhy7HS6XLEtKgmBEdW1ioPAoDsw6M+buAZM03TuE9z8Tb6I6Fw8JD88F5+z6oiBJPTppQp88hzCzJr9Jq5Jgdqp2J2UbPiKH0SUcHxaUIFAFBpQjzZMxhlH6tShGFKRaFuSQ== ARC-Authentication-Results: i=1; lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=kernel.crashing.org; spf=pass (client-ip=63.228.1.57; helo=gate.crashing.org; envelope-from=segher@kernel.crashing.org; receiver=lists.ozlabs.org) smtp.mailfrom=kernel.crashing.org Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=kernel.crashing.org Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=kernel.crashing.org (client-ip=63.228.1.57; helo=gate.crashing.org; envelope-from=segher@kernel.crashing.org; receiver=lists.ozlabs.org) Received: from gate.crashing.org (gate.crashing.org [63.228.1.57]) by lists.ozlabs.org (Postfix) with ESMTP id 4g4dd62sZ4z2xYw; Tue, 28 Apr 2026 21:34:33 +1000 (AEST) Received: from gate.crashing.org (localhost [127.0.0.1]) by gate.crashing.org (8.18.1/8.18.1/Debian-2) with ESMTP id 63SBY0U31059939; Tue, 28 Apr 2026 06:34:00 -0500 Received: (from segher@localhost) by gate.crashing.org (8.18.1/8.18.1/Submit) id 63SBY0B51059937; Tue, 28 Apr 2026 06:34:00 -0500 X-Authentication-Warning: gate.crashing.org: segher set sender to segher@kernel.crashing.org using -f Date: Tue, 28 Apr 2026 06:34:00 -0500 From: Segher Boessenkool To: Andrew Cooper Cc: Yury Norov , "Christophe Leroy (CS GROUP)" , Andrew Morton , Linus Torvalds , David Laight , Thomas Gleixner , linux-alpha@vger.kernel.org, Yury Norov , linux-kernel@vger.kernel.org, linux-snps-arc@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-mips@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, kvm@vger.kernel.org, linux-riscv@lists.infradead.org, linux-s390@vger.kernel.org, sparclinux@vger.kernel.org, linux-um@lists.infradead.org, dmaengine@vger.kernel.org, linux-efi@vger.kernel.org, linux-fsi@lists.ozlabs.org, amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, intel-gfx@lists.freedesktop.org, linux-wpan@vger.kernel.org, netdev@vger.kernel.org, linux-wireless@vger.kernel.org, linux-spi@vger.kernel.org, linux-media@vger.kernel.org, linux-staging@lists.linux.dev, linux-serial@vger.kernel.org, linux-usb@vger.kernel.org, xen-devel@lists.xenproject.org, linux-fsdevel@vger.kernel.org, ocfs2-devel@lists.linux.dev, bpf@vger.kernel.org, kasan-dev@googlegroups.com, linux-mm@kvack.org, linux-x25@vger.kernel.org, rust-for-linux@vger.kernel.org, linux-sound@vger.kernel.org, sound-open-firmware@alsa-project.org, linux-csky@vger.kernel.org, linux-hexagon@vger.kernel.org, loongarch@lists.linux.dev, linux-m68k@vger.kernel.org, linux-openrisc@vger.kernel.org, linux-parisc@vger.kernel.org, linux-sh@vger.kernel.org, linux-arch@vger.kernel.org Subject: Re: [RFC PATCH v1 2/9] uaccess: Convert INLINE_COPY_{TO/FROM}_USER to kconfig and reduce ifdefery Message-ID: References: <9fe875d2f55af59c12708336c571a46038528678.1777306795.git.chleroy@kernel.org> X-Mailing-List: linuxppc-dev@lists.ozlabs.org List-Id: List-Help: List-Owner: List-Post: List-Archive: , List-Subscribe: , , List-Unsubscribe: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: On Mon, Apr 27, 2026 at 09:39:33PM +0100, Andrew Cooper wrote: > On 27/04/2026 7:39 pm, Yury Norov wrote: > > On Mon, Apr 27, 2026 at 07:13:43PM +0200, Christophe Leroy (CS GROUP) wrote: > >> Among the 21 architectures supported by the kernel, 16 define both > >> INLINE_COPY_TO_USER and INLINE_COPY_FROM_USER while the 5 other ones > >> don't define any of the two. > >> > >> To simplify and reduce risk of mistakes, convert them to a single > >> kconfig item named CONFIG_ARCH_WANTS_NOINLINE_COPY which will be > > We've got a special word for it: outline. Can you name it > > CONFIG_OUTLINE_USERCOPY, or similar? > > You can't swap the "in" for "out" like this.  "out of line" is the > opposite of "inline" in this context, while "outline" means something > different and unrelated. Yeah. Technically much more correct for it is inline vs. functional. Not that that term won't be misunderstood as well :-) Segher