Re: [Xen-devel] [PATCH 1/2] x86/mm: Override mfn_to_page() and page_to_mfn() to use mfn_t

2017-08-18 Thread Andrew Cooper
On 18/08/17 13:16, Jan Beulich wrote: On 18.08.17 at 12:27, wrote: >> To avoid breaking the build elsewhere, the l{1..4}e_{from,get}_page() macros >> are switched to using __mfn_to_page() and __page_to_mfn(). >> >> Most changes are wrapping or removing

Re: [Xen-devel] [PATCH 1/2] x86/mm: Override mfn_to_page() and page_to_mfn() to use mfn_t

2017-08-18 Thread Jan Beulich
>>> On 18.08.17 at 12:27, wrote: > To avoid breaking the build elsewhere, the l{1..4}e_{from,get}_page() macros > are switched to using __mfn_to_page() and __page_to_mfn(). > > Most changes are wrapping or removing _mfn()/mfn_x() from existing callsites. > > However,

Re: [Xen-devel] [PATCH 1/2] x86/mm: Override mfn_to_page() and page_to_mfn() to use mfn_t

2017-08-18 Thread Wei Liu
On Fri, Aug 18, 2017 at 11:27:26AM +0100, Andrew Cooper wrote: > To avoid breaking the build elsewhere, the l{1..4}e_{from,get}_page() macros > are switched to using __mfn_to_page() and __page_to_mfn(). > > Most changes are wrapping or removing _mfn()/mfn_x() from existing callsites. > >

[Xen-devel] [PATCH 1/2] x86/mm: Override mfn_to_page() and page_to_mfn() to use mfn_t

2017-08-18 Thread Andrew Cooper
To avoid breaking the build elsewhere, the l{1..4}e_{from,get}_page() macros are switched to using __mfn_to_page() and __page_to_mfn(). Most changes are wrapping or removing _mfn()/mfn_x() from existing callsites. However, {alloc,free}_l1_table() are switched to using __map_domain_page(), as