Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp403071imw; Thu, 14 Jul 2022 03:43:17 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tqMsz+cW8yP2GUei4RngHLgogb/LX7VE3mgWdNbJf9QUn8YexthPfyva27GRvxoWN4fDDT X-Received: by 2002:a17:906:7007:b0:6ff:8028:42e with SMTP id n7-20020a170906700700b006ff8028042emr8242157ejj.278.1657795396975; Thu, 14 Jul 2022 03:43:16 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1657795396; cv=pass; d=google.com; s=arc-20160816; b=WALKq/pqgrhkb8nmuyhsjm7x1kFUfPryDHGSairCJ+Y555AFyQJIfuAxvtBuJb24NS 1uSskzKmU7fYldwMkatqYvnowmHNDksIKVjip8Z0eD+Jrznguop0L3dxTSTWnv1Dn10R 9VO3dlPRhABShBXr/8BIOqD85vw7gxUtBsFfSqmUIeN9ZlKr/bYKbnKBqGv6z7gubc1j juknnqEKKMVY2GUlz2qHUYd/fciAA1gJPjujiE4ewY0TfTypUgGojbFTfqBDwTwTyKfR 2eDGtXlX3trXlsthM5LqMViwF9i1p56VUAY4z/E7+RUx886rYxAq4r1+jwpHzarJNbuB 4H5w== 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-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature :dkim-signature; bh=AL+n3rpchvxeHAWcuSYVma9eU5v5v5BPE5FiFPQHoIU=; b=rLMDLi6QqgxbwZT/tAawspq2TD1g+3Slcq4T+X+DagTHMOLWrEq65Ocke2p2P30dsB SLZQjBsCu2K/fe2eq2uUSxCc5JKUmCV4/YFtBG+ebz4kEVHXIF/gRObdaRZndvApirL2 pmXCApudCDB1Rp9YVGxlpPVPmVaXJeLQQyJc/duYjea0hhGWFZ2s8nRxBk0yA8YrV4vn emnRXdJt3QTuShhaVcBuls34XIJZ4nWIzzCm5rJ6GrXDvKtcnuu0KKgLjPCPB0hdmcpq NHW1/zHhbQCaGdsgRQR6KF+7qoG9E45wOXmcJh27YEmsKkyKVZJexJAlVYNWU1EpKQ2I uEqw== ARC-Authentication-Results: i=2; mx.google.com; dkim=fail (test mode) header.i=@fujitsu.com header.s=fj1 header.b=L3WMTyIa; dkim=pass header.i=@fujitsu.onmicrosoft.com header.s=selector2-fujitsu-onmicrosoft-com header.b="Qe8S/WS5"; arc=pass (i=1 spf=pass spfdomain=fujitsu.com dkim=pass dkdomain=fujitsu.com dmarc=pass fromdomain=fujitsu.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=fail (p=NONE sp=NONE dis=NONE) header.from=fujitsu.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d15-20020a056402400f00b0043a4718073bsi1636093eda.523.2022.07.14.03.42.49; Thu, 14 Jul 2022 03:43:16 -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=fail (test mode) header.i=@fujitsu.com header.s=fj1 header.b=L3WMTyIa; dkim=pass header.i=@fujitsu.onmicrosoft.com header.s=selector2-fujitsu-onmicrosoft-com header.b="Qe8S/WS5"; arc=pass (i=1 spf=pass spfdomain=fujitsu.com dkim=pass dkdomain=fujitsu.com dmarc=pass fromdomain=fujitsu.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=fail (p=NONE sp=NONE dis=NONE) header.from=fujitsu.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238378AbiGNKet (ORCPT + 99 others); Thu, 14 Jul 2022 06:34:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43722 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238393AbiGNKel (ORCPT ); Thu, 14 Jul 2022 06:34:41 -0400 Received: from esa6.fujitsucc.c3s2.iphmx.com (esa6.fujitsucc.c3s2.iphmx.com [68.232.159.83]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A6ED74BD31; Thu, 14 Jul 2022 03:34:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=fujitsu.com; i=@fujitsu.com; q=dns/txt; s=fj1; t=1657794878; x=1689330878; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=AL+n3rpchvxeHAWcuSYVma9eU5v5v5BPE5FiFPQHoIU=; b=L3WMTyIaRyoTdEbb1g7VqxVk++kNEmX0hldqQTXgOI7Cv3PkjjOE7kdd TgQfUofVFP7IE7iTrF5P050R11Is8D3lW8b+Aog9NiqkTwAbjmJTVi/d5 VqdHonFmNYo/9xHNy8P2UeABn0Ba4z7Wc/eIelvOfN9XZeeG9oHd86GA3 DZ+/i2zZ0KvPGfNrRV7jCmvl0wnxOAunjzBNSnW9MCyVaANZ580pU+6Mf GxcUiuj+bKeRqdaJRVd5ntv9GVrzgvlnf8fXKU9z1OXXLQpey2y6+xsa9 RBZLm1kcmDYv93q5NXxnTbSk8l7Ktzn3gs2Ol+Heex+Qir53Wfqimdpx1 g==; X-IronPort-AV: E=McAfee;i="6400,9594,10407"; a="60417266" X-IronPort-AV: E=Sophos;i="5.92,271,1650898800"; d="scan'208";a="60417266" Received: from mail-tycjpn01lp2169.outbound.protection.outlook.com (HELO JPN01-TYC-obe.outbound.protection.outlook.com) ([104.47.23.169]) by ob1.fujitsucc.c3s2.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Jul 2022 19:34:32 +0900 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=FjUFhrpCqarok3ie7/+fD7Vo6opIEFTIZf56oTn3cFUmySm7Zl03B7OgnXmy5NoSRdaswX6OJ4TY4OszHxTncueq+RgLU19SiTpEBXYltNgQOZHMT7ZQFci4nuNkMEd5fQsQSL3f4/i3OxPjpy4q0uBaqgGv8Ge5+kN7zwzmvRdw2SnX1iVRCmIqpMhFbVa1/LEjW5zleOinz7n/hLF5H4MThfe2X86STkzb1XZc6SC3l7qWKJ2wQFmUIxegh29AHJb36T1Nx0dpwoIZEZRJXZdoCghZLLp0Q6Qi0zkeTeZEP9dAHn7IPKHcb8jMhnFm/1QgePHs0jR+Q0GNhhCrwQ== 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=AL+n3rpchvxeHAWcuSYVma9eU5v5v5BPE5FiFPQHoIU=; b=dxWP6uxOt29RUZn+tu2l3j+DysWUqoUz5yQXsTUVW568Q+ekgsP2stn7SgcwLdtXTo17JQ5NbCan1A7NooMQQGRDy1ryJN0obLg/8KVt2sH2ANyvaQPz2Z5wvyGx7U8jjSQF6+1cUygEGgzlaN5SxR/jhygafoGLI8xnrNHdaRd+7za2oj9GRL8Az9jv6tZOLMBCj9fx0lk2okI9iGhdne1HNFYzNj69SHiXiUdwTSCleNsGUqnXzbsWe/HG6ZL2/NVQ14u98VZVbsQphb7tKoIM5iymfRC09XpjVmaKxP4Kpvu/4EmYZihVxhOuhQm3PbHQ2AinGF4UgARVVLEurA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=fujitsu.com; dmarc=pass action=none header.from=fujitsu.com; dkim=pass header.d=fujitsu.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fujitsu.onmicrosoft.com; s=selector2-fujitsu-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=AL+n3rpchvxeHAWcuSYVma9eU5v5v5BPE5FiFPQHoIU=; b=Qe8S/WS5o3Fb/9HkduE1qYOxTHisUXiLlYcAeJ8fFhj/WM6pXG1mb+EZcS9i45TBjbsK+noECuocEj6LYrx6AEOscTrrWTmEsCMYWhSpM2fTV+L6ijn6EZGPwhV//LbYtBHLdpL+p4icvtyBpkqvj9j3p+Ljb4W+be4zAFFr2iA= Received: from OSBPR01MB2920.jpnprd01.prod.outlook.com (2603:1096:604:18::16) by OS3PR01MB5685.jpnprd01.prod.outlook.com (2603:1096:604:c2::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5417.20; Thu, 14 Jul 2022 10:34:29 +0000 Received: from OSBPR01MB2920.jpnprd01.prod.outlook.com ([fe80::ece2:4ee0:93a4:ce47]) by OSBPR01MB2920.jpnprd01.prod.outlook.com ([fe80::ece2:4ee0:93a4:ce47%7]) with mapi id 15.20.5417.026; Thu, 14 Jul 2022 10:34:29 +0000 From: "ruansy.fnst@fujitsu.com" To: "linux-kernel@vger.kernel.org" , "linux-xfs@vger.kernel.org" , "nvdimm@lists.linux.dev" , "linux-mm@kvack.org" , "linux-fsdevel@vger.kernel.org" CC: "djwong@kernel.org" , "dan.j.williams@intel.com" , "david@fromorbit.com" , "hch@infradead.org" , "jane.chu@oracle.com" Subject: [RFC PATCH v6] mm, pmem, xfs: Introduce MF_MEM_REMOVE for unbind Thread-Topic: [RFC PATCH v6] mm, pmem, xfs: Introduce MF_MEM_REMOVE for unbind Thread-Index: AQHYl21MSZyYmdiLqka88bTs8k0Skg== Date: Thu, 14 Jul 2022 10:34:29 +0000 Message-ID: <20220714103421.1988696-1-ruansy.fnst@fujitsu.com> References: <20220410171623.3788004-1-ruansy.fnst@fujitsu.com> In-Reply-To: <20220410171623.3788004-1-ruansy.fnst@fujitsu.com> Accept-Language: en-US, zh-CN Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-mailer: git-send-email 2.37.0 authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=fujitsu.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: de819951-3121-4655-86c7-08da65846ee8 x-ms-traffictypediagnostic: OS3PR01MB5685:EE_ x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: QRmZNgku170Y7u2dqsntP+u4RY/lCvWSdExR3U25yfupzjunPl2h1fCxMTnCllHPRZzZQjMH+r2zkzoKntqfmEXtN5JcAd9zj1ZknZqlAlZs3z/ppORRUWMAmhiIKkAhX4wEw1AiHfrTCu5o5od+HFmdXRvvBtbN1sdrKhol2wFMyU4jX0tOFpWWp2c40PJaXqf0FEDLH9XUD4uk5KFaChUoRCASn9jibAD/RApltLCACfSC/iC1hRCbi80V4nIVkbIdTKuodQ8CepBin9/uUjFy4m5LcE0H56LHbMjFoYlfs0KWkmc+0olzPlVzVdyS6ZHovHafYI/NGJK4zdBwZ1wLYATMH0/XRL3znfRTrqIGsZ7sRBrdhsEYghQ+D0FTgSo/da7ceJbqURzo2PidQgR7Ef6Bf2ohYbtRBW9PtwbZ62TZfMUFMadNWC0mloHFo9l6qachvTOtybI2ZdYKD/jxMU2y1fl2nQp27SIjbbVNsYiXTdwCDolPau/HPrQhDfXstw/lrNZqYtACtyofhfa8aPYIggNbinfRGgTmL/Oc7uMjznxGvBRt4KS3hxtGdWmujgxoi3ejwQPsadFrfLMLEHi95NhkFezXmb4l8vTxLmFwrFxp4N2ODBSyydskAP8uKoBk9ken4twfnrdoV0/u6LfVLiarsmHu9r/3YeSqSa7t9nqH0Vi7sZt5O6ofNbtkQAm3D+H3oVuIA+vaMbkBHHIW10VyudKjXAMzmFyThytaencIdn7iuBqR72/OH/zmfeEgNEdagmzZsL1kzXD9dIfMzq3TIeRkO0DnvzFk2G4IpjlqPhsKYGTnGK/IKpexoa5lItx47B4884F7RBgfYIWgm1KfIHZqiUJYJIo= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:OSBPR01MB2920.jpnprd01.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230016)(4636009)(346002)(39860400002)(136003)(396003)(366004)(376002)(66446008)(1076003)(66946007)(4326008)(66556008)(8676002)(66476007)(91956017)(6512007)(83380400001)(36756003)(2906002)(5660300002)(186003)(85182001)(76116006)(7416002)(8936002)(64756008)(26005)(71200400001)(54906003)(110136005)(86362001)(82960400001)(478600001)(38070700005)(966005)(316002)(6506007)(41300700001)(6486002)(2616005)(38100700002)(122000001);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?gb2312?B?TXVTZXBsZjhKZnp6bHAvV1hJbDhqV2d4OCtWb3Q3a3hlUzRiUjZjbTUwODhp?= =?gb2312?B?LzVyOGtBTjZZRnpqeHhmTFJMZWRPdDBVRk4zREVsd2VwTnIvaVZDbTdkN2tP?= =?gb2312?B?czNPSktWeTNDbTNFckZvWTBVU1pyUVRacGhQN2tsZFRjOFYwanFNMngzdVI2?= =?gb2312?B?aS9MQmcxclVsNjhSYWM5UndZdGJrM3NaNXBJM3ZteTVxVlFUMGgyVnIvU3dC?= =?gb2312?B?NldTMHQ0b2ttWWZZL1Z2T3U0NW1NM2RXZ0orS0FqZzhNcmxaLzFtQzJFWnVu?= =?gb2312?B?UzNxT2RUQ0UvTUdmMU5valN0Ym1mNHlwOFlWM1k5Q3NRU0s4akwxbHBBS2pj?= =?gb2312?B?cjBxR1Y0b0RQQmRWZ01JQjE2MlE1aysrTkpKTXE4MVNrM3p6aUxEVFhzK2ZD?= =?gb2312?B?VStYODNjVkx1L2RiKzNYbVFpUFNVRmFZTVRVR1FpK2dKdnBMTHRWeEF3ZFNh?= =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ZVMjd6cUlGZVB0OHh1ZVRUOFlI?= =?gb2312?B?ZEs2YmpNZ2RLd0U0My91Q29GN0hvd2Z0L1ROVERYVndlWkUwdUVkYVZ3MGhL?= =?gb2312?B?NllNdEYyWjRrUXdPRCtDK096QTEzTHoxemNtdVI2Y0hvc3RUR3R6N1M1d2l5?= =?gb2312?B?VC9LVk90RitaQXZVWlNDWG05ajFZKy9MdXAwUEo3UTl0R1BIVytjNldNdUVp?= =?gb2312?B?NVZkUEh6dHZBNG1HWnJyeHAyYmU1VUZEZXAyeDVBSXJYclYwWllyNVF2YVB0?= =?gb2312?B?NkRZS1pyNkpId1V5L3NYUDhkNjhOYUlNNnhSQVpSbThJSGpzOTZXanZDZVFh?= =?gb2312?B?djFwWlFJeVlnZytFUmZsVjhzWHUzZFZTdTZCSFZsMWs2THFNclNsR296VEts?= =?gb2312?B?WEt2RkJqNVFaUUJGSWxZcTZob3JyUGJmQTJKTkNQUGtvZ3cyMzMwRVdKcXdS?= =?gb2312?B?RFl2NUlPbXUxVlFmZGRMSS9DWCtTcVRnbVp3M0J0cDZQNWJCcktCcldNYlVH?= =?gb2312?B?aWhiOWxobzBucFlYUTNuRnd3RDZURkthUjJUNXBPTnB4QlMwTGNuRE1aaEVO?= =?gb2312?B?VWtyQUVEbEQrWjF1K0JOakE2Q0dVWUUxaGN0S215VW5hVWNmVnFneXEzUFVu?= =?gb2312?B?QllVajJNaVlnaFl2QWJCY25tRGQ2QU84bzdsZGdEOVpUT1NyVExDSTdpY3pN?= =?gb2312?B?Zi95eENiVXNwWE5IbnB3SGcvaCtiSmJpbncrQUV3MVAxbm5zYzd1N25tSGxH?= =?gb2312?B?MGxjaTVGaUYyOElTNTVBVE5pYmVaMWJTaHM0bUgrVGJJOXVPNGQ5Z0dIMDJP?= =?gb2312?B?dVE9PQ==?= Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: fujitsu.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: OSBPR01MB2920.jpnprd01.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: de819951-3121-4655-86c7-08da65846ee8 X-MS-Exchange-CrossTenant-originalarrivaltime: 14 Jul 2022 10:34:29.6542 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a19f121d-81e1-4858-a9d8-736e267fd4c7 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 0Th+v/LRBfwuyWvqBebMp4QnqeCgGkhWgcYYjFDUpHi05+7kznkeCeXyxdTIsZ+4pGWH2gQACTrXK9K+tFrfiQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: OS3PR01MB5685 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_PASS, SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham 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 VGhpcyBwYXRjaCBpcyBpbnNwaXJlZCBieSBEYW4ncyAibW0sIGRheCwgcG1lbTogSW50cm9kdWNl DQpkZXZfcGFnZW1hcF9mYWlsdXJlKCkiWzFdLiAgV2l0aCB0aGUgaGVscCBvZiBkYXhfaG9sZGVy IGFuZA0KLT5ub3RpZnlfZmFpbHVyZSgpIG1lY2hhbmlzbSwgdGhlIHBtZW0gZHJpdmVyIGlzIGFi bGUgdG8gYXNrIGZpbGVzeXN0ZW0NCihvciBtYXBwZWQgZGV2aWNlKSBvbiBpdCB0byB1bm1hcCBh bGwgZmlsZXMgaW4gdXNlIGFuZCBub3RpZnkgcHJvY2Vzc2VzDQp3aG8gYXJlIHVzaW5nIHRob3Nl IGZpbGV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