Re: [PATCH v2] kpageflags: respect folio head-page flag placement

From: Kefeng Wang
Date: Thu Nov 09 2023 - 04:05:54 EST




On 2023/11/9 7:33, Gregory Price wrote:
On Wed, Nov 08, 2023 at 10:01:19AM +0800, Kefeng Wang wrote:

Yes, I see your "Node Weights and Weighted Interleave", this is an
interesting topic, we need some easy and efficient way to use tiered
memory.


There will be an LPC talk on it next week in the CXL track, presented
by another group that's been testing it. Please tune in!

Sure.



There's only a handful, so yeah the best way is probably to go ahead and
swap k = page->flags for k = *folio_flags(folio, 0) and then handle the
couple of outliars.

If you don't mind, I maybe try to convert it in my changes.


Please feel free! I am happy to help test, CC me on subsequent patches
please!

Will do, thanks.

~Gregory