Re: [patch V3 17/18] posix-timers: Provide a mechanism to allocate a given timer ID

From: Cyrill Gorcunov
Date: Sat Mar 08 2025 - 17:25:52 EST


On Sat, Mar 08, 2025 at 05:48:47PM +0100, Thomas Gleixner wrote:
> Checkpoint/Restore in Userspace (CRIU) requires to reconstruct posix timers
> with the same timer ID on restore. It uses sys_timer_create() and relies on
> the monotonic increasing timer ID provided by this syscall. It creates and
> deletes timers until the desired ID is reached. This is can loop for a long
> time, when the checkpointed process had a very sparse timer ID range.
...
(I've reran test with new series)

Reviewed-by: Cyrill Gorcunov <gorcunov@xxxxxxxxx>
Tested-by: Cyrill Gorcunov <gorcunov@xxxxxxxxx>