[Devel] [PATCH hci-8.1 v3 1/5] dm-ploop: fix lost wakeup in ploop_allocator()
Denis V. Lunev
den at openvz.org
Thu Oct 8 19:51:19 MSK 2026
On 08.10.2026 16:03, Alexander Ivanov wrote:
> + /*
> + * Set the state before checking the conditions, otherwise
> + * wake_up_process() from ploop_req_prealloc() or
> + * kthread_stop() may come in between and get lost.
> + */
> + set_current_state(TASK_INTERRUPTIBLE);
This is the canonical kthread loop and the commit message already
explains why. Please drop the comment.
With that:
Reviewed-by: Denis V. Lunev <den at openvz.org>
More information about the Devel
mailing list