[Devel] [PATCH hci-8.1 v2 0/4] mempolicy: prohibit mbind and set_mempolicy_home_node in VE
Konstantin Khorenko
khorenko at virtuozzo.com
Tue Nov 17 17:32:59 MSK 2026
On Fri, 06 Nov 2026 15:01:31 +0100, Konstantin Khorenko wrote:
> mempolicy: prohibit mbind and set_mempolicy_home_node in VE
>
> A CT is meant to see a kernel without NUMA, so the NUMA API syscalls
> return -ENOSYS in a non-super VE.
>
> mbind(2) was blocked in vz7, but the vz8 port put its check into the
> compat entry point only, and the compat entry points were dropped on
> the rebase to RHEL9. Since then a CT task can bind its pages to nodes
> and migrate them with mbind(2), while get_mempolicy(2) tells it there
> is no NUMA.
>
> [...]
Applied to branch-rh10-6.12.0-211.75.1.26.x.vz10-ovz, will be released in rh10-6.12.0-211.75.1.24.3.vz10, thanks!
[1/4] mempolicy: prohibit mbind and set_mempolicy_home_node in VE
https://bitbucket.org/virtuozzocore/vzkernel.vzs/commits/7593474441d1
[2/4] selftests/ve: check that the NUMA API syscalls return ENOSYS in a VE
https://bitbucket.org/virtuozzocore/vzkernel.vzs/commits/c080e4a7de94
[3/4] shmem: reject the mpol= mount option in VE
https://bitbucket.org/virtuozzocore/vzkernel.vzs/commits/17d7dd7e0443
[4/4] selftests/ve: check that tmpfs rejects mpol= in a VE
https://bitbucket.org/virtuozzocore/vzkernel.vzs/commits/42df7bb1854e
--
Konstantin Khorenko,
Virtuozzo Linux Kernel Team
More information about the Devel
mailing list