I tested this on Ubuntu 5.4.0-1133 directly in focal.
As well as a Noble system container under that focal 

root@f-vm:~# uname -a
Linux f-vm 5.4.0-1133-kvm #142-Ubuntu SMP Fri May 2 19:51:44 UTC 2025 x86_64 
x86_64 x86_64 GNU/Linux

root@f-vm:~# numactl --membind=0 echo success
success

root@n-2ndlvl:~# numactl --membind=0 echo success
setting membind: Invalid argument

So it might be that noble container (with the new code) on an older
kernel (without the MPOL_PREFERRED_MANY) is the way to go. Ready for a
backport + PPA + tests.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2136104

Title:
  numactl gives "Invalid argument" error when trying to set a node for
  memory using membind

To manage notifications about this bug go to:
https://bugs.launchpad.net/appmajix/+bug/2136104/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to