Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp160402rdh; Wed, 22 Nov 2023 23:26:26 -0800 (PST) X-Google-Smtp-Source: AGHT+IEH2z2/3tMA8cne96SfA8dGA1ZH2BcSC48IYDcn56GTaTIMB5U+quJ5nqC8rVbhOO7qSnq0 X-Received: by 2002:a05:6808:e88:b0:3a4:316c:8eeb with SMTP id k8-20020a0568080e8800b003a4316c8eebmr5304467oil.40.1700724385997; Wed, 22 Nov 2023 23:26:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700724385; cv=none; d=google.com; s=arc-20160816; b=YbxQ/9t+GBRU232WJp5B4c/AHJRUMKQbgiaQq/UlFKE2Y4oeVrHj/8b13/x7UxYZ6S HX+pYjNAOP1ysMKkNgwxlzW809O3ruCgtzwyYyw4R9lPTboIvJbvCIsOjgJPHra2sBdJ cOaW8mnw9pXmFNB8WUYLTjhU/jBW6J7JF7cpXGCPYHP3N/oPQUHBE7CplFL61oxsHcOv yIg5hbKyYnHZ5nEfpmC9X5BGf366Mjv9n+tjPCGw7ZTKaLTXiRiy5Q/W2+em37P0pUPM hiAPLJUoQQp6KH+K6K2Fp3rvkvb6p231cAp28LSi6KAXBIE5YHmW+676aBO6wBZbp2Tf JeTw== 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:dkim-signature; bh=ucNIMLdxUFVbCLp9HspFVrXSn5iGqL5LxFwAG/1uGD4=; fh=xlRG/ctwqmTme5HrOpixOFf1E0Ug1ecqWpxpTddbOOw=; b=SEgFi+paGb6j3t1hkhIYZ7GblkdebDxx0dpIgArkXmKQ1rQtr2+/Ls8G83Xh4d03MG 8eFmU9sRsbgyiqdtNGy66R2yURds8Pzph4BlEdHViu+qIIX93B9rTNPb+0sJn3Yh24az LttSLtlfCHSlZiU+Wu+2axeGGgXaqZ8viehdFUJO5BRFsKWRr1vwUunENlZdoS8mMlx2 ZU1sEvsERiEcEtlS2tFPbtArWZnyRZBbmkl9TxQoGWsV5Ao+09R8awPYCWgXd+Vngcaa cr+0b/ILEYkJI08rc6wOgo4EwjU376bXCZwxnSpDLUWRN/k9nbtc5Xzbh017iPMp2Zzf 47OA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=1D4CBpbx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id y32-20020a631820000000b005c1b582e79asi763402pgl.34.2023.11.22.23.26.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Nov 2023 23:26:25 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=1D4CBpbx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id D9EBF8075940; Wed, 22 Nov 2023 23:26:23 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231744AbjKWH0L (ORCPT + 99 others); Thu, 23 Nov 2023 02:26:11 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46144 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230267AbjKWH0J (ORCPT ); Thu, 23 Nov 2023 02:26:09 -0500 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1DEE8C1 for ; Wed, 22 Nov 2023 23:26:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=ucNIMLdxUFVbCLp9HspFVrXSn5iGqL5LxFwAG/1uGD4=; b=1D4CBpbxv4d4JTuoMceC6cwKDs 5DUJ6R7EohJ1LkucUf4xdCoIpt3HtGoW9BwAH5gcRCGgcYs2mVS3JZJjbwBIZXf6ooVUlMr4Z3EoS VrXnD8Sp6/2bj0iW5C7byD8EQToZezqi/rCfhNEJF6NJdTKAi8WQTQT0LMTORjRmKxHszexdeailm USOIIwdBL9MwC88RG7BI2rTEk39p74ILrXMku8ZBq4Xw8ygwf/kFaG9uJNpDeYfk6/75rsaJhkqxo IHYn9UlE0tQ89kRS4ux3sHAnKrqJB1pD4aBzCMT0hQH/r1/SwHzZFwLHHNdolYJo0R9L2UjwpepNQ U+hjNp3g==; Received: from hch by bombadil.infradead.org with local (Exim 4.96 #2 (Red Hat Linux)) id 1r646I-00422X-10; Thu, 23 Nov 2023 07:26:14 +0000 Date: Wed, 22 Nov 2023 23:26:14 -0800 From: Christoph Hellwig To: Peter Xu Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org, Mike Kravetz , "Kirill A . Shutemov" , Lorenzo Stoakes , Axel Rasmussen , Matthew Wilcox , John Hubbard , Mike Rapoport , Hugh Dickins , David Hildenbrand , Andrea Arcangeli , Rik van Riel , James Houghton , Yang Shi , Jason Gunthorpe , Vlastimil Babka , Andrew Morton Subject: Re: [PATCH RFC 08/12] mm/gup: Handle hugetlb for no_page_table() Message-ID: References: <20231116012908.392077-1-peterx@redhat.com> <20231116012908.392077-9-peterx@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231116012908.392077-9-peterx@redhat.com> X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, 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 howler.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Wed, 22 Nov 2023 23:26:24 -0800 (PST) > static struct page *no_page_table(struct vm_area_struct *vma, > - unsigned int flags) > + unsigned int flags, unsigned long address) More reformatting that makes the code less readable :( Oterwise looks good: Reviewed-by: Christoph Hellwig