From patchwork Fri Mar 4 05:17:07 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Xu X-Patchwork-Id: 12768477 Return-Path: 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 02A66C433EF for ; Fri, 4 Mar 2022 05:20:22 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 892C78D0007; Fri, 4 Mar 2022 00:20:22 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 841D18D0001; Fri, 4 Mar 2022 00:20:22 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 7579D8D0007; Fri, 4 Mar 2022 00:20:22 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (relay.hostedemail.com [64.99.140.28]) by kanga.kvack.org (Postfix) with ESMTP id 68FD18D0001 for ; Fri, 4 Mar 2022 00:20:22 -0500 (EST) Received: from smtpin12.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay07.hostedemail.com (Postfix) with ESMTP id 4AD70208B4 for ; Fri, 4 Mar 2022 05:20:22 +0000 (UTC) X-FDA: 79205553084.12.9C0A826 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by imf25.hostedemail.com (Postfix) with ESMTP id D2245A0002 for ; Fri, 4 Mar 2022 05:20:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1646371221; 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=TsbV9aZwys4B5ATDrVcah3NNWPIloXpy6hGN6YFlyJ0=; b=BZmJ5Gz2a2wPLwAYt6nf2L9AkvA3twlrbTH60wqJtIBNhlN1kaj7xTtvNnn18pGLzWZ5xK 1E1XaKwd43+ZwtkUGKazdAv/GMXQVJ1SabxGbOjgOpsrGIee0EGy41cnj/x7hw9ylNRz1z HOQzjLjTdHy7YcDNg4yDnlZFrG1gtV4= Received: from mail-pf1-f199.google.com (mail-pf1-f199.google.com [209.85.210.199]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-154-ZMfuUTYANU6mpfaMgLVVXw-1; Fri, 04 Mar 2022 00:20:20 -0500 X-MC-Unique: ZMfuUTYANU6mpfaMgLVVXw-1 Received: by mail-pf1-f199.google.com with SMTP id s128-20020a627786000000b004f65e8a30e4so3552304pfc.12 for ; Thu, 03 Mar 2022 21:20:20 -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=TsbV9aZwys4B5ATDrVcah3NNWPIloXpy6hGN6YFlyJ0=; b=uAtUlo7St3IhSZMyFBY+Zi3jidVAzpYSH9zeQJp8YEA1gPEeqsSPxKOFOy6GJb3eI2 JIWqpir2btVjHQCkfLu/sRAU76n+xccX3/XEBqRGj4qD2Z8ilu+tgsLV/MGc4tjb54bR OkzgIpDiof9EDgDcfg+G4pYL2LXrfeU97ILWmzYQwyXNOpa3pJ+gtgvrJJyS66DnkdQ5 WcU+v5fmHihLhxk4pAGFEVO0kVNy/2gnAZOhs2M+81YbZVflYMi8l8I0i2/fstXzl9OX gqkZLqDGUjIBn2ZRot5Df8BLiJxJ4ijc5J2A42Vh1I/cQ8AzlqZOdKAyBPoKtGTP98Zp yNKg== X-Gm-Message-State: AOAM530YvPIgKtnrDlH6zeHUwmybdz+vARmHOBUoBrM420gw3qR8J1Cc 0BkimxWmlAi2aYJrgrFRCDQjh/wVClOJ0YBzDJpG/VSRpUkKO64HHgSbJoEO+Uo4G5pIMWqjWJ5 cwDU7ftxB2x4WOBtY/in3mqVvKRBhPUBDtDMmCTiIRuy3VPSXdXWtim4UHq3y X-Received: by 2002:a63:8648:0:b0:37c:8fc8:ae4 with SMTP id x69-20020a638648000000b0037c8fc80ae4mr2426573pgd.482.1646371219178; Thu, 03 Mar 2022 21:20:19 -0800 (PST) X-Google-Smtp-Source: ABdhPJxRWTNjzqF9FDUsgNw/iTSctk6JZiPnQ2cg8VqL5h80ojfUPsMdu0+kgc5kk3/QOyRztfI6Hg== X-Received: by 2002:a63:8648:0:b0:37c:8fc8:ae4 with SMTP id x69-20020a638648000000b0037c8fc80ae4mr2426547pgd.482.1646371218872; Thu, 03 Mar 2022 21:20:18 -0800 (PST) Received: from localhost.localdomain ([94.177.118.59]) by smtp.gmail.com with ESMTPSA id p16-20020a056a000b5000b004f669806cd9sm4323865pfo.87.2022.03.03.21.20.11 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Thu, 03 Mar 2022 21:20:18 -0800 (PST) From: Peter Xu To: linux-mm@kvack.org, linux-kernel@vger.kernel.org Cc: peterx@redhat.com, Nadav Amit , Hugh Dickins , David Hildenbrand , Axel Rasmussen , Matthew Wilcox , Alistair Popple , Mike Rapoport , Andrew Morton , Jerome Glisse , Mike Kravetz , "Kirill A . Shutemov" , Andrea Arcangeli Subject: [PATCH v7 22/23] mm: Enable PTE markers by default Date: Fri, 4 Mar 2022 13:17:07 +0800 Message-Id: <20220304051708.86193-23-peterx@redhat.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220304051708.86193-1-peterx@redhat.com> References: <20220304051708.86193-1-peterx@redhat.com> MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com X-Rspamd-Queue-Id: D2245A0002 X-Stat-Signature: rx78hxogqxdnuu7wznte7wnuxsyarc39 Authentication-Results: imf25.hostedemail.com; dkim=pass header.d=redhat.com header.s=mimecast20190719 header.b=BZmJ5Gz2; spf=none (imf25.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-Rspam-User: X-Rspamd-Server: rspam08 X-HE-Tag: 1646371221-727843 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: 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 --- mm/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/Kconfig b/mm/Kconfig index a80ea8721885..93e90efc4ab7 100644 --- a/mm/Kconfig +++ b/mm/Kconfig @@ -901,7 +901,7 @@ config ANON_VMA_NAME difference in their name. config PTE_MARKER - def_bool n + def_bool y bool "Marker PTEs support" help