Received: by 2002:ab2:6991:0:b0:1f2:fff1:ace7 with SMTP id v17csp130513lqo; Wed, 27 Mar 2024 08:42:46 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCU/z0aP62cIy2J3wNrykPBD1vZLsnu9IQODO8j92L9EVJXz+5YHe5g0nSHpSEU7lz8Lsk3LIvMol4pbAuIKwA+t5XBrhvBlyn45mQIX3Q== X-Google-Smtp-Source: AGHT+IGD47GKJW/uUqV72X/ZS1R3Zghbv6V46spf0OwV4lryK6VL/EKEb8op/vkyV3+KsxQyHb3k X-Received: by 2002:a50:aad1:0:b0:56b:83ff:e044 with SMTP id r17-20020a50aad1000000b0056b83ffe044mr132105edc.1.1711554163665; Wed, 27 Mar 2024 08:42:43 -0700 (PDT) Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id 11-20020a0564021f4b00b0056c284701fasi1968510edz.682.2024.03.27.08.42.43 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Mar 2024 08:42:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-121544-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@redhat.com header.s=mimecast20190719 header.b="R1/5Rk2f"; arc=fail (body hash mismatch); spf=pass (google.com: domain of linux-kernel+bounces-121544-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-121544-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 3DA081F30666 for ; Wed, 27 Mar 2024 15:42:43 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 721C912F595; Wed, 27 Mar 2024 15:39:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="R1/5Rk2f" Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3980B12EBED for ; Wed, 27 Mar 2024 15:39:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.133.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711553993; cv=none; b=p356bUdrb6ajF2hBJdClsMB5KsgUkyufwUrYsHKph4PGfNvdYDwGVVohEIsOOFO7QUSC1j8+x2XQsIkV2dqmX82VakmgbmW0dkx7tkg9NfAoc4vdYS/Ya264S3VOHCZcr0Go1QTyhH6xDQ8srYPCFiSZ8PE6fIRjoLTQTVACm0s= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711553993; c=relaxed/simple; bh=6qortPhecC5ypfseMZlrrYHN5HO4Cx2t/CZ2MeJ9vs4=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=IuoLHS5/gl/L54G0ImQ4H+Ctzfxfb92iw0HVus2MzWbkKZoc1r8aLW3GIuq5gPmFaR17fWLN4/ediBqLYMCiTMDgMjbK7pSImx0xsilrmA7VLZzbRkx8ld3iqsiWSCq7SWMnf3SgQONzC1sBKfCLL3colHUS1k2U22gPDMymnQU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=R1/5Rk2f; arc=none smtp.client-ip=170.10.133.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1711553990; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:autocrypt:autocrypt; bh=Ur8OskSppa9H+HBircWeiCnislf2Tqfr+PXSwh/fvIk=; b=R1/5Rk2fge9dnk5c8klM4WyOJdtt1tW3aFe9EYZ6mv5F0xA0JhLHWGeNbG7/tYaG70lyWN z5Wln2/15zRfSioE8T9Ky1dBOSOXF82VwRbBmLXXfKhO+Lni5wc/tC3zcYjrzEpighn005 S+ksV9DW+X9lTovYave6qIYVqDRoXq4= Received: from mail-wm1-f69.google.com (mail-wm1-f69.google.com [209.85.128.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-496-MAp6H2I9PwOq2bfnFgW0hg-1; Wed, 27 Mar 2024 11:39:48 -0400 X-MC-Unique: MAp6H2I9PwOq2bfnFgW0hg-1 Received: by mail-wm1-f69.google.com with SMTP id 5b1f17b1804b1-4147e733d20so23206935e9.1 for ; Wed, 27 Mar 2024 08:39:48 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711553987; x=1712158787; h=content-transfer-encoding:in-reply-to:organization:autocrypt:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=Ur8OskSppa9H+HBircWeiCnislf2Tqfr+PXSwh/fvIk=; b=oLuJDJzqg91ICEUj9CI6WLMWrfoJQAzqIRDFI/YDIdUMmXtqUqweOqjcuWfrrkNrs/ m2I3zybWjdYY9Id65Ts9ZHjTfrZkSVNVzJaqRQDjSridiEW7H2xejaPtBJIveY2vdlDi +eYN3l4r+OhvZDP3Gd6Uk6myuAn1rhXiOoFB9yYRNFRdAJEPncm4z7u4Ov96ZEzi/D0J V5KAOFFzgjLcHonKnnNX82q1+90MNX/PrAwdsjDY4SBmKDsjNlO50rozCngQi6aaR7kv r7bAWbn91zJLNVp2+/n5xPf5Dbqe8Rxqpkyz1F56mt+maWAVwl13dBUd+AwZFESlx1a9 Qfhg== X-Gm-Message-State: AOJu0Yxa3mHTdMcPqedw2mKySZIwipghNND5G1f3OG9G38dlNgrZQB2v K7bVzUDzEdsEMjBha585D0GnqoGQIjsw4fmpD+ozSQFe1ylYfkVefK/Y54g3Hwigg6Pa/l6XL5J Hr6t4kOnTQgdTjVMLFExByqdNLWMW3fc/r3FghXJgqMQsqE140Lx0/IlGb7s4bw== X-Received: by 2002:a05:600c:1d9a:b0:414:9141:1462 with SMTP id p26-20020a05600c1d9a00b0041491411462mr291183wms.28.1711553987257; Wed, 27 Mar 2024 08:39:47 -0700 (PDT) X-Received: by 2002:a05:600c:1d9a:b0:414:9141:1462 with SMTP id p26-20020a05600c1d9a00b0041491411462mr291147wms.28.1711553986691; Wed, 27 Mar 2024 08:39:46 -0700 (PDT) Received: from ?IPV6:2003:cb:c708:8a00:362b:7e34:a3bc:9ddf? (p200300cbc7088a00362b7e34a3bc9ddf.dip0.t-ipconnect.de. [2003:cb:c708:8a00:362b:7e34:a3bc:9ddf]) by smtp.gmail.com with ESMTPSA id v16-20020a5d5910000000b003418364032asm15207424wrd.112.2024.03.27.08.39.45 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 27 Mar 2024 08:39:46 -0700 (PDT) Message-ID: <3922460a-4d01-4ecb-b8c5-7c57fd46f3fd@redhat.com> Date: Wed, 27 Mar 2024 16:39:45 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH RFC 0/3] mm/gup: consistently call it GUP-fast Content-Language: en-US To: Peter Xu Cc: linux-kernel@vger.kernel.org, Andrew Morton , Mike Rapoport , Jason Gunthorpe , John Hubbard , linux-arm-kernel@lists.infradead.org, loongarch@lists.linux.dev, linux-mips@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-s390@vger.kernel.org, linux-sh@vger.kernel.org, linux-mm@kvack.org, linux-perf-users@vger.kernel.org, linux-fsdevel@vger.kernel.org, x86@kernel.org, Arnd Bergmann , Ryan Roberts References: <20240327130538.680256-1-david@redhat.com> From: David Hildenbrand Autocrypt: addr=david@redhat.com; keydata= xsFNBFXLn5EBEAC+zYvAFJxCBY9Tr1xZgcESmxVNI/0ffzE/ZQOiHJl6mGkmA1R7/uUpiCjJ dBrn+lhhOYjjNefFQou6478faXE6o2AhmebqT4KiQoUQFV4R7y1KMEKoSyy8hQaK1umALTdL QZLQMzNE74ap+GDK0wnacPQFpcG1AE9RMq3aeErY5tujekBS32jfC/7AnH7I0v1v1TbbK3Gp XNeiN4QroO+5qaSr0ID2sz5jtBLRb15RMre27E1ImpaIv2Jw8NJgW0k/D1RyKCwaTsgRdwuK Kx/Y91XuSBdz0uOyU/S8kM1+ag0wvsGlpBVxRR/xw/E8M7TEwuCZQArqqTCmkG6HGcXFT0V9 PXFNNgV5jXMQRwU0O/ztJIQqsE5LsUomE//bLwzj9IVsaQpKDqW6TAPjcdBDPLHvriq7kGjt WhVhdl0qEYB8lkBEU7V2Yb+SYhmhpDrti9Fq1EsmhiHSkxJcGREoMK/63r9WLZYI3+4W2rAc UucZa4OT27U5ZISjNg3Ev0rxU5UH2/pT4wJCfxwocmqaRr6UYmrtZmND89X0KigoFD/XSeVv jwBRNjPAubK9/k5NoRrYqztM9W6sJqrH8+UWZ1Idd/DdmogJ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lxyMwuc2U5Q7KtUNTdDe8T0uE+9b8BLMVQDDfJjqY0VVqSUwImzTDLX9S4g/8 kC4HRcclk8hpyhY2jKGluZO0awwTIMgVEzmTyBphDg/Gx7dZU1Xf8HFuE+UZ5UDHDTnwgv7E th6RC9+WrhDNspZ9fJjKWRbveQgUFCpe1sa77LAw+XFrKmBHXp9ZVIe90RMe2tRL06BGiRZr jPrnvUsUUsjRoRNJjKKA/REq+sAnhkNPPZ/NNMjaZ5b8Tovi8C0tmxiCHaQYqj7G2rgnT0kt WNyWQQ== Organization: Red Hat In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 27.03.24 16:21, Peter Xu wrote: > On Wed, Mar 27, 2024 at 02:05:35PM +0100, David Hildenbrand wrote: >> Some cleanups around function names, comments and the config option of >> "GUP-fast" -- GUP without "lock" safety belts on. >> >> With this cleanup it's easy to judge which functions are GUP-fast specific. >> We now consistently call it "GUP-fast", avoiding mixing it with "fast GUP", >> "lockless", or simply "gup" (which I always considered confusing in the >> ode). >> >> So the magic now happens in functions that contain "gup_fast", whereby >> gup_fast() is the entry point into that magic. Comments consistently >> reference either "GUP-fast" or "gup_fast()". >> >> Based on mm-unstable from today. I won't CC arch maintainers, but only >> arch mailing lists, to reduce noise. >> >> Tested on x86_64, cross compiled on a bunch of archs, whereby some of them >> don't properly even compile on mm-unstable anymore in my usual setup >> (alpha, arc, parisc64, sh) ... maybe the cross compilers are outdated, >> but there are no new ones around. Hm. > > I'm not sure what config you tried there; as I am doing some build tests > recently, I found turning off CONFIG_SAMPLES + CONFIG_GCC_PLUGINS could > avoid a lot of issues, I think it's due to libc missing. But maybe not the > case there. CCin Arnd; I use some of his compiler chains, others from Fedora directly. For example for alpha and arc, the Fedora gcc is "13.2.1". I compile quite some targets, usually with defconfig. From my compile script: # COMPILER NAME ARCH CROSS_COMPILE CONFIG(if different from defconfig) compile_gcc "alpha" "alpha" "alpha-linux-gnu-" compile_gcc "arc" "arc" "arc-linux-gnu-" compile_gcc "arm" "arm" "arm-linux-gnu-" "axm55xx_defconfig" compile_gcc "arm-nommu" "arm" "arm-linux-gnu-" "imxrt_defconfig" compile_gcc "arm64" "arm64" "aarch64-linux-gnu-" compile_gcc "csky" "csky" "../cross/gcc-13.2.0-nolibc/csky-linux/bin/csky-linux-" compile_gcc "loongarch" "loongarch" "../cross/gcc-13.2.0-nolibc/loongarch64-linux/bin/loongarch64-linux-" compile_gcc "m68k-nommu" "m68k" "m68k-linux-gnu-" "amcore_defconfig" compile_gcc "m68k-sun3" "m68k" "m68k-linux-gnu-" "sun3_defconfig" compile_gcc "m68k-coldfire" "m68k" "m68k-linux-gnu-" "m5475evb_defconfig" compile_gcc "m68k-virt" "m68k" "m68k-linux-gnu-" "virt_defconfig" compile_gcc "microblaze" "microblaze" "microblaze-linux-gnu-" compile_gcc "mips64" "mips" "mips64-linux-gnu-" "bigsur_defconfig" compile_gcc "mips32-xpa" "mips" "mips64-linux-gnu-" "maltaup_xpa_defconfig" compile_gcc "mips32-alchemy" "mips" "mips64-linux-gnu-" "gpr_defconfig" compile_gcc "mips32" "mips" "mips64-linux-gnu-" compile_gcc "nios2" "nios2" "nios2-linux-gnu-" "3c120_defconfig" compile_gcc "openrisc" "openrisc" "../cross/gcc-13.2.0-nolibc/or1k-linux/bin/or1k-linux-" "virt_defconfig" compile_gcc "parisc32" "parisc" "hppa-linux-gnu-" "generic-32bit_defconfig" compile_gcc "parisc64" "parisc" "hppa64-linux-gnu-" "generic-64bit_defconfig" compile_gcc "riscv32" "riscv" "riscv64-linux-gnu-" "32-bit.config" compile_gcc "riscv64" "riscv" "riscv64-linux-gnu-" "64-bit.config" compile_gcc "riscv64-nommu" "riscv" "riscv64-linux-gnu-" "nommu_virt_defconfig" compile_gcc "s390x" "s390" "s390x-linux-gnu-" compile_gcc "sh" "sh" "../cross/gcc-13.2.0-nolibc/sh4-linux/bin/sh4-linux-" compile_gcc "sparc32" "sparc" "../cross/gcc-13.2.0-nolibc/sparc-linux/bin/sparc-linux-" "sparc32_defconfig" compile_gcc "sparc64" "sparc" "../cross/gcc-13.2.0-nolibc/sparc64-linux/bin/sparc64-linux-" "sparc64_defconfig" compile_gcc "uml64" "um" "" "x86_64_defconfig" compile_gcc "x86" "x86" "" "i386_defconfig" compile_gcc "x86-pae" "x86" "" "i386_defconfig" compile_gcc "x86_64" "x86" "" compile_gcc "xtensa" "xtensa" "../cross/gcc-13.2.0-nolibc/xtensa-linux/bin/xtensa-linux-" "virt_defconfig" compile_gcc "powernv" "powerpc" "../cross/gcc-13.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux-" "powernv_defconfig" compile_gcc "pseries" "powerpc" "../cross/gcc-13.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux-" "pseries_defconfig" Some of them look like mm-unstable issue, For example, arm64 fails with CC arch/arm64/mm/extable.o In file included from ./include/linux/hugetlb.h:828, from security/commoncap.c:19: /arch/arm64/include/asm/hugetlb.h:25:34: error: redefinition of 'arch_clear_hugetlb_flags' 25 | #define arch_clear_hugetlb_flags arch_clear_hugetlb_flags | ^~~~~~~~~~~~~~~~~~~~~~~~ /include/linux/hugetlb.h:840:20: note: in expansion of macro 'arch_clear_hugetlb_flags' 840 | static inline void arch_clear_hugetlb_flags(struct folio *folio) { } | ^~~~~~~~~~~~~~~~~~~~~~~~ /arch/arm64/include/asm/hugetlb.h:21:20: note: previous definition of 'arch_clear_hugetlb_flags' with t ype 'void(struct folio *)' 21 | static inline void arch_clear_hugetlb_flags(struct folio *folio) | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./include/linux/hugetlb.h:828, from mm/filemap.c:37: /arch/arm64/include/asm/hugetlb.h:25:34: error: redefinition of 'arch_clear_hugetlb_flags' 25 | #define arch_clear_hugetlb_flags arch_clear_hugetlb_flags | ^~~~~~~~~~~~~~~~~~~~~~~~ /include/linux/hugetlb.h:840:20: note: in expansion of macro 'arch_clear_hugetlb_flags' 840 | static inline void arch_clear_hugetlb_flags(struct folio *folio) { } | ^~~~~~~~~~~~~~~~~~~~~~~~ /arch/arm64/include/asm/hugetlb.h:21:20: note: previous definition of 'arch_clear_hugetlb_flags' with type 'void(struct folio *)' 21 | static inline void arch_clear_hugetlb_flags(struct folio *folio) But there is other stuff like (arc): /arch/arc/include/asm/mmu-arcv2.h: In function 'mmu_setup_asid': /arch/arc/include/asm/mmu-arcv2.h:82:9: error: implicit declaration of function 'write_aux_reg' [-Werro r=implicit-function-declaration] 82 | write_aux_reg(ARC_REG_PID, asid | MMU_ENABLE); | ^~~~~~~~~~~~~ or (alpha) WARNING: modpost: "saved_config" [vmlinux] is COMMON symbol ERROR: modpost: "memcpy" [fs/reiserfs/reiserfs.ko] undefined! ERROR: modpost: "memcpy" [fs/nfs/nfs.ko] undefined! ERROR: modpost: "memcpy" [fs/nfs/nfsv3.ko] undefined! ERROR: modpost: "memcpy" [fs/nfsd/nfsd.ko] undefined! ERROR: modpost: "memcpy" [fs/lockd/lockd.ko] undefined! ERROR: modpost: "memcpy" [crypto/crypto.ko] undefined! ERROR: modpost: "memcpy" [crypto/crypto_algapi.ko] undefined! ERROR: modpost: "memcpy" [crypto/aead.ko] undefined! ERROR: modpost: "memcpy" [crypto/crypto_skcipher.ko] undefined! ERROR: modpost: "memcpy" [crypto/seqiv.ko] undefined! > > The series makes sense to me, the naming is confusing. Btw, thanks for > posting this as RFC. This definitely has a conflict with the other gup > series that I had; I'll post v4 of that shortly. Yes, I will rebase on top of that! -- Cheers, David / dhildenb