[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v7 9/9] xen: retrieve reserved pages on populate_physmap
- To: Penny Zheng <Penny.Zheng@xxxxxxx>
- From: Jan Beulich <jbeulich@xxxxxxxx>
- Date: Wed, 22 Jun 2022 11:26:30 +0200
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=suse.com; dmarc=pass action=none header.from=suse.com; dkim=pass header.d=suse.com; arc=none
- 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=AuZs7AscUaUDYSw/FQhVebXRBQoXaWNVZm36XO4KP9o=; b=ZCjyGEcRoJownKXm1wv7EjD7XUs/kiRjBF7LdFoy0ZyV/8qYWl4jVzorM6fQyhoQxr12AU2cmjnXYxbZG2RHJ4EP1wdndlPgRRVWQqP1rbuIcpIuTupUNS7/R7PbleOMMP0aALJrQTLdwXu/63Sxy7W1aAv6VzfE0D7Ks0FbL0WyvetuAIVZGRsOmnCA/iAbZeWb9tvjJViS+JMKQBNuLkonOyinBVvbnVpH1aHLFGtQghzADpQQ9nQ+i9NrgvYp4BYNVzdYnj/6QoxYTG68eclnUW5U7tY7pQ8HsaBHkPpwhE6nTiiFPGOh6KjY0VVARzs4BLWoTzrVzdXyy7p5LQ==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=I8ejIyPckfKg2PLK+HSClOuXW4z9GgYWYIwsoQgFi2HQo4u5fDdfZs12WZ4llMgBEKJHsdziByY3OirgsmD1dyc8zWRAM4+6wDcUnVRm8Hf3T/efoRg8WVyNVLK1VxB5J6Ox7PohQQ0B2rG+lTtBggEodPUKyT/bQhxowhBqFGoutKxxV9i4RDWBMLq7lqztFTaAfhmW8ih9spmjQ7BXarOQSg4/B3HjmYSjGiEI6mN5BsoL0YdLc2zmPrIVCJRaGt6H5jXuTeNwPloDNAPJ48s7NwgRIIBDaNQReBjGYK6leC2zFg5sxJr3I9SWaiCwzUpoWdxoyB2uSisVj5jyrA==
- Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com;
- Cc: wei.chen@xxxxxxx, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, George Dunlap <george.dunlap@xxxxxxxxxx>, Julien Grall <julien@xxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxx
- Delivery-date: Wed, 22 Jun 2022 09:26:34 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
On 20.06.2022 04:44, Penny Zheng wrote:
> When a static domain populates memory through populate_physmap at runtime,
> it shall retrieve reserved pages from resv_page_list to make sure that
> guest RAM is still restricted in statically configured memory regions.
> This commit also introduces a new helper acquire_reserved_page to make it
> work.
>
> Signed-off-by: Penny Zheng <penny.zheng@xxxxxxx>
> ---
> v7 changes:
> - remove the lock, since we add the page to rsv_page_list after it has
> been totally freed.
Was this meant to go into another patch? I can't seem to locate respective
code here, and the remark also doesn't give enough suitable context.
Jan
|