Messages in this thread | | | From | "Huang, Ying" <> | Subject | Re: [PATCH -next 1/7] mm_types: add _last_cpupid into folio | Date | Tue, 10 Oct 2023 16:17:14 +0800 |
| |
Kefeng Wang <wangkefeng.wang@huawei.com> 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
| |