Message ID | 20231219075538.414708-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 48B02C41535 for <linux-mm@archiver.kernel.org>; Tue, 19 Dec 2023 07:56:14 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id ABEE68D0001; Tue, 19 Dec 2023 02:56:13 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id A6EC28D0005; Tue, 19 Dec 2023 02:56:13 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 942DC8D0001; Tue, 19 Dec 2023 02:56:13 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0010.hostedemail.com [216.40.44.10]) by kanga.kvack.org (Postfix) with ESMTP id 82A238D0001 for <linux-mm@kvack.org>; Tue, 19 Dec 2023 02:56:13 -0500 (EST) Received: from smtpin23.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay09.hostedemail.com (Postfix) with ESMTP id 5ECAF80886 for <linux-mm@kvack.org>; Tue, 19 Dec 2023 07:56:13 +0000 (UTC) X-FDA: 81582809826.23.DF3AD1A Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by imf19.hostedemail.com (Postfix) with ESMTP id A215C1A0019 for <linux-mm@kvack.org>; Tue, 19 Dec 2023 07:56:11 +0000 (UTC) Authentication-Results: imf19.hostedemail.com; dkim=pass header.d=redhat.com header.s=mimecast20190719 header.b="ZH/TYxlV"; dmarc=pass (policy=none) header.from=redhat.com; spf=pass (imf19.hostedemail.com: domain of peterx@redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=peterx@redhat.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1702972571; 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-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=NRvgvssN6KVSq9rYZ03PlMu3BaOgDfLGQsqd5RQuPrM=; b=NzHxQ215gvr04vBXUKI93Yr5QXQaJmShPk8hnz5eB6ISYhjGdxIgr2j8qLn7EhGhbhmJTD 09T8CUC5Rtd5Uk0JO9ZTgp/mQJrnUvRXvkxbrpdA3KgN/wxJq30yOLcK6yOoUWcuudxUly mYFk+GDrBRLSuFKCMbDM2cL+oyawcrI= ARC-Authentication-Results: i=1; imf19.hostedemail.com; dkim=pass header.d=redhat.com header.s=mimecast20190719 header.b="ZH/TYxlV"; dmarc=pass (policy=none) header.from=redhat.com; spf=pass (imf19.hostedemail.com: domain of peterx@redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=peterx@redhat.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1702972571; a=rsa-sha256; cv=none; b=TqtIOXyW5Igaiylw/KCSrjpqknIFFaId6FIlzV9uINYs9rAOmDYhynpZLBm8CQfYXehFtY Z3Z7NrCp7F39S/BTQsY/IAUUD1hYf+26Qhmh1pfwN1wiNLmnLqv2aQEmu3n+9jiJ/5EDGw tk10LCRQ0O27y5Vk0W1fv4rpdJQY0AY= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1702972571; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=NRvgvssN6KVSq9rYZ03PlMu3BaOgDfLGQsqd5RQuPrM=; b=ZH/TYxlVsmqTdDGi6plT19jBLA+1MsMU3ef9x/HOKFG+TM4anrf6CUSMkXVphyoHk3zm55 EAN76QzRWurblu0B0U5JGrDaFHX9s2xJHdBCBk1po8DK47xWhqNlBUHD3rlTm1RW+4f43L CCHCsFcub5+2A8d6i0v4QIhVLeJYaD4= Received: from mimecast-mx02.redhat.com (mx-ext.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-672-dipUc7OWPBCmQTMSma-p8A-1; Tue, 19 Dec 2023 02:56:06 -0500 X-MC-Unique: dipUc7OWPBCmQTMSma-p8A-1 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id E23A729AA38D; Tue, 19 Dec 2023 07:56:04 +0000 (UTC) Received: from x1n.redhat.com (unknown [10.72.116.117]) by smtp.corp.redhat.com (Postfix) with ESMTP id B4B6D2026D66; Tue, 19 Dec 2023 07:55:52 +0000 (UTC) From: peterx@redhat.com To: linux-kernel@vger.kernel.org, linux-mm@kvack.org Cc: Matthew Wilcox <willy@infradead.org>, Christophe Leroy <christophe.leroy@csgroup.eu>, Lorenzo Stoakes <lstoakes@gmail.com>, David Hildenbrand <david@redhat.com>, Vlastimil Babka <vbabka@suse.cz>, Mike Kravetz <mike.kravetz@oracle.com>, Mike Rapoport <rppt@kernel.org>, Christoph Hellwig <hch@infradead.org>, John Hubbard <jhubbard@nvidia.com>, Andrew Jones <andrew.jones@linux.dev>, linux-arm-kernel@lists.infradead.org, Michael Ellerman <mpe@ellerman.id.au>, "Kirill A . Shutemov" <kirill@shutemov.name>, linuxppc-dev@lists.ozlabs.org, Rik van Riel <riel@surriel.com>, linux-riscv@lists.infradead.org, Yang Shi <shy828301@gmail.com>, James Houghton <jthoughton@google.com>, "Aneesh Kumar K . V" <aneesh.kumar@kernel.org>, Andrew Morton <akpm@linux-foundation.org>, Jason Gunthorpe <jgg@nvidia.com>, Andrea Arcangeli <aarcange@redhat.com>, peterx@redhat.com, Axel Rasmussen <axelrasmussen@google.com> Subject: [PATCH 01/13] mm/Kconfig: CONFIG_PGTABLE_HAS_HUGE_LEAVES Date: Tue, 19 Dec 2023 15:55:26 +0800 Message-ID: <20231219075538.414708-2-peterx@redhat.com> In-Reply-To: <20231219075538.414708-1-peterx@redhat.com> References: <20231219075538.414708-1-peterx@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.4 X-Rspam-User: X-Stat-Signature: xzx1acnnimop86f4ty8br3ezk4bzdkos X-Rspamd-Server: rspam07 X-Rspamd-Queue-Id: A215C1A0019 X-HE-Tag: 1702972571-182557 X-HE-Meta: U2FsdGVkX18HGjoZMDFgIuDOvu++7EXfbJqbPpLCUukKuYj0ZzjUuFhXIY5i14w/c+xk3xY4PllBjLW8XDI9HfNomGzaw/zrF5vOl+iFjJ+fXObjT8MtG49cEkMNzKlEHIixACGz8vnb7G9FnyQP1IlXUA9QQQG398icJGExGca5FkS61ZKbgsWBe15298ohEERus+w7E5nRAZnVUPDZvub9XQY6NjeXO4YMBJDrkfDCxoaKnmEUCuiR95SqD38p7uFthrnmsbg5U3w/CiVRsZRPZvTawwCu+ywu6jzfpScK3UP+z3a/Mqlo6xnIoXEZp+uW5YmsdCn173l+TZEQQ3Uvi2da2GZ5NDTQEFRIn+1js2/BZQUcLmtu4MyIU6kfNWXBy3HkSQL49zFiPVsnWMyUhJ5YI4sfqWWq1352UL33lG9PAm0fe/Q1jbFPE5GFe7Kh2Nlg3dC3KfTeCW/y0VUZy7vZv1GxNJH6yBwwBSnc7D3Ki/gi5CNJlCjSYaqz2UFs6uiMSLUAhHMeOuzgDdIPJDeqPueey9zGWx2ohVm2Wmm8zOY2AWWdCVBX43USseTwzNEsMiRfNinffdL1eoWHZyy7JsT73axlnpPcb0vTnBT8Dn12eilQkncqti549zka2rVR4jsbQBKRXfHoTiagt7CGIO4JPQa0zx89IBi2x3JL+44WTJis7d296qtS1AkTMCgGiOkh/qjJDurBa5/+fYMbdfwD4jEUdMxlhiJSy5/e5WlqCD0ZQBeJ6P1UHF9aVuuSlv0wuWs7RTKm/tSgebXnPNAu/aHpHzHJdxV6G23GGXi74MWfz4+5OOC9p3KF/7YgXYPAPqeoBu8FNlY44WMF/DeFEKtpMdUvfV7Mtyzb9bZnLcv2bqCg9dXCAnkCF7CwVhRZBpc1D0vwm64uerrTD94vFRGOhmgrBnXTxrHYl2fJ4+/8vSmlM5ja 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 8f8b02e9c136..4ca97d959323 100644 --- a/mm/Kconfig +++ b/mm/Kconfig @@ -904,6 +904,9 @@ config READ_ONLY_THP_FOR_FS endif # TRANSPARENT_HUGEPAGE +config PGTABLE_HAS_HUGE_LEAVES + def_bool TRANSPARENT_HUGEPAGE || HUGETLB_PAGE + # # UP and nommu archs use km based percpu allocator #