Re: [PATCH] mm: mempolicy: fix automatic numa balancing for shmem
From: Huang, Ying
Date: Tue Jun 30 2026 - 07:29:02 EST
Gregory Price <gourry@xxxxxxxxxx> writes:
[snip]
> Demotions don't care about mempolicy, so opting shmem out of NUMA
> balancing and mbind'ing on a tiered system is just full sadness.
>
> This is all just more evidence that demotion needs to be completely
> redone, it's creating a mess of undefined behavior for memory placement.
It's hard to respect mempolicy during demotion in the current
implementation. Do you have any ideas on how to improve this?
---
Best Regards,
Huang, Ying