Received: by 2002:a05:7412:a9a2:b0:e2:908c:2ebd with SMTP id o34csp2573989rdh; Mon, 30 Oct 2023 00:52:27 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEXtXJCH8qS8WA3aJPe+kDsLhdeiKzp8ZGatSLfYRMiSFWOAvLfdLHY2sMzcfHjhRAfryhu X-Received: by 2002:a05:6a20:12c3:b0:15e:b253:269f with SMTP id v3-20020a056a2012c300b0015eb253269fmr10420655pzg.28.1698652346712; Mon, 30 Oct 2023 00:52:26 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1698652346; cv=pass; d=google.com; s=arc-20160816; b=mYBaAwcnryP+EBTD0AM9/0ovtxfQ95D1z9azcrG8WtBXHN1l0RaHQLpSI3v/gXQle8 C3uxNp9Hmm8B2ZOZRK+b/xpkjpFrl6UMsG0AuhufVvkpT6lhGfzCYXqph19TVWS9BljT Fox+CwfbJDWDxTix4eAdsDITzcZLGyeF7Y07pT0quyfd8H4a35YyvoEqpSyBh1OF4VZv d6/VBJkqC3cX3J0JPQz8XCyT0rvrfZgWWkM9ZZs1dgqDro0Kud9CqsUTyf+8I75N+GN7 7bvnqoUi3UJ9J5w3fOICVvUDVJC68cNYqs+VnXexlGtlTX0XBEdZJAoOSKhDtKJNPCEj 42vg== 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=DuDQYkU5zE9SzIr5BIxvoDx88zXcZqqhFBG5LE042N8=; fh=VnLPnQZmGSpFZ4Cw+/1Bivqwgb7Bs6XgEpOdl3GTYn4=; b=oitwfnskyfjie7vflcnNq4phI6YFFFZ3wnWMMkS/4TAspehWADZcRqg3y4Jx20FgsE qGzz1Dg7hJK3DMPX9Iu2fochdjKC6uFPK+UivQYWuVf+PFIIlcdsvG4aMDuhsTAKqEig Hw5hdwx3yJVe827ousjf6aJI2Koa9QQjvPAA3AZ6FbMGaYMlINZ/KywBVBNInHuVgJND eVnwAe77MJ0cbp53OLGwoEstYhUP2E/eVL6NridOlrGlaOtLBCj5E/1dDZhVKOg+CJta IHpiLMdGZWuWvYAZBiLVFQFNU2Kh86/NgbuFqLNG2oUqDvJiwmRF2/1Dnml0qmDuwjF6 Hzcg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@vmware.com header.s=selector2 header.b=kLTARrf1; 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::3:6 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 pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id q29-20020aa7961d000000b006c06614f4b1si4542266pfg.137.2023.10.30.00.52.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Oct 2023 00:52:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; dkim=pass header.i=@vmware.com header.s=selector2 header.b=kLTARrf1; 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::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=vmware.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id A5CC48050032; Mon, 30 Oct 2023 00:52:23 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232155AbjJ3HwN (ORCPT + 99 others); Mon, 30 Oct 2023 03:52:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54398 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232156AbjJ3HwL (ORCPT ); Mon, 30 Oct 2023 03:52:11 -0400 Received: from CO1PR02CU001.outbound.protection.outlook.com (mail-westus2azon11011006.outbound.protection.outlook.com [52.101.47.6]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E831DB7 for ; Mon, 30 Oct 2023 00:52:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fXmiLJGZfo9lmlSYydvYWFOkZDFykrePi/NQhq781ow9EsGqjUzCFa3DWpbiUT22UEGKbYSA+CBgHExUqTQzmrRF2TSZidyGYKuFJipv5jgaqFvA6xdQoFcL9yNHkD4oNS4JInMDkC67b7w81IeJHcq8u2AQsheHsBkpVVFQxTCejfm3axGJV+V4S1/IElfAxawkRu2XU16awbrmVBmK39vAlOTMIUbkp2pTZ0Pxoirz7J2dwlKCTHW3Hsj28FHX/kGjeytXg+Mn2eLNCMa8hy/PmYjHYhbWVqRs7+E/O+a0J+BvVeNj7zW24Mo/YVf7hEGJQKzuBNmGl/Qq0lJ44Q== 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=DuDQYkU5zE9SzIr5BIxvoDx88zXcZqqhFBG5LE042N8=; b=DZ4zgGHGHbV75/gIkjsC+ssv8cASIQDT4zkCAYsJkR0isRRsSmTId4JWDq811iXEORlTuby+DP4Ypqe6gr1ZOf68RtBlo0IhQzmGnc0OHNt7SChpk9u42y3GubWOzF/Cer8v5IbBU90CQK22PyzKHk1QT8Gm6jx40szKnB7Hn910bg5PGS9aqPjd9aAw+fiocl34wxEtXnbN105ngtbrhsOMyCoRFcffRkTA/RHUciqFsCrgLFl6PC1+hz18VRFoB/O4zTfqgY4XDHx9NGYXF0QvRRZkcTipgqSYm+KOqnqqsnQSbKhcYfWXG4g8B+jfD95x3EK2W6V/JOVFwIPbKQ== 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=DuDQYkU5zE9SzIr5BIxvoDx88zXcZqqhFBG5LE042N8=; b=kLTARrf1tdOb8e1HoEFJiEXgpy0jn60E6EilVFrC19+lN2esEMcjl6n4RKF3IoDru9qUNJOZ6loGbzV/oCg5plekNi7oIEY3qwZV2m3A6Of1XK4DUqtW4KD3m7BRN21sFdaWekmx9nphlzJvMEg9i7NLODqJ5oaAOzwadZWr7Dw= Received: from BY3PR05MB8531.namprd05.prod.outlook.com (2603:10b6:a03:3ce::6) by CY8PR05MB10153.namprd05.prod.outlook.com (2603:10b6:930:7f::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6933.22; Mon, 30 Oct 2023 07:52:05 +0000 Received: from BY3PR05MB8531.namprd05.prod.outlook.com ([fe80::b668:aef3:606e:923f]) by BY3PR05MB8531.namprd05.prod.outlook.com ([fe80::b668:aef3:606e:923f%4]) with mapi id 15.20.6933.028; Mon, 30 Oct 2023 07:52:05 +0000 From: Nadav Amit To: Byungchul Park CC: Linux Kernel Mailing List , linux-mm , "kernel_team@skhynix.com" , Andrew Morton , "ying.huang@intel.com" , "xhao@linux.alibaba.com" , "mgorman@techsingularity.net" , "hughd@google.com" , "willy@infradead.org" , "david@redhat.com" , "peterz@infradead.org" , Andy Lutomirski , Thomas Gleixner , "mingo@redhat.com" , "bp@alien8.de" , "dave.hansen@linux.intel.com" Subject: Re: [v3 1/3] mm/rmap: Recognize non-writable TLB entries during TLB batch flush Thread-Topic: [v3 1/3] mm/rmap: Recognize non-writable TLB entries during TLB batch flush Thread-Index: AQHaCwJUaV3x06E/C0qKHOdsSMyqCLBh9eEA Date: Mon, 30 Oct 2023 07:52:05 +0000 Message-ID: <1DB097E6-6585-4D10-95C9-7BAA5A622B7E@vmware.com> References: <20231030072540.38631-1-byungchul@sk.com> <20231030072540.38631-2-byungchul@sk.com> In-Reply-To: <20231030072540.38631-2-byungchul@sk.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-mailer: Apple Mail (2.3731.700.6) 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_|CY8PR05MB10153:EE_ x-ms-office365-filtering-correlation-id: 3de838c8-f13c-4680-31e4-08dbd91d1c85 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 264c6b4il+U/fNGxrG2XAyH5L4MEivsy+nDbgiM6adSaYCM9nu2VGV4uvnnhlNAi1diu+xlYvY1Xle6tqxOtDhQ55HjT828tGi6g+FH9FKlZRhJN+M/63YbDSBSGayG8PmOETn71ylIQdP9wPtSU9hM9U57k1/os0VW75+rE741hNcJH1+7MNpHoM44uUYkCVCzx0OHpbY4X9yksxfgJbHhIFe2cAX6SvWQnso/NbKBZjKCfqaCWUmFFsGpiR7zOl8IzWyJ+Qorg4H5FU9USYK65EH1LzYITqluR9KYPhdKODmiBs5a0iWxg4YooD1njaBbBCtOSGvFeIOkcW70p5qUkYSFtPfuY3WqUU5M6lwCmygA5u0kQfah/ybVZ4SzfuXe22ei8Wj7i4JvFnDNeiVXCpdAN5qq2T3ErD01lGvDD1pZCdoTC5Ryh+OAoqRJ3LiJxXm6h0t0inO1XCSDHKSRRwhIl0VVIre+f9Mon8t7jreN4B6g5mllwlWvSWFKK+oC7F11ABMOmLfsLTIZ84PWq1MusAaKGwHRWr1opclrPhDYfAQNng13auS/RcR19W+DhfpQBYsD7/iSpSteebaJg+qXyWc7Z2BpRaQNb7UGJrtBPEhJ106XJsJ5rMVkjqWBS6em8K2Vqzd4PotOjyyzFlIuAE0jx+sgQ96RYex8g16xsTQnNLzUlCC+IU3BcimZyj+fjxRq83OKfIBRjpQ== 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:(13230031)(376002)(346002)(396003)(136003)(366004)(39860400002)(230922051799003)(186009)(1800799009)(64100799003)(451199024)(71200400001)(83380400001)(91956017)(41300700001)(33656002)(86362001)(2906002)(26005)(7416002)(36756003)(5660300002)(2616005)(38100700002)(122000001)(38070700009)(66446008)(6486002)(66946007)(6512007)(54906003)(76116006)(4326008)(64756008)(66556008)(6916009)(8936002)(66476007)(316002)(478600001)(8676002)(6506007)(45980500001);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?MU9CaEtHaTkzVmVWVTIvWTJWQ1F5Y0JDV0VuQjNEMDB2a1FFa2k5bzdmYlhl?= =?utf-8?B?SFk0V2RPZzlDSkZXRHhFT0ZXRWFVempGM1NBSy92eGNoUnFZdzFlaStKdHNx?= =?utf-8?B?OXlkVi83dGJQMFFPc2hRWmpiYkpjMTc3a0lRazBic2hUelk5UWdjQlFQeURt?= =?utf-8?B?UXJub1NmaXBESUpmYndsUmZKRHUzZkhRaGd3TDMzWlJHRk9wNzV5VGFiR01j?= =?utf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lpQnhoSlF4WE9tRitOZzNKVmw3OXB2KzFk?= =?utf-8?B?QmxWVUNJaDgyNGZLRk1vSzhYay9zUC96V2xuRTIvZjV6RjIwUnZPZUxSM2hj?= =?utf-8?Q?srABTj+OJUwlm/0Magc6b2jhR?= 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: 3de838c8-f13c-4680-31e4-08dbd91d1c85 X-MS-Exchange-CrossTenant-originalarrivaltime: 30 Oct 2023 07:52:05.8822 (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: FzU+LyInpWIRdz0v73z5XB3IMNQP1sFsOteMLezO93DDthAPr1NsJvIPU+0JtiF9O1ruPcISWIi6+EtcQxXwBA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY8PR05MB10153 X-Spam-Status: No, score=-1.3 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Mon, 30 Oct 2023 00:52:23 -0700 (PDT) DQpCZWxvdyBhcmUgc29tZSBwb2ludHMgeW91IG1pZ2h0IGZpbmQgdXNlZnVsOg0KDQo+ICsNCj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