[Devel] [PATCH 0/3] SUNRPC: fix races in tasks killing

Stanislav Kinsburskiy skinsbursky at virtuozzo.com
Mon Jul 10 19:41:36 MSK 2017


This series fix two races with SUNRPC tasks killing on fast stop and also fix
the kill itself (*all* the tasks are killed now, but not only those in
"pending" wait queue).

https://jira.sw.ru/browse/PSBM-68214

---

Stanislav Kinsburskiy (3):
      sunrpc: fix race between "kill_tasks" set and actual task killing
      sunrpc: use rpc_killall_tasks helper when "kill_tasks" toggle is raised
      sunrpc: do not place task to sleep if has to be killed


 net/sunrpc/clnt.c  |   13 ++++++-------
 net/sunrpc/sched.c |    6 ++++++
 2 files changed, 12 insertions(+), 7 deletions(-)

--


More information about the Devel mailing list