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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 06510FF8868 for ; Tue, 28 Apr 2026 11:34:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=uj9zzxc4rc95KKoGAQQNoeSEhpsduDsRfO9d8jQ3Qf8=; b=15Iyzt/rrZPJ+F dHovbT/6S6faeEvggTQeO6ac35dOO2GMlSN0zg8UMrPLSoQHXJ2LWj/DWUyL35n5KQJMlJAMEqur4 SpBwd+Hhff1OuqQOPGggqs0MMcxZoD4z31AXR38Lv49MC47m2aIhwaFwdXJpmQwft58kKK6wHLTq0 CIJwZsjV3PVhkY+nAQqkoIJ/B2D4uP/iQzbs135KIoDX/6AmjkaAvyvYD84uGOqS/TfJID1uxOhGG jfMX5aMhm2O6JGfD4wA1fXJ6u/tL7UHJMwKAvwNiwCS4PMjaAAqeSoUiMK3/PqZU0JUM1WTp5HtDX aFFOlKxN8SbCFVRMjgCQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1wHgi0-00000001MJ7-1mzt; Tue, 28 Apr 2026 11:34:32 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1wHghy-00000001MIJ-1Wjz; Tue, 28 Apr 2026 11:34:30 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=In-Reply-To:Content-Transfer-Encoding: Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date: Sender:Reply-To:Content-ID:Content-Description; bh=r2VT2v38m41OJS5IqZzssjeRJKc2hKIY8tTqzqnq+aM=; b=QT9IIIwGe6DNgGoF6jyisPUUZt oKL5cIAJVgdw2SvbX4dIC2mOhSuSMc07KRAhLfO1xMfWvs6SW2OW9m81EsQXjAQieu0HWrkXarZC/ b+DLKacSIhUT2p4MiAtjfe7lG+0zdFUlJMxKIuY2SjH5WTNh4sBAbOXdtHwIHof5iq38FvTRbxNdf 2GBZfjGgzF6oEwlAvvUS7dgZ4QFcdWMuRxjMeOElta6+vaPTrKnJYEQisu3B+fJZFUj0A8iX1OjUQ +CcmpVov9rho9cKniQuBDFOus9yaKlc/H5U/grA4k4A59kpP4y5ICnapyiOfFXL+84xdSAm82n2Su xxJRv8hg==; Received: from gate.crashing.org ([63.228.1.57]) by desiato.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1wHghv-00000002tWr-0tbJ; Tue, 28 Apr 2026 11:34:29 +0000 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> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20260428_123427_700248_77766C55 X-CRM114-Status: GOOD ( 12.49 ) X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Sender: "linux-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org 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) w= rote: > >> 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.=A0 "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 _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv