mbox series

[0/2] fix task_work interation with freezing

Message ID cover.1720368770.git.asml.silence@gmail.com (mailing list archive)
Headers show
Series fix task_work interation with freezing | expand

Message

Pavel Begunkov July 7, 2024, 4:32 p.m. UTC
It's reported [1] that a task_work queued at a wrong time can prevent
freezing and make the tasks to spin in get_signal() taking 100%
of CPU. Patch 1 is a preparation. Patch 2 addresses the issue.

[1] https://github.com/systemd/systemd/issues/33626

Pavel Begunkov (2):
  io_uring/io-wq: limit retrying worker initialisation
  signal: rerun task_work while freezing

 io_uring/io-wq.c | 10 +++++++---
 kernel/signal.c  |  4 ++++
 2 files changed, 11 insertions(+), 3 deletions(-)