[Devel] [PATCH vz10 5/6] fs: give the mount relaxations of a pseudosuper VE only to setup tasks

Konstantin Khorenko khorenko at virtuozzo.com
Mon Nov 16 20:17:50 MSK 2026


I won't apply this version, please send v2.

On Mon, 16 Nov 2026 14:45:48 +0400, Mirian Shilakadze wrote:
> +	bool host_entered = ve->is_pseudosuper && task_ve(current) == ve &&
> +			    mm && mm->vps_dumpable == VD_VE_ENTER_TASK;

Item 5 of the cover letter reply: take Sashiko's two points (subject,
helper) and update the "In case of @is_pseudosuper set" comment in
ve_devmnt_process().

Why: the subject promises the relaxations go only to setup tasks,
while the mount limit also lets host-entered tasks through. The
helper keeps the two tests in one place. The comment still describes
the old check.

-- 
Konstantin Khorenko,
Virtuozzo Linux Kernel Team



More information about the Devel mailing list