Re: [Xen-devel] [PATCH v6 7/9] x86/mm: provide put_page_type_ptpg{, _preemptible}

2018-03-13 Thread Jan Beulich
>>> On 13.02.18 at 21:04, wrote: > @@ -2736,8 +2744,8 @@ int put_old_guest_table(struct vcpu *v) > if ( !v->arch.old_guest_table ) > return 0; > > -switch ( rc = _put_page_type(v->arch.old_guest_table, true, > -

Re: [Xen-devel] [PATCH v6 7/9] x86/mm: provide put_page_type_ptpg{, _preemptible}

2018-03-13 Thread Jan Beulich
>>> On 13.02.18 at 21:04, wrote: > And replace open-coded _put_page_type where the parent table parameter > is not null. > > This is in preparation for code movement in which various > put_page_from_lNe will be moved to pv/mm.c. I dislike both the proliferation of new

[Xen-devel] [PATCH v6 7/9] x86/mm: provide put_page_type_ptpg{, _preemptible}

2018-02-13 Thread Wei Liu
And replace open-coded _put_page_type where the parent table parameter is not null. This is in preparation for code movement in which various put_page_from_lNe will be moved to pv/mm.c. Signed-off-by: Wei Liu --- xen/arch/x86/mm.c| 28 ++--