Re: [RFC] Disable auto_movable_ratio for selfhosted memmap
From: David Hildenbrand
Date: Mon Jul 28 2025 - 09:03:38 EST
On 28.07.25 15:00, Michal Hocko wrote:
On Mon 28-07-25 14:27:29, David Hildenbrand wrote:
[...]
I think the whole libdaxctl handling for onlining memory is based on that.
Sorry, forgot to add a pointer:
https://github.com/pmem/ndctl/blob/main/daxctl/lib/libdaxctl.c
Thanks for the pointer! I will have a look.
In particular daxctl_memory_op(), used to implement stuff like
daxctl online-memory
daxctl offline-memory
daxctl reconfigure-device (--no-online, --no-movable)
I am not sure if they also offline memory automatically before disabling
a device.
But in essence, they want to to everything automatically as possible.
--
Cheers,
David / dhildenb