Re: [PATCH] Xen: Design doc for 1:1 direct-map and static allocation

2021-05-20 Thread Julien Grall
On 20/05/2021 06:36, Penny Zheng wrote: Hi Julien Hi Penny, + +Later, when domain get destroyed and memory relinquished, only pages +in `page_list` go back to heap, and pages in `reserved_page_list` shall not. While going through the series, I could not find any code implementing this. H

RE: [PATCH] Xen: Design doc for 1:1 direct-map and static allocation

2021-05-19 Thread Penny Zheng
Hi Julien > -Original Message- > From: Julien Grall > Sent: Tuesday, May 18, 2021 7:48 PM > To: Penny Zheng ; xen-devel@lists.xenproject.org; > sstabell...@kernel.org > Cc: Bertrand Marquis ; Wei Chen > ; nd > Subject: Re: [PATCH] Xen: Design doc for 1:1 direct-m

Re: [PATCH] Xen: Design doc for 1:1 direct-map and static allocation

2021-05-18 Thread Julien Grall
Hi Penny, On 18/05/2021 06:07, Penny Zheng wrote: Create one design doc for 1:1 direct-map and static allocation. It is the first draft and aims to describe why and how we allocate 1:1 direct-map(guest physical == physical) domains, and why and how we let domains on static allocation. Signed-of

Re: [PATCH] Xen: Design doc for 1:1 direct-map and static allocation

2021-05-18 Thread Jan Beulich
On 18.05.2021 07:07, Penny Zheng wrote: > +## Background > + > +Cases where needs static allocation: > + > + * Static allocation needed whenever a system has a pre-defined non-changing > +behaviour. This is usually the case in safety world where system must behave > +the same upon reboot, so memor