On Mon, Jun 13, 2022 at 09:51:12PM +0200, Hans de Goede wrote: > Since the hmm-pool code has been removed this now always gets set > to HMM_PAGE_TYPE_GENERAL, so just remove it. ... > struct hmm_page_object { > struct page *page; > - enum hmm_page_type type; > }; Not sure if you have the same idea after this, i.e. replacing custom data type by direct use of struct page pointer. -- With Best Regards, Andy Shevchenko