Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp1276462rwb; Tue, 27 Sep 2022 10:38:57 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5J5QuyB/mMCqeDylHnZX33FcPrNR9IWq2v26bhzYOsOwpo77U37MJ2SUc640Ua46Ch6Y1m X-Received: by 2002:a17:906:cc10:b0:77b:df70:efd2 with SMTP id ml16-20020a170906cc1000b0077bdf70efd2mr24589810ejb.590.1664300337474; Tue, 27 Sep 2022 10:38:57 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1664300337; cv=pass; d=google.com; s=arc-20160816; b=o5PY8UZSEXIlPfgD4RhVGFRDBP3Xtj0AmZz82ca//n0T+vRXOU7UGZKM8Kaj91AIQE aX7PBxPloXiacQNe6fKKxPjZn9zab3o7wDURUUgs0AAcp3b2QcDN1citn0yFxN2rPCug Cf+/Awlwe4+mHugwSFup9kT6/99BJ1izIXJPtNuUGty2D5Dg5bSU36pFNdrA1lq/9XFr Z8/LIaGRXE2/E2cEeKFt/3jnUxD0cPn1qPHVLcEEaTbaex23wtrYiQnwEOylJQ6NYXMp 17RM9nvsSLtcNFLD8xjSqCXgdNPPn29Ka9csUEJAbGN9FTj+Wx33BSvx3Sow9pij/okF wO8A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-id:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:cc:to:from :dkim-signature; bh=BtTo05grLeDEDbnsUNR9x5C45ECbgNtpfpeq2VP3KHI=; b=pJriENAjIt4AJkJuSywVn/O4C/IcF1RGn3gMoyOxLfZKor12fmea4FNzJkRj50eY3K nzHqnEZunuVqN06Uqpub53l0BRkebxPqu8/avtcPKxkqo8LsiNytuAZYpMCPj1zfp1Qy gex9Y3Gg1B0OZxLKQSl32rPQR1p70oC2fdOZH+nqHRx9rQJu33esgLxXLdwqjBVJMvj0 pMrG2KQyX3QU/vXobncgRMxqIcPut4TP7EeYhAgczwX9B6qS9pdkC2F9l+WvvtHBhP+C 8ekBc0/nfCIS6fm2a1EnJlfQhTvTPBr58RVDpE1qL2Xol+XIb2kkOLwErIfZQEBGCN+2 RqjA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@vmware.com header.s=selector2 header.b=qDOHh0Zp; arc=pass (i=1 spf=pass spfdomain=vmware.com dkim=pass dkdomain=vmware.com dmarc=pass fromdomain=vmware.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=vmware.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h19-20020a05640250d300b00457ca306be3si1380363edb.129.2022.09.27.10.38.31; Tue, 27 Sep 2022 10:38:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@vmware.com header.s=selector2 header.b=qDOHh0Zp; arc=pass (i=1 spf=pass spfdomain=vmware.com dkim=pass dkdomain=vmware.com dmarc=pass fromdomain=vmware.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=vmware.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232465AbiI0R1z (ORCPT + 99 others); Tue, 27 Sep 2022 13:27:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55724 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231236AbiI0R1s (ORCPT ); Tue, 27 Sep 2022 13:27:48 -0400 Received: from na01-obe.outbound.protection.outlook.com (mail-centralusazon11013011.outbound.protection.outlook.com [52.101.64.11]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E7E411D1E32 for ; Tue, 27 Sep 2022 10:27:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=UGB6qc4fzJqDe5OoDUdxWKJPmN6QlHbMjcnVDrityEeVnjx5Y7hC5EFw0Doo6Wj4BShzsOW8ns/6BxijcstMw2uxUu7JS5K+8bpiLkf9CQ9ToBCFKhL41ROf1weAXASjysVU1rndvkylRFFrK4u5LEjxmbphs6PyFPH6IKYQHgjFATjrmmWwBVMrnynueraNlHLLISnsU1AQNIRhPCRImnYsmdY+ZhvycM81jWoDhwBvOzgf5qpWtnMDIBsD6dhniQUdJiCWgnilFbad7v3Qbr3uwHQzUtdcpveNVXdKfuwt5rf1aHL1F99xBwd+rDVM4tu1N4/yu7AykZnRLyiFtA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=BtTo05grLeDEDbnsUNR9x5C45ECbgNtpfpeq2VP3KHI=; b=GSCfseOlth0c3uSo6TEVkf+QtrJ9L+wWpFzwVfKbUnwuXI4/uoZOH3GYK43YKMZfmRPSgv9UxIsi1HGXy1U9sk8jeBp7YQaYNwU0ly2IVKP24LCtU04BHeB//SdnxHl1Ekhqwhr7uUarH+jhf0/0zTe99wyTVkBYFCJjoV8G19jRW2AJz+7NgAxVNROX68Vfn+sBf0iYF+Zfn2x56VS3i2/Dj0ihVrJyjnwS4qFRGz7cN9QrDx9eadB2rTt09HAW7Owp/Uom+ghrbCJNfnTnLSjFDVWbcxMEMxFQFD82oQLy0CVaPn9+LknxXD/+HV6e6TqJkzM2AuBZV0n2djr1OQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=vmware.com; dmarc=pass action=none header.from=vmware.com; dkim=pass header.d=vmware.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vmware.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=BtTo05grLeDEDbnsUNR9x5C45ECbgNtpfpeq2VP3KHI=; b=qDOHh0ZpEPa0I3EXHL9M1vTv3xaYeDX0gmEmyseRv3/m+Pi+EMbVPTymtmMK4KwGwXVGCxBXd00adfaPVKwOzpTAhp+IlzvtZglRUNDM1wFBVlZj4/yNZqW5xQeqmdflPnl+9dtTu+6T04cpGdnPwyQrRKYxlRFzAayV5RwhHWs= Received: from BY3PR05MB8531.namprd05.prod.outlook.com (2603:10b6:a03:3ce::6) by BYAPR05MB6150.namprd05.prod.outlook.com (2603:10b6:a03:a8::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5676.14; Tue, 27 Sep 2022 17:27:45 +0000 Received: from BY3PR05MB8531.namprd05.prod.outlook.com ([fe80::942c:7d1b:6b3d:85b6]) by BY3PR05MB8531.namprd05.prod.outlook.com ([fe80::942c:7d1b:6b3d:85b6%5]) with mapi id 15.20.5676.015; Tue, 27 Sep 2022 17:27:45 +0000 From: Nadav Amit To: Chih-En Lin CC: Andrew Morton , Qi Zheng , David Hildenbrand , Matthew Wilcox , Christophe Leroy , "linux-kernel@vger.kernel.org" , "linux-mm@kvack.org" , Luis Chamberlain , Kees Cook , Iurii Zaikin , Vlastimil Babka , William Kucharski , "Kirill A . Shutemov" , Peter Xu , Suren Baghdasaryan , Arnd Bergmann , Tong Tiangen , Pasha Tatashin , Li kunyu , Anshuman Khandual , Minchan Kim , Yang Shi , Song Liu , Miaohe Lin , Thomas Gleixner , Sebastian Andrzej Siewior , Andy Lutomirski , Fenghua Yu , Dinglan Peng , Pedro Fonseca , Jim Huang , Huichun Feng Subject: Re: [RFC PATCH v2 2/9] mm: pgtable: Add sysctl to enable COW PTE Thread-Topic: [RFC PATCH v2 2/9] mm: pgtable: Add sysctl to enable COW PTE Thread-Index: AQHY0o4Wv+p+N3mrykKB6ElxyjzWs63zh8sA Date: Tue, 27 Sep 2022 17:27:45 +0000 Message-ID: <8632896B-35D1-4B8F-8A7F-275DEEBCB962@vmware.com> References: <20220927162957.270460-1-shiyn.lin@gmail.com> <20220927162957.270460-3-shiyn.lin@gmail.com> In-Reply-To: <20220927162957.270460-3-shiyn.lin@gmail.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-mailer: Apple Mail (2.3696.120.41.1.1) authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=vmware.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: BY3PR05MB8531:EE_|BYAPR05MB6150:EE_ x-ms-office365-filtering-correlation-id: f62908bb-abc9-4e95-18d7-08daa0ad971b x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: Tgfufp4bxiQ7wdkglGlmfPxoDnRLGd/XKo84l/3Pk8Q9dpdJZgmQrSkdcaDXttMRboQE/tL0EErsKWgPBIOAB9EZO7aLXYyze1HSijYpkw7irzlrYKAxkIQttSnFx7uLDJDyOirvaqY8OPmBdMMS4v2dTVGybEiJsGCBSF3CzfLo6x/JFIvNQJnGgcsCZZHekIn73CD56Mjmm8noIEYaSkSE5IisAsqIIC0YHgxzdgD1s2Lf3P+YrVaVe4titJRAJ0jCKHckHRIh8d2lwcDHCT+ph8e3K8nOuvfO8rtkvBPS3SXMLGAupnG7fBomIR+WgNKTqcyOK4ZljGOKh2iomej9dN/HkUPNFJ9IFAjXb4EZX7LiB3OpZMRvW29jKXx4gyhU7Ll5u3Td8Is2aHExTdNBelaltuE1Ie7lIMq6vzKlKCQeXyZkMr6ZY5q1G1AmSdp0Fv4CIoHy6VQV2cat/jTgNrd/xM2L2xioXYX6cG/xRtfirK247pCAIPfXl/FgZfg/xHPNnYibYKcf0f/UWCUmBFspMW8ni5zCGEi0AtM8/XvFShdBe2S+vBw9nDurGKb5WZ2SRgF58vLuSor65hX8ZWLHABLcKoq4CNxrSVb1z1eqm98X6naXsnapu5+0m6w1v/a0W3PNo3hUVkgU3aeq6OgROEzNpNHpF4UNffd6Zxk+DBw0T+wzqYHH5X5xnt1WbQGQKZXknOIhGpHwWj7WIUbfu05HYdA66Ej26YZBQUBJEQvWR4YQQtcz6Qig1GfslHiChQiKhX8QR9MeeMW/K5GUWsSbh6sfgv7RLEk= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BY3PR05MB8531.namprd05.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(4636009)(346002)(366004)(376002)(396003)(136003)(39860400002)(451199015)(7416002)(54906003)(36756003)(7406005)(41300700001)(4744005)(2906002)(5660300002)(8936002)(33656002)(38100700002)(66556008)(38070700005)(122000001)(66946007)(478600001)(64756008)(4326008)(8676002)(71200400001)(316002)(6916009)(6486002)(76116006)(66446008)(66476007)(186003)(2616005)(26005)(86362001)(6512007)(6506007)(53546011)(45980500001);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?KzArZm9IdVBQQkgwRGJpK0ZPVzZCNC84QnhERDVkTGNSZ1Zkb3M5eEwwYk1k?= =?utf-8?B?VnMxTVVxMGkrTk1sUG5yMGhDRzRUVUtrYkRZWkhTU1JSVFpDTktMemJkN2JB?= =?utf-8?B?dU84VEgrd2lsRUdTdXdOSlVNNGNNSkhiTjhaNnE1R0hobG9acTE2c2I0c3VZ?= =?utf-8?B?VmFBSVRMcGExRWV3VU5obHFDSmlkSUJlUXBmaWpPeXNpTzh5eCt3SllVYStU?= =?utf-8?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2ZncEZDVm92VjA0am1k?= =?utf-8?B?UUkrSkRSQlVxSmI5cEU2U1hYWkkrQ2lScFZuZTZmTkZWd3M2a1ovajJLMHVw?= =?utf-8?Q?1H4bUy+b8bOFUti4twN7JjzbK?= Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: vmware.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BY3PR05MB8531.namprd05.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: f62908bb-abc9-4e95-18d7-08daa0ad971b X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Sep 2022 17:27:45.0643 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: b39138ca-3cee-4b4a-a4d6-cd83d9dd62f0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: VO/nJ8y+EbTYYl9aUbOdwxKX6jMk1eTnmNKzVFvVQJf6zfmzcDJSH8Q7juFU7eOlJUTBeGOiuPMLb+7gU7bIxw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR05MB6150 X-Spam-Status: No, score=-1.2 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FORGED_SPF_HELO, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_NONE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gU2VwIDI3LCAyMDIyLCBhdCA5OjI5IEFNLCBDaGloLUVuIExpbiA8c2hpeW4ubGluQGdtYWls LmNvbT4gd3JvdGU6DQoNCj4gQWRkIGEgbmV3IHN5c2N0bCB2bS5jb3dfc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