Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp389812imm; Tue, 24 Jul 2018 22:04:03 -0700 (PDT) X-Google-Smtp-Source: AAOMgpex0RZn6s1IX2c70ANt/RVSKwWpfsrNOuAm6hzDmWkvUY6yaEPINkDA8A3xxo/Eoogwr6mR X-Received: by 2002:a62:90d4:: with SMTP id q81-v6mr20783154pfk.37.1532495043856; Tue, 24 Jul 2018 22:04:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532495043; cv=none; d=google.com; s=arc-20160816; b=FDSbzvtHApSTAzd/zmu6SzlrCxS6LIorLlHUe9SmJ3cGxrBE9sBS23VZ1c0NNpUlyH P4piBsnPcGMn2Y66OxT8vx0PgucnygHOneiROxWoZ2lVf/KmCbnrN1xY7jGShlHbVMeP LHw1QyAmOm2xiV0CIWrLL0L19mwO/9Vi+8YOfTSO5dlG2lxZzt6fCOp7vmQ3HGBD5tkG LWqJTIV3rqjOseDXtQqNqNhfdMf4ebQM6f289SkVS1O24vZ6sMojSG0l7jSbnfdt9ezH WNg4ozymc0BK5DgNFXPwLcTcTZ6Jxj4mkjfl8LLnrl/IH/rnN016h4pZaR9SG5PYkfGP 0XDg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :spamdiagnosticmetadata:spamdiagnosticoutput:content-language :accept-language:in-reply-to:references:message-id:date:thread-index :thread-topic:subject:cc:to:from:arc-authentication-results; bh=ZPdjEVFeZK4VpJ6LjTx+J5YihZ+9dhN0sf0YjreErlE=; b=Lv8RcNntje3kJOSNKt5WRW8iJLeM5Bq5SNDKxMdoswTa9fGLQJ2KjweGhlfqbREZbG p4odJTGuLmoRc8Ab3PxUYYBGdlXUqgJXGvjdrYKuBEAO9qH7KnUm1tb48m/CDwCcjo+K 38ygfyQhqzT/VCeuoY1lut/ywfaDv/zUNmHr27YmyzrZVSyhhc5FoYeTHEed6wfWkQip mlDg3g5pp08VtKQ491qvKAa4RUYe4KHgzza+sLI70fweJ9PbL5nmJUicOzAR/xHdr4qW qroQVvCkW1XtsqcRehLfrj4j8kLAU+9DW8ago71Vnnpc/pQLu80/Oxbvyvcfi+32Ft8P 3Zmg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i13-v6si13062729pgh.642.2018.07.24.22.03.49; Tue, 24 Jul 2018 22:04:03 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728341AbeGYGMp (ORCPT + 99 others); Wed, 25 Jul 2018 02:12:45 -0400 Received: from g2t1383g.austin.hpe.com ([15.233.16.89]:53940 "EHLO g2t1383g.austin.hpe.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726959AbeGYGMp (ORCPT ); Wed, 25 Jul 2018 02:12:45 -0400 Received: from g4t3425.houston.hpe.com (g4t3425.houston.hpe.com [15.241.140.78]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by g2t1383g.austin.hpe.com (Postfix) with ESMTPS id 2CFB0437 for ; Wed, 25 Jul 2018 05:02:50 +0000 (UTC) Received: from G2W6309.americas.hpqcorp.net (g2w6309.austin.hp.com [16.197.64.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by g4t3425.houston.hpe.com (Postfix) with ESMTPS id 23C40B4; Wed, 25 Jul 2018 05:02:49 +0000 (UTC) Received: from G1W8108.americas.hpqcorp.net (2002:10c1:483c::10c1:483c) by G2W6309.americas.hpqcorp.net (2002:10c5:4033::10c5:4033) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Wed, 25 Jul 2018 05:02:48 +0000 Received: from NAM04-SN1-obe.outbound.protection.outlook.com (15.241.52.13) by G1W8108.americas.hpqcorp.net (16.193.72.60) with Microsoft SMTP Server (TLS) id 15.0.1367.3 via Frontend Transport; Wed, 25 Jul 2018 05:02:49 +0000 Received: from DF4PR8401MB1180.NAMPRD84.PROD.OUTLOOK.COM (10.169.92.146) by DF4PR8401MB0841.NAMPRD84.PROD.OUTLOOK.COM (10.169.86.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.995.16; Wed, 25 Jul 2018 05:02:46 +0000 Received: from DF4PR8401MB1180.NAMPRD84.PROD.OUTLOOK.COM ([fe80::8864:396b:153a:4fd5]) by DF4PR8401MB1180.NAMPRD84.PROD.OUTLOOK.COM ([fe80::8864:396b:153a:4fd5%6]) with mapi id 15.20.0973.022; Wed, 25 Jul 2018 05:02:46 +0000 From: "Elliott, Robert (Persistent Memory)" To: Cannon Matthews , Michal Hocko , Mike Kravetz , Andrew Morton , Matthew Wilcox , "Kirill A. Shutemov" CC: "linux-mm@kvack.org" , "linux-kernel@vger.kernel.org" , Andres Lagar-Cavilla , Salman Qazi , Paul Turner , David Matlack , Peter Feiner , Alain Trinh Subject: RE: [PATCH v2] RFC: clear 1G pages with streaming stores on x86 Thread-Topic: [PATCH v2] RFC: clear 1G pages with streaming stores on x86 Thread-Index: AQHUI8CAknpRY+zySUyxhmKlqnVjMaSfSV6g Date: Wed, 25 Jul 2018 05:02:46 +0000 Message-ID: References: <20180724210923.GA20168@bombadil.infradead.org> <20180725023728.44630-1-cannonmatthews@google.com> In-Reply-To: <20180725023728.44630-1-cannonmatthews@google.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=elliott@hpe.com; x-originating-ip: [2601:2c3:877f:e23c:89a8:bb21:4484:d3c8] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;DF4PR8401MB0841;6:lFFFVJKee5LfOv5fULkvIdz6uSyfaB3lFBHhl7y5QguaAQfRYF86Qh+fYOV2VuuVYpRQtN2EvsUKrKRzhltksVJOMn7QeIMLjZAJwLSRK1B21jauRABQ4gb1FqgFfXUcoMmVNODvY6kSx68efuqGXhMkpon7+IH/diPT5+63uRIcO8WEw+7GHASM/LzKSXDLGUuY1f9Xod/floUO9+KJPWdAXr6SJINfc877Ea1cVySzZAxVRF+/b/jtBjR/qAcYPeho9MrBG6S+86X0nh7c1cUidE8oMK4Ig2CGEHWMRGSm9dhP7Sbk8EnH4FejECYuIFDyqSPw35VJkphyK1/TDEbcRiO3A2Bgcxu6620AiVvTlcZ2gG6wOQnON7bintfvXiWGr2GQxtMZVESzJvao1aKOnjDG5kw/brwqQco/sopSPoCL27WTILUlsv2+wwE4Ojep2a3LJ01WHtSshpY/qw==;5:fq58puoh5wpLuOnKDunFRLbQbcDciln8dyPkT3s1/Ds2GuRsZjh1EXWJlXrGYG8WHUIHb2NqDvSs7V2WInYUyl/FRi+mCaA5Ze2M2nP/IF6YGY0HfjIx7g8pHSfMFPzJD7b8dJf8+RU6+1u6buR0Eh/rDGfYzEZJ/43qV2fWo2g=;7:FmhIEAp52dQxX4c78CS55EGKTlDOZeReDNz8KcgOPoqKpXgqd4CVbpQT5lydjC/Z4af1h67wm0iLJ0YDBNgtL4EzpajpjwlCG0arEuwDvriRYGZ4LD0Vp6z6XyWYyHEc3BBnzYTNR+zL3YOYLIj6CP2pMHt6imeay8UzamoTwDpjVnGjzzWwdO96kJHYVZVuCDmTtOC7T15lMknz5jh/MffxO3y6Gpqe50tvltAiciJniQSIZFBqOKrTJBvhnfLE x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-correlation-id: 9b66108d-acc0-4b6f-9ce5-08d5f1ebdcdf x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(7020095)(4652040)(8989117)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(5600073)(711020)(4618075)(2017052603328)(7153060)(7193020);SRVR:DF4PR8401MB0841; x-ms-traffictypediagnostic: DF4PR8401MB0841: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(9452136761055); x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(3002001)(10201501046)(93006095)(93001095)(3231311)(944501410)(52105095)(6055026)(149027)(150027)(6041310)(20161123562045)(20161123560045)(20161123564045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011)(7699016);SRVR:DF4PR8401MB0841;BCL:0;PCL:0;RULEID:;SRVR:DF4PR8401MB0841; x-forefront-prvs: 0744CFB5E8 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(366004)(136003)(396003)(39860400002)(376002)(346002)(199004)(189003)(13464003)(6436002)(6506007)(68736007)(97736004)(102836004)(53546011)(2900100001)(186003)(54906003)(6306002)(55016002)(9686003)(478600001)(256004)(76176011)(25786009)(4326008)(14454004)(74316002)(966005)(7416002)(46003)(5660300001)(305945005)(99286004)(7696005)(6116002)(7736002)(229853002)(5250100002)(8936002)(316002)(6246003)(105586002)(86362001)(33656002)(8676002)(81166006)(81156014)(106356001)(2906002)(486006)(446003)(110136005)(11346002)(476003)(53936002);DIR:OUT;SFP:1102;SCL:1;SRVR:DF4PR8401MB0841;H:DF4PR8401MB1180.NAMPRD84.PROD.OUTLOOK.COM;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; received-spf: None (protection.outlook.com: hpe.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: JK0U8D2xv0ZH8iUQEX/4Ml/bV1UT6Dt60cv3AoLfTBvdHjKHbUm3z2BDiiiW5DnVM54aWEcq4HO16wE/csyXmtcFSzSXuTCCBv+fQpBOCDsAaTA9VWI2FlUHE8D8LquuBpn335BrwnND6cgIUhSBsxXiv5JvjoK2x3uek9ZNFRPEP7t5u+qknZVWfXT/fHp9C6/O/E+t3wcg7HycPq/CccIKQWe6MJK21fdo+l6RoGyBY7U9XP85StKrR+bYFw6MzgmY2u+1EmYPkIWUkO8EWWAPdJY9HEiCbd8re9rrPJ/HZqYUJhEutqYAwcMQbBfkE5Y4CKAwrpTa+f2LhafiywaXTtNjuSFbYpJoT3sw6E4= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 9b66108d-acc0-4b6f-9ce5-08d5f1ebdcdf X-MS-Exchange-CrossTenant-originalarrivaltime: 25 Jul 2018 05:02:46.6732 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 105b2061-b669-4b31-92ac-24d304d195dc X-MS-Exchange-Transport-CrossTenantHeadersStamped: DF4PR8401MB0841 X-OriginatorOrg: hpe.com Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogbGludXgta2VybmVsLW93 bmVyQHZnZXIua2VybmVsLm9yZyA8bGludXgta2VybmVsLQ0KPiBvd25lckB2Z2VyLmtlcm5lbC5v cmc+IE9uIEJlaGFsZiBPZiBDYW5ub24gTWF0dGhld3MNCj4gU2VudDogVHVlc2RheSwgSnVseSAy NCwgMjAxOCA5OjM3IFBNDQo+IFN1YmplY3Q6IFJlOiBbUEFUQ0ggdjJdIFJGQzogY2xlYXIgMUcg cGFnZXMgd2l0aCBzdHJl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