Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp218726rdh; Thu, 23 Nov 2023 01:53:52 -0800 (PST) X-Google-Smtp-Source: AGHT+IFOc4nUDg6Lnz97S8+NcllI9eaiJ7WPl6WccRo+Lp5hBPFybVIL2Cd2vqdROldKsiI/svv8 X-Received: by 2002:a05:6820:1607:b0:581:d7b1:786f with SMTP id bb7-20020a056820160700b00581d7b1786fmr5764691oob.7.1700733232017; Thu, 23 Nov 2023 01:53:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700733231; cv=none; d=google.com; s=arc-20160816; b=PjBw3b5QgAqziP4LqumrcmdSP738yarJ8iBo4V76nqLq0cC/Fhb7t6oLJVq2H+B/PG WxoMPBLwR4QaP37f0vm9yLN5J4UTLuzhL/wj8xlOfxhzGvg4u/wu9gC5nmE0gpIiHGEk 2XlPhuEN9PHJK05fdnvbRDmoA6GdKBwnckZduppIUekgVqgJ3Besh7Qf3xA11GIiqmb0 56YOlfUdwroBsSqjdCtr1HDICddRINUNp33t0jGhO6h3pLdHe07dEESJ2587qC7kVWTY 5B7/YI0CQHaJPIWFvldJKvayMzMJk/bHYvkDmxEPae5aDmgf4uP1/8H+82/z8Sh+PB/G 5OuA== 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=ElpKkmNZwkQB0x53s438aBdXInP+5S64dJxKxUrzijY=; fh=+/qyvnnhHqEbxPwn/yxiTOUeWFuC/vfIuyjHj+w+91A=; b=jIOWgXWIfhmsLu8IPtzFXpRp8Ab/kEp13FQb+/GJtDc6Z4nlVXNoFLawix8eL3CT29 hOWI+D5WihAW5dviOpg3WGbuIYUcncWX//AN+tlmd/sXtKoK32pbjIcPrqGQznQ88wth 9vv5XXTgiBsQp3OBP7Z0S3ToabA+tUVtbBdVID7CE6796m3DKCfA3gU4bHeXtqzm7aY2 nL9zdBfEBew5PGE32JTVq2qQW/1eokfPb46RcniGtoYQuwPscXeECG4te55EW/1mYRnH b/bDJE52DxgX81E8X1qjbFY1rI5DArV4wkDjg/diG02kCynY1NCYC0omO0+9rgguZnKC CCcA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="kI/ltCMX"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id e28-20020a63545c000000b005bd3d377a54si993073pgm.123.2023.11.23.01.53.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Nov 2023 01:53:51 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="kI/ltCMX"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id 781378082CE0; Thu, 23 Nov 2023 01:53:44 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343646AbjKWJxS (ORCPT + 99 others); Thu, 23 Nov 2023 04:53:18 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59928 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233087AbjKWJxN (ORCPT ); Thu, 23 Nov 2023 04:53:13 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EC63CC1 for ; Thu, 23 Nov 2023 01:53:19 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7D63AC433C8; Thu, 23 Nov 2023 09:53:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1700733199; bh=vpNmPLyRtojWpj1u7BZ0pUMeZOaVneyGtaclUwQtGhM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=kI/ltCMXyxvzOM/NbQhlwrVBdCBGUlmL/N+aVb5kqz5WPlU1V1adn8tG/VvssuJyz +pWMA4sWZVtJc/Db7AdoLSkpJb7ZXrfsBNoQYLWv3xd/U75grqwwoLRO31cFE5Q6ZR TQETi0f9ubSu8PMMwpec0zokFtqW6nzKRvyJQx4HCKknPxD1Ou0gYBwxtEW11KEa4l lLqgHW1pMrIZoOW9rgMptbVcoidM57w86a5BWMteqF8NH2Bx6PXaBvU0ql0ijcOG8s dAOhicpX5TK29HlC5aTow2U5C2/R1aZk1QBS3kBEZ3uj/0EDfYQArg5Q9ZpLxu1/jK +JYYW2fe+3mXQ== Date: Thu, 23 Nov 2023 11:53:04 +0200 From: Mike Rapoport To: Christoph Hellwig Cc: Peter Xu , linux-kernel@vger.kernel.org, linux-mm@kvack.org, Mike Kravetz , "Kirill A . Shutemov" , Lorenzo Stoakes , Axel Rasmussen , Matthew Wilcox , John Hubbard , Hugh Dickins , David Hildenbrand , Andrea Arcangeli , Rik van Riel , James Houghton , Yang Shi , Jason Gunthorpe , Vlastimil Babka , Andrew Morton Subject: Re: [PATCH RFC 03/12] mm: Export HPAGE_PXD_* macros even if !THP Message-ID: <20231123095304.GD636165@kernel.org> References: <20231116012908.392077-1-peterx@redhat.com> <20231116012908.392077-4-peterx@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.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 (morse.vger.email [0.0.0.0]); Thu, 23 Nov 2023 01:53:44 -0800 (PST) On Wed, Nov 22, 2023 at 11:23:57PM -0800, Christoph Hellwig wrote: > No way to export macros :) > > I'd say define, but other might have better ideas. Make HPAGE_PXD_* macros visible even if !THP > Otherwise looks good: > > Reviewed-by: Christoph Hellwig > -- Sincerely yours, Mike.