[Devel] [PATCH hci-8.1 v2 3/4] shmem: reject the mpol= mount option in VE
no-reply at sashiko.virtuozzo.com
no-reply at sashiko.virtuozzo.com
Fri Nov 6 17:05:53 MSK 2026
> A CT is meant to see a kernel without NUMA support, so the NUMA API
> syscalls return -ENOSYS in a non-super VE. The tmpfs mpol= mount option
> still lets a CT set a NUMA memory policy for all files of a tmpfs
> mount.
>
> Reject mpol= in a non-super VE the way a kernel built without
> CONFIG_NUMA does: the mount fails with -EINVAL and "Unsupported
> parameter 'mpol'".
>
> https://virtuozzo.atlassian.net/browse/VSTOR-153679
>
> Feature: mm: prohibit NUMA API inside CT
> Signed-off-by: Konstantin Khorenko <khorenko at virtuozzo.com>
Sashiko has reviewed this patch and found no issues. It looks great!
--
Sashiko AI review · https://sashiko.vzint.dev/#/patchset/20261106-b4-prep-khorenko-vstor-153679-mbind-ve-v2-0-6327b23a2d93@virtuozzo.com?part=3
More information about the Devel
mailing list