Re: [LSF/MM/BPF TOPIC] BoF VM live migration over CXL m emory​

"Huang, Ying" <[email protected]> Tue, 11 Apr 2023 14:37:50 +0800
Newsgroups dev.linux.lists.nil-migration,org.kernel.vger.linux-cxl,org.kvack.linux-mm
Message-ID <[email protected]>
Gregory Price <[email protected]> writes:

[snip]

> 2. During the migration process, the memory needs to be forced not to be
>    migrated to another node by other means (tiering software, swap,
>    etc).  The obvious way of doing this would be to migrate and
>    temporarily pin the page... but going back to problem #1 we see that
>    ZONE_MOVABLE and Pinning are mutually exclusive.  So that's
>    troublesome.

Can we use memory policy (cpusets, mbind(), set_mempolicy(), etc.) to
avoid move pages out of CXL.mem node?  Now, there are gaps in tiering,
but I think it is fixable.

Best Regards,
Huang, Ying

[snip]