Re: [Xen-devel] [PATCH v2 14/18] mini-os: move p2m related macros to header file

2016-08-10 Thread Samuel Thibault
Juergen Gross, on Fri 05 Aug 2016 19:35:58 +0200, wrote: > In order to be able to use p2m related macros for ballooning move > their definitions to arch/x86/mm.h. > > There is no need to define different macros regarding index masks and > number of entries for the different levels, as all levels

[Xen-devel] [PATCH v2 14/18] mini-os: move p2m related macros to header file

2016-08-05 Thread Juergen Gross
In order to be able to use p2m related macros for ballooning move their definitions to arch/x86/mm.h. There is no need to define different macros regarding index masks and number of entries for the different levels, as all levels share the same entry format (a plain mfn). So reduce the number of