[LTP] [PATCH 2/3] ipc/semget05: Set dynamic run time
Petr Vorel
pvorel@suse.cz
Fri May 5 18:24:10 CEST 2023
Hi Martin,
> The semget() syscall can be slow on some archs so too high default
> system limit may cause timeouts. Set dynamic run time based on
> semaphore limit.
> I've originally tried to create an IPC namespace and set low custom limit
> but IPC namespaces don't allow unprivileged users to reconfigure them
> like the network namespaces do. This is the second best solution.
IMHO good enough.
Reviewed-by: Petr Vorel <pvorel@suse.cz>
Kind regards,
Petr
More information about the ltp
mailing list