Re: [PATCH v5 2/9] xen: do not free reserved memory into heap

2022-06-02 Thread Jan Beulich
On 02.06.2022 04:18, Penny Zheng wrote: >> From: Jan Beulich >> Sent: Tuesday, May 31, 2022 4:37 PM >> >> On 31.05.2022 05:12, Penny Zheng wrote: >>> --- a/xen/common/page_alloc.c >>> +++ b/xen/common/page_alloc.c >>> @@ -151,10 +151,6 @@ >>> #define p2m_pod_offline_or_broken_replace(pg) BUG_ON(p

RE: [PATCH v5 2/9] xen: do not free reserved memory into heap

2022-06-01 Thread Penny Zheng
s.xenproject.org > Subject: Re: [PATCH v5 2/9] xen: do not free reserved memory into heap > > On 31.05.2022 05:12, Penny Zheng wrote: > > Pages used as guest RAM for static domain, shall be reserved to this > > domain only. > > So in case reserved pages being used for

Re: [PATCH v5 2/9] xen: do not free reserved memory into heap

2022-05-31 Thread Jan Beulich
On 31.05.2022 05:12, Penny Zheng wrote: > Pages used as guest RAM for static domain, shall be reserved to this > domain only. > So in case reserved pages being used for other purpose, users > shall not free them back to heap, even when last ref gets dropped. > > free_staticmem_pages will be called

[PATCH v5 2/9] xen: do not free reserved memory into heap

2022-05-30 Thread Penny Zheng
Pages used as guest RAM for static domain, shall be reserved to this domain only. So in case reserved pages being used for other purpose, users shall not free them back to heap, even when last ref gets dropped. free_staticmem_pages will be called by free_heap_pages in runtime for static domain fre