RE: [PATCH 07/10] xen/arm: intruduce alloc_domstatic_pages

2021-06-02 Thread Penny Zheng
; Wei Chen > >> ; nd ; xen-devel@lists.xenproject.org; > >> sstabell...@kernel.org; jul...@xen.org > >> Subject: Re: [PATCH 07/10] xen/arm: intruduce alloc_domstatic_pages > >> > >> On 18.05.2021 10:57, Penny Zheng wrote: > >>>> From:

Re: [PATCH 07/10] xen/arm: intruduce alloc_domstatic_pages

2021-05-21 Thread Jan Beulich
ell...@kernel.org; jul...@xen.org >> Subject: Re: [PATCH 07/10] xen/arm: intruduce alloc_domstatic_pages >> >> On 18.05.2021 10:57, Penny Zheng wrote: >>>> From: Jan Beulich >>>> Sent: Tuesday, May 18, 2021 3:35 PM >>>> >>>&g

RE: [PATCH 07/10] xen/arm: intruduce alloc_domstatic_pages

2021-05-20 Thread Penny Zheng
Hi Jan > -Original Message- > From: Jan Beulich > Sent: Tuesday, May 18, 2021 7:23 PM > To: Penny Zheng > Cc: Bertrand Marquis ; Wei Chen > ; nd ; xen-devel@lists.xenproject.org; > sstabell...@kernel.org; jul...@xen.org > Subject: Re: [PATCH 0

Re: [PATCH 07/10] xen/arm: intruduce alloc_domstatic_pages

2021-05-19 Thread Julien Grall
; jul...@xen.org Subject: Re: [PATCH 07/10] xen/arm: intruduce alloc_domstatic_pages On 18.05.2021 07:21, Penny Zheng wrote: --- a/xen/common/page_alloc.c +++ b/xen/common/page_alloc.c @@ -2447,6 +2447,9 @@ int assign_pages( { ASSERT(page_get_owner(&pg[i]) ==

RE: [PATCH 07/10] xen/arm: intruduce alloc_domstatic_pages

2021-05-19 Thread Penny Zheng
n > >> ; nd ; xen- > de...@lists.xenproject.org; > >> sstabell...@kernel.org; jul...@xen.org > >> Subject: Re: [PATCH 07/10] xen/arm: intruduce alloc_domstatic_pages > >> > >> On 18.05.2021 07:21, Penny Zheng wrote: > >>> --- a/x

RE: [PATCH 07/10] xen/arm: intruduce alloc_domstatic_pages

2021-05-18 Thread Penny Zheng
Hi Julien > -Original Message- > From: Julien Grall > Sent: Tuesday, May 18, 2021 6:30 PM > To: Penny Zheng ; xen-devel@lists.xenproject.org; > sstabell...@kernel.org > Cc: Bertrand Marquis ; Wei Chen > ; nd > Subject: Re: [PATCH 07/10] xen/arm: intruduce alloc

Re: [PATCH 07/10] xen/arm: intruduce alloc_domstatic_pages

2021-05-18 Thread Julien Grall
Hi Penny, On 18/05/2021 09:57, Penny Zheng wrote: -Original Message- From: Jan Beulich Sent: Tuesday, May 18, 2021 3:35 PM To: Penny Zheng Cc: Bertrand Marquis ; Wei Chen ; nd ; xen-devel@lists.xenproject.org; sstabell...@kernel.org; jul...@xen.org Subject: Re: [PATCH 07/10] xen/arm

Re: [PATCH 07/10] xen/arm: intruduce alloc_domstatic_pages

2021-05-18 Thread Jan Beulich
On 18.05.2021 10:57, Penny Zheng wrote: >> From: Jan Beulich >> Sent: Tuesday, May 18, 2021 3:35 PM >> >> On 18.05.2021 07:21, Penny Zheng wrote: >>> --- a/xen/common/page_alloc.c >>> +++ b/xen/common/page_alloc.c >>> @@ -2447,6 +2447,9 @@ int assign_pages( >>> { >>> ASSERT(page_get_

Re: [PATCH 07/10] xen/arm: intruduce alloc_domstatic_pages

2021-05-18 Thread Julien Grall
Hi Penny, Title: s/intruduce/introduce/ On 18/05/2021 06:21, Penny Zheng wrote: alloc_domstatic_pages is the equivalent of alloc_domheap_pages for static mmeory, and it is to allocate nr_pfns pages of static memory and assign them to one specific domain. It uses alloc_staticmen_pages to get nr

RE: [PATCH 07/10] xen/arm: intruduce alloc_domstatic_pages

2021-05-18 Thread Penny Zheng
Hi Jan > -Original Message- > From: Jan Beulich > Sent: Tuesday, May 18, 2021 3:35 PM > To: Penny Zheng > Cc: Bertrand Marquis ; Wei Chen > ; nd ; xen-devel@lists.xenproject.org; > sstabell...@kernel.org; jul...@xen.org > Subject: Re: [PATCH 0

Re: [PATCH 07/10] xen/arm: intruduce alloc_domstatic_pages

2021-05-18 Thread Jan Beulich
On 18.05.2021 07:21, Penny Zheng wrote: > --- a/xen/common/page_alloc.c > +++ b/xen/common/page_alloc.c > @@ -2447,6 +2447,9 @@ int assign_pages( > { > ASSERT(page_get_owner(&pg[i]) == NULL); > page_set_owner(&pg[i], d); > +/* use page_set_reserved_owner to set its re

[PATCH 07/10] xen/arm: intruduce alloc_domstatic_pages

2021-05-17 Thread Penny Zheng
alloc_domstatic_pages is the equivalent of alloc_domheap_pages for static mmeory, and it is to allocate nr_pfns pages of static memory and assign them to one specific domain. It uses alloc_staticmen_pages to get nr_pages pages of static memory, then on success, it will use assign_pages to assign t