Message ID | 20240321220802.679544-2-peterx@redhat.com (mailing list archive) |
---|---|
State | New |
Headers | show
Return-Path: <owner-linux-mm@kvack.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 kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4406BC54E58 for <linux-mm@archiver.kernel.org>; Thu, 21 Mar 2024 22:08:13 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id BE9F36B0093; Thu, 21 Mar 2024 18:08:12 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id B990D6B0095; Thu, 21 Mar 2024 18:08:12 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id A60DE6B0096; Thu, 21 Mar 2024 18:08:12 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0011.hostedemail.com [216.40.44.11]) by kanga.kvack.org (Postfix) with ESMTP id 8C8C96B0093 for <linux-mm@kvack.org>; Thu, 21 Mar 2024 18:08:12 -0400 (EDT) Received: from smtpin06.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay03.hostedemail.com (Postfix) with ESMTP id 661DFA08B8 for <linux-mm@kvack.org>; Thu, 21 Mar 2024 22:08:12 +0000 (UTC) X-FDA: 81922435224.06.E9779CF Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by imf11.hostedemail.com (Postfix) with ESMTP id 5A07740006 for <linux-mm@kvack.org>; Thu, 21 Mar 2024 22:08:10 +0000 (UTC) Authentication-Results: imf11.hostedemail.com; dkim=pass header.d=redhat.com header.s=mimecast20190719 header.b=Z1QOr5VH; spf=pass (imf11.hostedemail.com: domain of peterx@redhat.com designates 170.10.129.124 as permitted sender) smtp.mailfrom=peterx@redhat.com; dmarc=pass (policy=none) header.from=redhat.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1711058890; h=from:from:sender: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:dkim-signature; bh=bzTkuuEUZ2f7C9YouF2ORWZwnTLSeJ8Y5AJhy7kkISQ=; b=V2BWsnN+GlzAHeSrq4Esyvq5lLCHMghxKm7yCuVpx/E5UBFCaRkDrI70n1G3NuSyAA6sw3 K3b8oP6PgL3U3cV4hFfw71WArdpaDbihJDEtwyS+uZ73JKIAvhBvlTN1fzbWkiQXdjtglm Zkj6+EzF18ZLZy9uYWH32bEqd+Ykv6o= ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1711058890; a=rsa-sha256; cv=none; b=fo8AwbnwGm9YZ5n9UpVu7bAGH5L/GDH/ykrD5YHVrPSxs3evzkm3pkRrueyt3/g3qouzr4 14nlRTzszFrDlRAFcyYFQWGEXZ2Pb/dQsBcoOzAOtGqQP+brv3ZyIzs2SFuWhWmlvNzAoX Wm4RDT/buI1zpokWx8qfxbVFsAVdPgo= ARC-Authentication-Results: i=1; imf11.hostedemail.com; dkim=pass header.d=redhat.com header.s=mimecast20190719 header.b=Z1QOr5VH; spf=pass (imf11.hostedemail.com: domain of peterx@redhat.com designates 170.10.129.124 as permitted sender) smtp.mailfrom=peterx@redhat.com; dmarc=pass (policy=none) header.from=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1711058889; 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=Z1QOr5VHwlnXVmwfQMhze8UZ86wYuDJEJRmDmm7Gd/MNIoSjQjosnXLK1+/tX4cfMTLOkW /grErCiT6duLwQtG6YQabPQH0HPqGZbdIpPnBmmZOlDv3FbocaTE0IBk1AYiZw6fGACvtE V0tbvz6WS6cNd0AC3nUqdbM63IySHWk= Received: from mail-qk1-f197.google.com (mail-qk1-f197.google.com [209.85.222.197]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-361-1VfRjLSvNC6A0QNSwiJ61g-1; Thu, 21 Mar 2024 18:08:08 -0400 X-MC-Unique: 1VfRjLSvNC6A0QNSwiJ61g-1 Received: by mail-qk1-f197.google.com with SMTP id af79cd13be357-78a0e8a60f8so22223085a.0 for <linux-mm@kvack.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=1711058887; x=1711663687; 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=sBRqKP95OqxYurKarDg9aQE+o8vFuUGUwnCprfNuo8tlnr4a9CA6VInXg8Oq806tBk IFk12HmekRBYj0CHpv+NSK3ltotZOqR8Q5/hl3nbgzqrbUi5B1M5tygIGQksv43j0jsf PhhN8t5iyeERiR9eEBtaz1IugJEOIuLdF2ZHm10z+klKcMhSFK5NPMbfD0TCeEwO2eoG CQo+NfWeJf+QnVOd3pB1XiCbjvHKToObCqYFTEckGtDLJV1K3qWoCwTdTRdgkupIXp4G P/unBcH+l9fSlKOAj0PY9zHLubFJyuWlmWW/eHmtoHyOPktEie0foAuwRkLSJFJMWyAn jP9A== X-Gm-Message-State: AOJu0Yzme3lOgYnUIRgR/yNmplVvd/Zk/MZPJ60JveE+Zv1KOg0L7OVV qZ0+jUoHhbxiTiGwA9Oy85f0lLvplUglmMJEHfbutF1AMLOGVug0xlLrs2uWJuRd+ovyG/tw9Y9 3/FsiuOxdojMAQaF0aNrx4kBk2W6viNe7aag8BSiA1Mb3dAh2KUFBLe20Vv9HT6FBP3mNdtGOZA Lh0I+jUR8tj0m3KtzyuOoKdGIvhs4eZw== X-Received: by 2002:a0c:e58b:0:b0:691:87dd:f836 with SMTP id t11-20020a0ce58b000000b0069187ddf836mr428497qvm.5.1711058887593; 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 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII"; x-default=true X-Rspamd-Queue-Id: 5A07740006 X-Rspam-User: X-Stat-Signature: zwkh1tkw5sacw34t7utrfmrq3o9x1mqz X-Rspamd-Server: rspam03 X-HE-Tag: 1711058890-52099 X-HE-Meta: U2FsdGVkX18Thd2KDcos1sehIZWPWaRF5Ka8WigNalsWozgg3LevTFL+BFuUV6oZnruG9Qt/Kwe4v6Iu4zS48eMdkHZqiwUuT/06O8SyIwHO7UvIMLTYIo6KPeJ8jyZXGT4EEfTa4QT/BxOZJoGxEwgE9PnICxfKTBkWfVcYYefQCAttgahQCrq41TwyVF0UGrPFRu5iBAtY7Cf3T8JAnQ7IsPmTLe2urrLs1kAguxh86JYyTpoGqJPT22hwHmv+RK1jLqseylEXfq6ea7BaBC4Z+FgfKVB3TeZjfXLZURmMgPUOvA8PyDNg67fc889z4XOfGgya7jck8CJ20RN29anPTKTJPsD52msdlfmT0ZOSSzQbJRPFnYoIM+DjeBrQkze83Cnkf6a9b+hGIJS315cm2dXVID6MzjWzSRjZKUhiDDZ/qEiK8MAH0abII2JHwTvwv95TCAMEG8KT2eCsZPvFcASeOAcA0whJkjjKpOoLW7EQ1jXWNtsRAsNLROqs3LYjnhHCN6xfDR130o6x6oihehjQNWQi42SNtGLD7eXUnUI+JLnn1dqifRjFBdBB3jt/bs7UxCJegCXp+5iOy6iZhSuVlg8LhkMFJge41mntC1Lmk/6g+7nuoCzKzr/nRigjH07GF1WAfB7NbNdzcRIqBzweIhHwWsxM2ikzdix8gxPrltDsvVRG+45E180YcRu2SRNeH/TCmkRK20GKudUtoVxIbj7mEQ2LtNTPJ9Bd33eNBY6uxGzVq1qjqwFieYLAo3pmhvdoCu2uUVZb/R7+GvPqW4dnryoboyZ9ez9dR7gvFANspJUlcoLz7BD85vRTL9NaUwktJ6gMm81VKNxAfrtU/b5BlxnQwCMViU8TQRUpgidDt5I1FrE39Rg6IzXVxy7vyUGqBEhSGZ2Eii+cbk6zMvYjEifWu0HpkZT3jS3PO/8cVDJ3TIOcGdvkaxczCIUyPUaQvLNM7f1 ABqndZmf XzkbczGXJkcNNtSmPK9o2/nppJ3WPjPhdDkAKUmvR1qNTIMQztinAiqETKAh0L3xpOQHuOEbHrfe/RQESUE8+4N/jv24RWAi2sFUnq86VusnE29Io7VRG1ZTz14YZ3lEr+54tcMCEoP2thdJULeWU/90riEK2tILwkrJwgGRUizEfTR6i6XCPFSE0u6T8HMG5Ym7jb8e2c2+4hqQOhb0IbvZJcsW/0EmBKlHRwzZLBaVJKfMbDmrnii7LvlfXjf5SSNBNYfctzji5sr9R/zVWypS/JSchOnRi489FZw1qOFPlIpk24DMjFn2VHevRNZOBnG3rNVHmUKTrUcEvNRR2zFA7ejHyBP9+pM+aeWQ1bDMVn4J6vwAlapc9ZzqLKVkk/Jfrd/Fjk0gh4ghPq6Yjp45NX0Sq+/EzT1UXs3UnqWm9xoTQbvXQNb0yVQ9VSLMxpp3Cd1PjGcyoFoQ= X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: <linux-mm.kvack.org> List-Subscribe: <mailto:majordomo@kvack.org> List-Unsubscribe: <mailto:majordomo@kvack.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 #