On 25.06.2024 15:51, Oleksii Kurochko wrote: > Signed-off-by: Oleksii Kurochko <[email protected]> > Acked-by: Jan Beulich <[email protected]> > --- > Changes in V13: > - redefine mfn_to_page() and mfn_to_page().
DYM page_to_mfn() here as one of the two? > +/* Convert between machine frame numbers and page-info structures. */ > +#define mfn_to_page(mfn) (frame_table + mfn_x(mfn)) > +#define page_to_mfn(pg) _mfn((unsigned long)((pg) - frame_table)) Is the cast really needed here? Jan
