Message ID | 20240321220802.679544-2-peterx@redhat.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org> 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 DCFD3CD11BF for <linux-arm-kernel@archiver.kernel.org>; Thu, 21 Mar 2024 22:08:37 +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:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=TKA/RW9ZsHe9fCFlFWoeINO0Af6Zzk9NhZnvT8F2PVo=; b=DWWGBLA4JGd2q6 SDvvU24ojxwAJGn6gpVTUGMmZlw6co4BER+Qs5PTy7EA8usryM8PsqeZw0dE+LGNkloaEoVl28HjI i2R0yrNyd3OKI1V/1vSFYfc2+K7NX/eG0SWqV8/ZMiNGtVmItMqQi0CRFnQ2OzzixO8HmTG1WfiSB v0OEAGTr0wX7Za6J7q3ppRRm1hB2fn1F5uPwnrZAkRqtw2wczWHvIocWJ2HTBlTTcK8XUnN2oXReb XOCbtGW9IXBaekafgyK41Jf7HQ1PrP9hwV3ZU2//ZBncH8yN9+nk/EyXGTMe0mpTmu8JBTu+T0sJA LWOtp2i04J+ftHDLTVXg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rnQaB-00000004qOK-2xyM; Thu, 21 Mar 2024 22:08:20 +0000 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rnQa4-00000004qG6-2YVK for linux-arm-kernel@lists.infradead.org; Thu, 21 Mar 2024 22:08:14 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1711058891; 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; bh=bzTkuuEUZ2f7C9YouF2ORWZwnTLSeJ8Y5AJhy7kkISQ=; b=DW2GBZ+3mT/sbWWYlNoLljJTzdjtvnClzSCV56bCG1ZpVgb7xgqNt5muGhpsuY8xi3vdrB DJ8MeXIz6AjAYBu6X4ZnO5xXNHVpOy1RRhG4mFbgQkBnWO39VVT+MyOeRtu+BzIV4g0opS zkY25T5r1U2z0EOZMLJu3D0HkUg4FCI= Received: from mail-qt1-f198.google.com (mail-qt1-f198.google.com [209.85.160.198]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-119-QT9PyuMbPD-F2EWoeQ-wbw-1; Thu, 21 Mar 2024 18:08:08 -0400 X-MC-Unique: QT9PyuMbPD-F2EWoeQ-wbw-1 Received: by mail-qt1-f198.google.com with SMTP id d75a77b69052e-430d45c66acso2667691cf.1 for <linux-arm-kernel@lists.infradead.org>; Thu, 21 Mar 2024 15:08:08 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711058888; x=1711663688; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=bzTkuuEUZ2f7C9YouF2ORWZwnTLSeJ8Y5AJhy7kkISQ=; b=XcT+qdsHVpX0A6uPtux5nMrUDIkk0cPagdGxIcMw+zBk5vNyTGdRIjMqROvhSEr89K /RhOujK7z7xrp4ClJFQauEFvolMpkGoiEcZ42KdNcV5CrPqMRxuTiA0b4xspHhqHgslf 7eJ96wHcwfx9ZRfa1w5n34QDk/k9dPkngzRHrpsPTBArXo17MUdu1qSMelkJoahKEPXO a6sDB/RSKmO5O1JcriQJFUeTPqBvjFcfjfaI968iwEXh/+Mb0bro4I0m2+ZNItsRfsYP pzLHwZdXe2p8P4GiFdRlFmeCwOVsKXIjRF1tVzvr/kp3dYUeGly1h10LZzH9rSw1wobz iMjw== X-Forwarded-Encrypted: i=1; AJvYcCXKRP8WSKBQqAqo2Q6KiY2YyiNN0wLOiko6uls7WNyiVcmvQ4i9TkEntmaUqbz3IcTEQMmPQr5zVQ72N0n6eNCt438Lh9Kp76MLK7HTqmWA7ZxWuvE= X-Gm-Message-State: AOJu0YwXW7igwJ7wumNYv3+aJkH9OIwCJzE3OMfSNt0g3xMkt7o2vxDO lKa1eLsbiqvZ64D4xbUI3mvwyt7xFFd6Ps7Y9Ad5VRwsKmnN1qugv3QW3qXokQ0FZovXbC10Pcr /MQicVfnY63gDzxDOkDlUjxeYqEvCToPCBemeXJF/Ya0yYZvJjHGviJxIUbVcm8v8k2QlEffA X-Received: by 2002:a0c:e58b:0:b0:691:87dd:f836 with SMTP id t11-20020a0ce58b000000b0069187ddf836mr428471qvm.5.1711058887526; Thu, 21 Mar 2024 15:08:07 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGbvsPPVNStAWHyU+pKNLEFDZ4j8yXA8+9tn+eCe8z7LjIA9ieYt5evzB7ZRQzGTHD3gHSYEw== X-Received: by 2002:a0c:e58b:0:b0:691:87dd:f836 with SMTP id t11-20020a0ce58b000000b0069187ddf836mr428451qvm.5.1711058887085; Thu, 21 Mar 2024 15:08:07 -0700 (PDT) Received: from x1n.redhat.com ([99.254.121.117]) by smtp.gmail.com with ESMTPSA id o6-20020a0562140e4600b00690baf5cde9sm351663qvc.118.2024.03.21.15.08.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Mar 2024 15:08:06 -0700 (PDT) From: peterx@redhat.com To: linux-mm@kvack.org, linux-kernel@vger.kernel.org Cc: linuxppc-dev@lists.ozlabs.org, Michael Ellerman <mpe@ellerman.id.au>, Christophe Leroy <christophe.leroy@csgroup.eu>, Matthew Wilcox <willy@infradead.org>, Rik van Riel <riel@surriel.com>, Lorenzo Stoakes <lstoakes@gmail.com>, Axel Rasmussen <axelrasmussen@google.com>, peterx@redhat.com, Yang Shi <shy828301@gmail.com>, John Hubbard <jhubbard@nvidia.com>, linux-arm-kernel@lists.infradead.org, "Kirill A . Shutemov" <kirill@shutemov.name>, Andrew Jones <andrew.jones@linux.dev>, Vlastimil Babka <vbabka@suse.cz>, Mike Rapoport <rppt@kernel.org>, Andrew Morton <akpm@linux-foundation.org>, Muchun Song <muchun.song@linux.dev>, Christoph Hellwig <hch@infradead.org>, linux-riscv@lists.infradead.org, James Houghton <jthoughton@google.com>, David Hildenbrand <david@redhat.com>, Jason Gunthorpe <jgg@nvidia.com>, Andrea Arcangeli <aarcange@redhat.com>, "Aneesh Kumar K . V" <aneesh.kumar@kernel.org>, Mike Kravetz <mike.kravetz@oracle.com> Subject: [PATCH v3 01/12] mm/Kconfig: CONFIG_PGTABLE_HAS_HUGE_LEAVES Date: Thu, 21 Mar 2024 18:07:51 -0400 Message-ID: <20240321220802.679544-2-peterx@redhat.com> X-Mailer: git-send-email 2.44.0 In-Reply-To: <20240321220802.679544-1-peterx@redhat.com> References: <20240321220802.679544-1-peterx@redhat.com> MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240321_150812_894628_676F2EB5 X-CRM114-Status: GOOD ( 10.91 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org |
Series |
mm/gup: Unify hugetlb, part 2
|
expand
|
diff --git a/mm/Kconfig b/mm/Kconfig index b924f4a5a3ef..497cdf4d8ebf 100644 --- a/mm/Kconfig +++ b/mm/Kconfig @@ -850,6 +850,12 @@ config READ_ONLY_THP_FOR_FS endif # TRANSPARENT_HUGEPAGE +# +# The architecture supports pgtable leaves that is larger than PAGE_SIZE +# +config PGTABLE_HAS_HUGE_LEAVES + def_bool TRANSPARENT_HUGEPAGE || HUGETLB_PAGE + # # UP and nommu archs use km based percpu allocator #