Re: [PATCH -next 1/7] mm_types: add _last_cpupid into folio

From: Huang, Ying
Date: Tue Oct 10 2023 - 04:20:19 EST


Kefeng Wang <wangkefeng.wang@xxxxxxxxxx> writes:

> At present, only arc/sparc/m68k define WANT_PAGE_VIRTUAL, both of
> them don't support numa balancing, and the page struct is aligned
> to _struct_page_alignment, it is safe to move _last_cpupid before
> 'virtual' in page, meanwhile, add it into folio, which make us to
> use folio->_last_cpupid directly.

Add BUILD_BUG_ON() to check this automatically?

--
Best Regards,
Huang, Ying