[Devel] [PATCH hci-8.1 v2 0/4] mempolicy: prohibit mbind and set_mempolicy_home_node in VE
Vasileios Almpanis
vasileios.almpanis at virtuozzo.com
Fri Nov 6 17:19:25 MSK 2026
On Fri, 06 Nov 2026 15:01:31 +0100, Konstantin Khorenko <khorenko at virtuozzo.com> 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.
>
> [...]
Reviewed-by: Vasileios Almpanis <vasileios.almpanis at virtuozzo.com>
--
Vasileios Almpanis <vasileios.almpanis at virtuozzo.com>
More information about the Devel
mailing list