From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by mx.groups.io with SMTP id smtpd.web09.8559.1661841328973444432 for ; Mon, 29 Aug 2022 23:35:29 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="unable to parse pub key" header.i=@intel.com header.s=intel header.b=Wooz3jr/; spf=permerror, err=too many SPF records (domain: intel.com, ip: 134.134.136.20, mailfrom: min.m.xu@intel.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1661841328; x=1693377328; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=o39wmFR35YlbEy/tLeebBPwf49LxyNHheDZS5ASg8oQ=; b=Wooz3jr/Vcp3z0Hd3w5WOxeE52yA3YTzIrD2nVFjyQek8eJCd6JH5njY ITEHabck+rjKRU1reHAYpaMAVwpSIDWemOsPDprB5qfaU1tkhZLcGvi7Q EALLG3T7tLfKBzAinaxxlNu693NYlsQhsWhU86mnXugioDxP4n0QI4/7s Zx1AqjwWOy+5wCXg8JBRGf7EXyOy++NIWU2qIK6h12MhS69ezDmwClKdG VFORqpuvld1Ne3F7vetZbHvZysa9K3SEi52VlT2a7106vl0CjaVJMm5pi FY7z85kv+R6dejlm5tOuxAto2FveneaJWaAtzTdaIpqCAlWjc/dQ0taz3 Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10454"; a="282067556" X-IronPort-AV: E=Sophos;i="5.93,274,1654585200"; d="scan'208";a="282067556" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Aug 2022 23:35:28 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,274,1654585200"; d="scan'208";a="672714899" Received: from fmsmsx601.amr.corp.intel.com ([10.18.126.81]) by fmsmga008.fm.intel.com with ESMTP; 29 Aug 2022 23:35:28 -0700 Received: from fmsmsx609.amr.corp.intel.com (10.18.126.89) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Mon, 29 Aug 2022 23:35:27 -0700 Received: from fmsmsx609.amr.corp.intel.com (10.18.126.89) by fmsmsx609.amr.corp.intel.com (10.18.126.89) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Mon, 29 Aug 2022 23:35:27 -0700 Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) by fmsmsx609.amr.corp.intel.com (10.18.126.89) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31 via Frontend Transport; Mon, 29 Aug 2022 23:35:27 -0700 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (104.47.57.170) by edgegateway.intel.com (192.55.55.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2375.31; Mon, 29 Aug 2022 23:35:27 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=IdiH5oeNZQZwF51F/i1m46fPKO9Awu3NsGhhYCI1ZcTff7pihtHlo86RQJ41tpKBYO+nJ0IGBXKXxmI7+8RpV03wKC7YEQvyMBok5xvCcfgAIn6+TZj3Ijm/PWHdrcMh3b5H00z8Ame6J3S1LJFI8sg7PjeXCW8p66vhJfQE0driwKtnbVQ1VkPvxf/ejhxpRydYgXstrtgxUETyBQcbmVhlszijCeo8yQqDwZA/4p3TrcGnkVnybHMMGrQ+jZ1uJYDqePHUy21/cCxVv8Fz/0h9kKyYRgeLkguRyEyxQ5XHvFlBnsyKwE7QXQB65KVHyxfDyXs+aD404gm9su9hUA== 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=o39wmFR35YlbEy/tLeebBPwf49LxyNHheDZS5ASg8oQ=; b=L+11Su1A9ANmaPU8xbkJWFVB1Yl+/wFsMuCQJJOGkko8bRc0BOtpyAlsc7RR/NrJPbxU20qL3XpPbftf9TOVrqCTZIrvtvbt8ZVRxMU5SJrmNsPZMwfEH5wc95jS+YDhf77Yz6BMa34wR0k2NeVLrBpbKZ2HwzzTdW0JC3rBIaWMNTjLTV26C5cyYKy2nHbt898Vy0ChnZfj/1H101iAaP6fkjtqvAQuwETexKb3wPVfp12y0SugrXcgJldSVuqdr43hZnRBAYp13aN8h8hLI9+NWMYUZBvXMCJqAk0XdGJnnwkoHBibvXyTYZnExz3oA7A+02xlIiNH5YihMjPeCA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Received: from PH0PR11MB5064.namprd11.prod.outlook.com (2603:10b6:510:3b::15) by PH7PR11MB5981.namprd11.prod.outlook.com (2603:10b6:510:1e0::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5566.21; Tue, 30 Aug 2022 06:35:25 +0000 Received: from PH0PR11MB5064.namprd11.prod.outlook.com ([fe80::ec3f:8428:41d6:3284]) by PH0PR11MB5064.namprd11.prod.outlook.com ([fe80::ec3f:8428:41d6:3284%4]) with mapi id 15.20.5566.021; Tue, 30 Aug 2022 06:35:25 +0000 From: "Min Xu" To: "Ni, Ray" , "devel@edk2.groups.io" , "thomas.lendacky@amd.com" CC: "Gao, Jiaqi" , "Wang, Jian J" , "Gao, Liming" , "Bi, Dandan" , "Aktas, Erdem" , "James Bottomley" , "Yao, Jiewen" , "Gerd Hoffmann" Subject: Re: [edk2-devel] [PATCH V2 14/14] MdeModulePkg: Pool and page functions accept memory when OOM occurs Thread-Topic: [edk2-devel] [PATCH V2 14/14] MdeModulePkg: Pool and page functions accept memory when OOM occurs Thread-Index: AQHYud1yqfFXPcEfR0G7UrQZFSsMfq3GXU2AgAA+CACAAEtx8IAAFRGAgAAAsIA= Date: Tue, 30 Aug 2022 06:35:25 +0000 Message-ID: References: <0df27647-88c0-2b21-cfea-3f5536451567@amd.com> In-Reply-To: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-reaction: no-action dlp-version: 11.6.500.17 authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 4ab3d06e-629d-49df-d1a0-08da8a51d28a x-ms-traffictypediagnostic: PH7PR11MB5981:EE_ x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: Ni7na3HRSekMykrVWblVjPSLYLY9HCTOYghdgYTVkbQQ2yuLc3p3e0Qvw7kgfSo3kCF+XMsy4yWLYjSlcqal8gm6rIGuyxiNV4BjaWq1Q9kMKY9gJNGcuEVxqdJyO/930z1K9oX9yu6rN4vma6YEAISctBBmcyHmOwdKsFR4VGg4gcnPgGqeAnIabqOzCyFqlo03Q7JbKnqPXXD+S9H3sDKNytiDhUFlmwCfgGLpoN4fgykI7rEXEPZYSNScScrWftxLkGN1kqrH/iAya1pmFuZP7D4IVKTXqk6asAU8K8FqGFY6mi7LhJhwAgnMzghF2mNTdPAYnn3uV8tVRy206IvIhTfXFBZICbl5t9W5uwJgpFT64kFQcaf/UqOPR9Q7bVQ138+wljd52K9VtgAzhcJyXE6HgeRbFKXtjS2LUz/Mfl/PweZKFVEXYeTsUnbMCFwPs1pL25L8Vzmk/9vO9cio/c4zozOlZnPotvaLwPwYuP7hpxfSiaUnljKFcgOsMpQQJZ8DVRbe0G46ZGBRSPkxOOwrV6oqBOLbTR+zDLx7+KRZq9lTpi7S2jF+Gw41YjYZH7mz6t+l+kSiypZ05iCtx07TNFsnAdid/g78o+f/sAHO4V3++RY5m+maF7cReVVEaixZloqL9s7vHJlDZ2iUHbkQuGmXFBqIZm8YSBgGx3uiGYM/w27ngdX+1F8BY6gT1yzXqs8A2DTKrd5MzhsLGEqVIlMo9Y7QhwTD4PcMs0yQmqDpTmGF5yrg9nLLNwzqOqRZfl/BkV7bvIs97w== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PH0PR11MB5064.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230016)(39860400002)(346002)(366004)(136003)(396003)(376002)(122000001)(478600001)(55016003)(33656002)(54906003)(86362001)(41300700001)(82960400001)(316002)(110136005)(4744005)(66446008)(8676002)(38100700002)(8936002)(71200400001)(64756008)(66476007)(66556008)(26005)(186003)(52536014)(5660300002)(7696005)(6506007)(9686003)(38070700005)(76116006)(66946007)(4326008)(2906002);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?a3JTWVhTY00wQ2lsT0FGN2RtMFdrNVFaeG1pdHR5NVZWVGdaVnlIVzlSZlVH?= =?utf-8?B?WGZaSXQ3YjFxNjFwbXZFOU9Nck44ODZCKzFJd1d5bWsrU3JaQW1iNmhDR3VR?= =?utf-8?B?U0FrL2QwZEN3V2VuRnJtVWgvUHNLT3IvMU9DcWpYaFRXMi9qZ0QrMmJGWVNK?= =?utf-8?B?Q3pWQTNqWDNrY0RFSUN5RkJhYi9YSWxzTmt2Y3VjdTBLRFp1WVkvcSthN0Jq?= =?utf-8?B?QjR1SmNxL2JVdjlCUlpuZ1RGSUllUWVGZFA0cFRoTjVISGRSN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YvMXM2UXhCMXZXcG15N2VlY0ZuWGVjT2xEbWRVemM5?= =?utf-8?Q?w3sVB7bElI2Np/jXfVrNqUjEf?= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: PH0PR11MB5064.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4ab3d06e-629d-49df-d1a0-08da8a51d28a X-MS-Exchange-CrossTenant-originalarrivaltime: 30 Aug 2022 06:35:25.5331 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: WHKza3fCK/lJQS2BopQepGWeoT3MoI4eF+Lw718MDiRfyMb4tGDHjHTQhUaIpasTFQ2V5Ycq/v9Q5VFHYVNFBA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH7PR11MB5981 Return-Path: min.m.xu@intel.com X-OriginatorOrg: intel.com Content-Language: en-US Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 T24gQXVndXN0IDMwLCAyMDIyIDI6MTUgUE0sIE5pIFJheSB3cm90ZToNCj4gTWluLA0KPiBNeSB1 bmRlcnN0YW5kaW5nIGlzIHRoZXJlIGlzIGEgVERYIGRyaXZlciBpbiBEWEUgcGhhc2UgdGhhdCBh Y2NlcHRzIG1lbW9yeQ0KPiB1c2luZyBNUCBwcm90b2NvbC4NCkVka2lpTWVtb3J5QWNjZXB0UHJv dG9jb2wgaXMgYSBwcm90b2NvbCB3aGljaCBhY2NlcHQgbWVtb3JpZXMuIEl0IGlzIGltcGxlbWVu dGVkL2luc3RhbGxlZCBieSB0aGUgcGxhdGZvcm0gZHJpdmVycywgc3VjaCBhcyBUZHhEeGUgZHJp dmVyLCBvciBTRVYgZHJpdmVyLg0KSXQgaXMgdXAgdG8gdGhlIHBsYXRmb3JtIGRyaXZlciAoVGR4 IG9yIFNFViBkcml2ZXIpIGlmIE1QIHByb3RvY29sIGlzIHVzZWQuDQo+IFdlIG9ubHkgbmVlZCB0 byBtYWtlIHN1cmUgdGhlcmUgaXMgc3VmZmljaWVudCBtZW1vcnkgZm9yIGNvZGUgcnVubmluZw0K PiBiZWZvcmUgdGhhdCBwb2ludC4NCj4gSXMgbXkgdW5kZXJzdGFuZGluZyBjb3JyZWN0Pw0KVGhh dCdzIHJpZ2h0LiBCdXQgd2UnZCBiZXR0ZXIgYWNjZXB0IHN1ZmZpY2llbnQgbWVtb3J5IGZvciB0 aGUgd2hvbGUgRFhFIHBoYXNlLiBJZiBPT00gaXMgdHJpZ2dlcmVkIGl0J3MgYmV0dGVyIGFjY2Vw dCBtb3JlIG1lbW9yeSB0aGFuIHRoZSBzaXplIG5lZWRlZC4gSW4gY3VycmVudCBpbXBsZW1lbnRh dGlvbiB3ZSBhY2NlcHQgdGhlIG1lbW9yeSBpbiB1bml0cyBvZiAzMk1CLg0KDQpUaGFua3MNCk1p bg0K