Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1237670rwd; Thu, 25 May 2023 09:44:55 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6YIPZsz3vF4USdPDyxb14ZOAVd/Q7B0zHtU+b+lLOeDE8mmPQ7PxjXolUKyNIWCNtf61PU X-Received: by 2002:a17:902:e848:b0:1ae:9468:3e22 with SMTP id t8-20020a170902e84800b001ae94683e22mr2800254plg.26.1685033095506; Thu, 25 May 2023 09:44:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685033095; cv=none; d=google.com; s=arc-20160816; b=bjzlzy24KnQ3t+qRi61C97/uumrqUVd16LZBeSzc0hYyGS4UQ8/1hIGhjyi2qlcQ98 VzMQ/QijJE+HMH4i7WqiBEwy6OlHBAUT0K5D9s3DlzF8mVyN19m66Rjq0z2fHomiRaZf afXUah6/Qlv9LbfOryuRz7tln2S9LXbqTEgLm2slZlY+LD19uSdmj+yjN3WSAODpBxE2 npB4OEyBOyT8FeqcGvbCglSNCPd3vvzdaNLJ+nlIaE0366j/tONzQrmlo6gCAYOPE/yO vPJ/LwLCCYik4u/udh4Owz6tDCcV6vmS4GErPg4Voq4y340FF8MfVlFsiD0JmNi7bNPg mEfQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=9Y770x/OZWLb14XzTfiDAumPX8w2xqzdeRmCIiEi0cQ=; b=ManlJ7DdIbZ4YRP5QilbvvqxH2vw94166Q4pw6GXt+pEhw6i6SUvBMuo6s6s3Bjih7 i06PidM7JXaV1WXJ+Dhmmn69U1negQ8ydh9V2KqEhCE3rZ9sxxTquMkEe8MCMboVOuWi SGACSGQE2KWIyrcXVpq1FsDqz383W+LHr/fLxlXdwlVIIBKDgZn3dpjziAYIrLlOu71E d1oRwibuZ6dV6FovheF4Do/2yJfaJ9yaPWNWapbCKNYOuAI2woBasGyn0X8V2mZ5Gxx8 rDmL3S2RZwFZ3S0Ed9su+8an1UXSpWDH9GKDryqQAUzNlUx9xtmnFaGfamB6yj1MflU9 GVfQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id jj5-20020a170903048500b001ae4026d82bsi1807929plb.12.2023.05.25.09.44.40; Thu, 25 May 2023 09:44:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233993AbjEYQh3 (ORCPT + 99 others); Thu, 25 May 2023 12:37:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43598 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233178AbjEYQh2 (ORCPT ); Thu, 25 May 2023 12:37:28 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A514F97; Thu, 25 May 2023 09:37:27 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 3297D61A2F; Thu, 25 May 2023 16:37:27 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id DD8E9C433EF; Thu, 25 May 2023 16:37:19 +0000 (UTC) Date: Thu, 25 May 2023 17:37:16 +0100 From: Catalin Marinas To: Hugh Dickins Cc: Andrew Morton , Mike Kravetz , Mike Rapoport , "Kirill A. Shutemov" , Matthew Wilcox , David Hildenbrand , Suren Baghdasaryan , Qi Zheng , Russell King , Will Deacon , Geert Uytterhoeven , Greg Ungerer , Michal Simek , Thomas Bogendoerfer , Helge Deller , John David Anglin , "Aneesh Kumar K.V" , Michael Ellerman , Alexandre Ghiti , Palmer Dabbelt , Heiko Carstens , Christian Borntraeger , Claudio Imbrenda , John Paul Adrian Glaubitz , "David S. Miller" , Chris Zankel , Max Filippov , x86@kernel.org, linux-arm-kernel@lists.infradead.org, linux-ia64@vger.kernel.org, linux-m68k@lists.linux-m68k.org, linux-mips@vger.kernel.org, linux-parisc@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-riscv@lists.infradead.org, linux-s390@vger.kernel.org, linux-sh@vger.kernel.org, sparclinux@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org Subject: Re: [PATCH 02/23] arm64: allow pte_offset_map() to fail Message-ID: References: <77a5d8c-406b-7068-4f17-23b7ac53bc83@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-6.7 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_HI,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, May 09, 2023 at 09:43:47PM -0700, Hugh Dickins wrote: > In rare transient cases, not yet made possible, pte_offset_map() and > pte_offset_map_lock() may not find a page table: handle appropriately. > > Signed-off-by: Hugh Dickins Acked-by: Catalin Marinas