Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp1021898ybp; Fri, 11 Oct 2019 07:55:46 -0700 (PDT) X-Google-Smtp-Source: APXvYqxtRj6rA2a+vV/3eorfIOksYBcJSjhegf8HTgStkB5wXRPbPphdY+E439ArXHhO2g6lTkOJ X-Received: by 2002:aa7:de1a:: with SMTP id h26mr14038791edv.289.1570805746301; Fri, 11 Oct 2019 07:55:46 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1570805746; cv=pass; d=google.com; s=arc-20160816; b=j5cWQA7T4NBYQxy9Ac6CHg1aPBfOIP5MvLTNkr5TUGkIA5kQ80iMQWcS2NPwF7uetk uByheYI+T2xoNOl6z15f6TWnkHHU09OCZzEpMepW+aeBDEfQbDLUoQzbRvPvzhx/ivFo fhy9AQ1uMDPew+tzIiyD8qfL4Yv8Ttr2UuQJ+A2k6G8BoCRRqqIrjj92bC2OB9RnNnDJ aKNbIPKDmGy2Lo9nQBA5JFG15t0h8T5WDCXuPsJshqDyLmrkDKsxti/MSoHLOEcyjWWm BWCo4NHrIhd1+xK+2b3cUwwJZ5pQMT31lwcSMwkO6XPyAlTBj/UdnQx0F16yg8Ca3cVe S0vA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :msip_labels:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:cc:to:from :dkim-signature; bh=fxoCUgID2niQq37EeuocyoreJT2jYFBUxU2VxdJ5IAM=; b=yO0BBd8dBTxg03reRK8K/3veUqTQuBt2yEY2nd+0btPGHpX5owOZlkiE50jnW8JW9G sHKOxaNaKoZJkUdBqCnaJ6A8jj+BrOQY5IFNb5os44zyw6ZQwUD58DUgBSmyBsZuZ3er hoU2C2W9jLqqgQhdp0P/akz3G0LurzXWys5Ms+Onql2WEuzegy8rCNY4OZt79ZvzGmT7 iWWA5J5BeA8uwP3Gzr5YcYnU1Pz3FDoqS6vK3VArPInJEQs+zLZM8R5OW/NJLNDwPuUd NJI3jV/2/WSQDom5Qp2Kff5h7J+nlBH+TrNPVyYRNzj8/A/hwReBJhrkOU2g7i8N5w9M 9zpg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@microsoft.com header.s=selector2 header.b=EpxsCUHU; arc=pass (i=1 spf=pass spfdomain=microsoft.com dkim=pass dkdomain=microsoft.com dmarc=pass fromdomain=microsoft.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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=microsoft.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r3si5420501ejs.415.2019.10.11.07.55.22; Fri, 11 Oct 2019 07:55:46 -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; dkim=pass header.i=@microsoft.com header.s=selector2 header.b=EpxsCUHU; arc=pass (i=1 spf=pass spfdomain=microsoft.com dkim=pass dkdomain=microsoft.com dmarc=pass fromdomain=microsoft.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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=microsoft.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726910AbfJKOxg (ORCPT + 99 others); Fri, 11 Oct 2019 10:53:36 -0400 Received: from mail-eopbgr1300112.outbound.protection.outlook.com ([40.107.130.112]:46885 "EHLO APC01-HK2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726631AbfJKOxg (ORCPT ); Fri, 11 Oct 2019 10:53:36 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=PQHIUHds0zFZk2xY8mpsg7L/FeZ68Ri1k5AJL8CqngTSamHClVDYPgJDK/Lajb2eWnSnEAQgy/zTBnpJdnxU4KEYEzL/jql3pnEXwzHy13ucWN8DPAyPlk6uNAqbm/p/bw3vGOMuyOIi1QQGr79TaAvU6KoN2HXB0+2EFpegY2zehGlanXus+oDHxOjNlJUISePzYAaaWqszwsdLc2zwjNB/KGrpFY7dfHVSOwNDG80ZukLkuyZUWik3owXMfsCMnMTQIt/eeUBGnOQL7SVcliRVJnmCIG6j48yOKZ2AQHDMvHiSln3yEf/ZHHOLKuw/wtqsE6sy3cHVNNxtcmZxIA== 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-SenderADCheck; bh=fxoCUgID2niQq37EeuocyoreJT2jYFBUxU2VxdJ5IAM=; b=oV/vP3ZbEdg2XlveBnA7dSPsvyq3u5o7s+lyJXW6J/14ITBMjT2mhl9iC6Cf4NqME50OBP0yfv5gg7xKpTOGD9B9wXJWevxNua7wMqh8sDtf6od4TX7PWou3o8LN9gPOv0n0Ei+oWGT38ZnFwWB5OxXcY2yxOzUsCA963OvjSPoPhlFdeYY3PyPmWYNXiS6R40iOayGGHUvfxsXdVZ/WjHoYbG9HB1J2H+LvEzrQo2e4S7OwaepQ2TsaxyXXE90hkLf+wshYocueWB1Fl1VNwfNjtu+57echK1ACGdVnHcfg9PcrY0KNsjQj2Kcdw8nzxKtDX9++7zm3wyLrdhX6+w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=microsoft.com; dmarc=pass action=none header.from=microsoft.com; dkim=pass header.d=microsoft.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=fxoCUgID2niQq37EeuocyoreJT2jYFBUxU2VxdJ5IAM=; b=EpxsCUHUQ06Kz8w70caYpH3d2QT/qJ8KiyB0F8gqbRlEUcmQ/YCZmfCU7MfE07xz2lc6ZZGuVFhaQCz+3693ZlizxKgrfz45eIif2/GphsLLz6t8FLPUCGunaNmFQ/Qvps6Ajpr4R+mmkITswJOkdUl4Ipgj8+u8UWc0z2eTN0I= Received: from KL1P15301MB0261.APCP153.PROD.OUTLOOK.COM (52.132.240.14) by KL1P15301MB0247.APCP153.PROD.OUTLOOK.COM (10.255.255.78) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2367.2; Fri, 11 Oct 2019 14:53:08 +0000 Received: from KL1P15301MB0261.APCP153.PROD.OUTLOOK.COM ([fe80::d4ef:dc1e:e10:7318]) by KL1P15301MB0261.APCP153.PROD.OUTLOOK.COM ([fe80::d4ef:dc1e:e10:7318%6]) with mapi id 15.20.2367.004; Fri, 11 Oct 2019 14:53:07 +0000 From: Tianyu Lan To: Dave Hansen , "lantianyu1986@gmail.com" , "dan.j.williams@intel.com" , "dave.hansen@linux.intel.com" , "mingo@kernel.org" , "mpe@ellerman.id.au" , "pasha.tatashin@soleen.com" , "osalvador@suse.de" , "richardw.yang@linux.intel.com" , "christophe.leroy@c-s.fr" , "bp@suse.de" , "rdunlap@infradead.org" , Michael Kelley , KY Srinivasan , "sashal@kernel.org" CC: "linux-kernel@vger.kernel.org" , vkuznets , "linux-hyperv@vger.kernel.org" Subject: RE: [PATCH] mm/resource: Move child to new resource when release mem region. Thread-Topic: [PATCH] mm/resource: Move child to new resource when release mem region. Thread-Index: AQHVfzxrHAkRPyKAWU6JoMkPogDGmKdT788AgAF8bsA= Date: Fri, 11 Oct 2019 14:53:06 +0000 Message-ID: References: <20191010072856.20079-1-Tianyu.Lan@microsoft.com> <77e08231-0687-8d8d-0faf-c490a8b510d4@intel.com> In-Reply-To: <77e08231-0687-8d8d-0faf-c490a8b510d4@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Enabled=True; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SiteId=72f988bf-86f1-41af-91ab-2d7cd011db47; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Owner=tiala@microsoft.com; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SetDate=2019-10-11T14:53:03.2347409Z; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Name=General; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Application=Microsoft Azure Information Protection; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_ActionId=c3a9baf7-ec20-4bf2-a413-1bf350ecfb32; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Extended_MSFT_Method=Automatic authentication-results: spf=none (sender IP is ) smtp.mailfrom=Tianyu.Lan@microsoft.com; x-originating-ip: [167.220.255.55] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: ccfd0276-322d-44f9-06cb-08d74e5aba32 x-ms-office365-filtering-ht: Tenant x-ms-traffictypediagnostic: KL1P15301MB0247:|KL1P15301MB0247:|KL1P15301MB0247: x-ms-exchange-transport-forked: True x-ld-processed: 72f988bf-86f1-41af-91ab-2d7cd011db47,ExtAddr x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7691; x-forefront-prvs: 0187F3EA14 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(4636009)(366004)(376002)(39850400004)(346002)(136003)(396003)(189003)(199004)(10290500003)(6246003)(2201001)(10090500001)(76176011)(478600001)(9686003)(2501003)(25786009)(6506007)(55016002)(8990500004)(53546011)(102836004)(26005)(99286004)(4326008)(7696005)(1511001)(186003)(86362001)(229853002)(66066001)(486006)(7416002)(2906002)(476003)(7736002)(256004)(71200400001)(6116002)(6436002)(8936002)(54906003)(8676002)(11346002)(64756008)(66446008)(110136005)(316002)(81166006)(22452003)(81156014)(71190400001)(76116006)(3846002)(74316002)(446003)(5660300002)(14454004)(33656002)(66476007)(66556008)(52536014)(66946007)(305945005)(921003)(1121003);DIR:OUT;SFP:1102;SCL:1;SRVR:KL1P15301MB0247;H:KL1P15301MB0261.APCP153.PROD.OUTLOOK.COM;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; received-spf: None (protection.outlook.com: microsoft.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 6OxoW7naVAepwoAte1vZtXYGeo6CSFv689W86CABuIfdFk4C8u448OfKu6KE4eRdaIu1dsbyqKNBa6MgNmMMa91aPemqmp7Dzq28HE4EgR0H2ll3PUBslWUXCB5hxUpJQIb+9t+LEdx4jYufwVaQv/uOzUqGJ1UpWoKfAOXV9Uf9ZpMKrU7P5I+fMVhqn97E7Z8hWLM3v2BjTFPSe4qbiAP8O5WwtxosNaLES6te+0/VerZLry5S9FgnDl2LFVaEjpCbHJTRh7TIJJdCVRg9JtqTRMQs2AkG6f8m1hdOdCVI3HtDIZ/DXf8SHhpH1ZmL7Mrz9O8B6F4PZ0TsrDaDoWdQPBw9IC3CCZJhvwT7voLeC/IUkVG71m09B6ufQmIvNp1jsD6VN6oMboITllfNi9u0Q6IS8ECCl7JF5aStNyE= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-Network-Message-Id: ccfd0276-322d-44f9-06cb-08d74e5aba32 X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Oct 2019 14:53:06.8121 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: QOaWu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