Message ID | 20211115080353.75322-1-peterx@redhat.com (mailing list archive) |
---|---|
State | New |
Headers | show
Return-Path: <SRS0=Pe7y=QC=kvack.org=owner-linux-mm@kernel.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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id DF081C433FE for <linux-mm@archiver.kernel.org>; Mon, 15 Nov 2021 08:04:21 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 8875C6321B for <linux-mm@archiver.kernel.org>; Mon, 15 Nov 2021 08:04:21 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 8875C6321B Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=kvack.org Received: by kanga.kvack.org (Postfix) id 23F676B007B; Mon, 15 Nov 2021 03:04:21 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 1C9856B0093; Mon, 15 Nov 2021 03:04:21 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 041D36B009A; Mon, 15 Nov 2021 03:04:20 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0077.hostedemail.com [216.40.44.77]) by kanga.kvack.org (Postfix) with ESMTP id E5DAF6B007B for <linux-mm@kvack.org>; Mon, 15 Nov 2021 03:04:20 -0500 (EST) Received: from smtpin31.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay05.hostedemail.com (Postfix) with ESMTP id 9D38D181AC212 for <linux-mm@kvack.org>; Mon, 15 Nov 2021 08:04:20 +0000 (UTC) X-FDA: 78810427080.31.08EB114 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by imf22.hostedemail.com (Postfix) with ESMTP id 2B0AB1904 for <linux-mm@kvack.org>; Mon, 15 Nov 2021 08:04:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1636963448; 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=c0+U3p8s/OABhw6SAh8P2t+DkAujdKbUA9hOXLSGPzE=; b=EUMl2NQvD2oPgN+XPS6ee2xRV/NwF74LngfCQais3aYcX2N18C+3pPlsgSqsvhXyOf3mPp 3swCYgcxi5des8ofQQwH0S3dnxL/JSb1x6wsjJcZMK/81qVucHHAFNBZeK71ugq3du2hES LyxXLoEZYaoEzTcdoAuQ66MXFA2d4uo= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1636963459; 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=c0+U3p8s/OABhw6SAh8P2t+DkAujdKbUA9hOXLSGPzE=; b=iuvsfrMxX7hisuWguA2D81PzhyaL2+qNpmrCmTNT5Hq9Ythj6tUACY3XUmNRpSZJRuEidv lD5Fp6VOz0v8w6XoHguj/Isy65m/dTBBOknU6Xcp0PMi9Mw80fPedbGy4/bNfz/gAqrXXM /nSItsI53lSZ2TC3AIaNvdphzJIzrc0= Received: from mail-pf1-f198.google.com (mail-pf1-f198.google.com [209.85.210.198]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-510-G3LAh0ygPR2GPqSaxvprug-1; Mon, 15 Nov 2021 03:04:07 -0500 X-MC-Unique: G3LAh0ygPR2GPqSaxvprug-1 Received: by mail-pf1-f198.google.com with SMTP id z13-20020a627e0d000000b004a2849e589aso4060694pfc.0 for <linux-mm@kvack.org>; Mon, 15 Nov 2021 00:04:07 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=c0+U3p8s/OABhw6SAh8P2t+DkAujdKbUA9hOXLSGPzE=; b=LGM1uVdTlBqoh8CvCqEbZzs8hV6cWOW+5wraNgTvtHG8CXCXsAjyeydxdXOQgmGayv yBMSV5HGyTxYHTOqALJ9DCvDBEK28FlBiAfv7NJpBG/n5/cvghZmGBpXgsNXiLPHxLbq wlPUFFhmd/YbR7Pk2nSaHEsLMQbihwIw7oHzH8iYRlqFf/X07YrEnc3LLYn8K+ZG4viT UcJexd66qN9CcvxKsig/TTugqmQuOPD5a6I3EYKnp5iD+XwSuNncIeN4YnVsbtgo1hG3 AeaE4a665yH4YUwmYQe9ReYCCKk7W3MQAt82ZiVmBwLs+oketv+TkqOqOYesOkoAEncy tlkg== X-Gm-Message-State: AOAM5303O2ul9vOVlFcHCBf2x5bBJhXGkIIbgqkaZAhYIJWV04DfQWJ5 B0AI9OeVKEvxmRq043Cw4VdQyy4N+w+PkH0DfYCPcD+1V7wkt5iWFLeDUIxLuWevKDpjqq232WI m5dqQvFW4+RdBdQ+aICsicVlfFAze3lqVaUOIknOwy6rvgBtrTZWTEshghNRv X-Received: by 2002:a17:902:b7cb:b0:141:b33a:9589 with SMTP id v11-20020a170902b7cb00b00141b33a9589mr33256297plz.9.1636963446109; Mon, 15 Nov 2021 00:04:06 -0800 (PST) X-Google-Smtp-Source: ABdhPJyTzcWj62pK1w0Vg8ojQeBIVMs39QWhoC3KUqbkNjXYhPKFdP/63f8P+4EzznoW07+f/8ytsw== X-Received: by 2002:a17:902:b7cb:b0:141:b33a:9589 with SMTP id v11-20020a170902b7cb00b00141b33a9589mr33256249plz.9.1636963445748; Mon, 15 Nov 2021 00:04:05 -0800 (PST) Received: from localhost.localdomain ([94.177.118.89]) by smtp.gmail.com with ESMTPSA id c9sm10948505pgq.58.2021.11.15.00.03.58 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 15 Nov 2021 00:04:05 -0800 (PST) From: Peter Xu <peterx@redhat.com> To: linux-mm@kvack.org, linux-kernel@vger.kernel.org Cc: Nadav Amit <nadav.amit@gmail.com>, peterx@redhat.com, Alistair Popple <apopple@nvidia.com>, Andrew Morton <akpm@linux-foundation.org>, Mike Kravetz <mike.kravetz@oracle.com>, Mike Rapoport <rppt@linux.vnet.ibm.com>, Matthew Wilcox <willy@infradead.org>, Jerome Glisse <jglisse@redhat.com>, Axel Rasmussen <axelrasmussen@google.com>, "Kirill A . Shutemov" <kirill@shutemov.name>, David Hildenbrand <david@redhat.com>, Andrea Arcangeli <aarcange@redhat.com>, Hugh Dickins <hughd@google.com> Subject: [PATCH v6 22/23] mm: Enable PTE markers by default Date: Mon, 15 Nov 2021 16:03:53 +0800 Message-Id: <20211115080353.75322-1-peterx@redhat.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20211115075522.73795-1-peterx@redhat.com> References: <20211115075522.73795-1-peterx@redhat.com> MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="US-ASCII" X-Rspamd-Server: rspam02 X-Rspamd-Queue-Id: 2B0AB1904 X-Stat-Signature: oyjxdfg8i8yky97k3t3ew7eqbcbzp3t8 Authentication-Results: imf22.hostedemail.com; dkim=pass header.d=redhat.com header.s=mimecast20190719 header.b=EUMl2NQv; dkim=pass header.d=redhat.com header.s=mimecast20190719 header.b=iuvsfrMx; spf=none (imf22.hostedemail.com: domain of peterx@redhat.com has no SPF policy when checking 170.10.133.124) smtp.mailfrom=peterx@redhat.com; dmarc=pass (policy=none) header.from=redhat.com X-HE-Tag: 1636963460-107588 Content-Transfer-Encoding: quoted-printable 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> |
Series |
userfaultfd-wp: Support shmem and hugetlbfs
|
expand
|
diff --git a/mm/Kconfig b/mm/Kconfig index f01c8e0afadf..401e4dff5f42 100644 --- a/mm/Kconfig +++ b/mm/Kconfig @@ -898,7 +898,7 @@ config SECRETMEM def_bool ARCH_HAS_SET_DIRECT_MAP && !EMBEDDED config PTE_MARKER - def_bool n + def_bool y bool "Marker PTEs support" help
Enable PTE markers by default. On x86_64 it means it'll auto-enable PTE_MARKER_UFFD_WP as well. Signed-off-by: Peter Xu <peterx@redhat.com> --- mm/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)