ew Cooper
> ; George Dunlap ;
> Jan Beulich ; Wei Liu
> Subject: RE: [PATCH v3 5/6] xen/arm: unpopulate memory when domain is
> static
>
> On Wed, 27 Apr 2022, Penny Zheng wrote:
> > > Hi Penny,
> > >
> > > On 27/04/2022 11:19, Penny Zheng wrote:
>
On Wed, 27 Apr 2022, Penny Zheng wrote:
> > Hi Penny,
> >
> > On 27/04/2022 11:19, Penny Zheng wrote:
> > >>> +/*
> > >>> + * Put free pages on the resv page list after having taken them
> > >>> + * off the "normal" page list, when pages from static memory */
> > >>> +#ifdef CONFIG_STATIC_MEMORY
orge Dunlap ;
> Jan Beulich ; Wei Liu
> Subject: Re: [PATCH v3 5/6] xen/arm: unpopulate memory when domain is
> static
>
> Hi Penny,
>
> On 27/04/2022 11:19, Penny Zheng wrote:
> >>> +/*
> >>> + * Put free pages on the resv page list after having
Hi Penny,
On 27/04/2022 11:19, Penny Zheng wrote:
+/*
+ * Put free pages on the resv page list after having taken them
+ * off the "normal" page list, when pages from static memory */
+#ifdef CONFIG_STATIC_MEMORY
+#define arch_free_heap_page(d, pg) ({ \
+page_list_del(pg,
orge Dunlap ;
> Jan Beulich ; Wei Liu
> Subject: Re: [PATCH v3 5/6] xen/arm: unpopulate memory when domain is
> static
>
> Hi Penny,
>
> On 27/04/2022 10:27, Penny Zheng wrote:
> > Today when a domain unpopulates the memory on runtime, they will
> > always
Hi Penny,
On 27/04/2022 10:27, Penny Zheng wrote:
Today when a domain unpopulates the memory on runtime, they will always
hand the memory back to the heap allocator. And it will be a problem if domain
is static.
Pages as guest RAM for static domain shall be reserved to only this domain
and not
Today when a domain unpopulates the memory on runtime, they will always
hand the memory back to the heap allocator. And it will be a problem if domain
is static.
Pages as guest RAM for static domain shall be reserved to only this domain
and not be used for any other purposes, so they shall never g