BUG/MEDIUM: tasks: make __task_unlink_rq responsible for the rqueue size.
authorOlivier Houchard <ohouchard@haproxy.com>
Thu, 26 Jul 2018 13:59:38 +0000 (15:59 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 26 Jul 2018 14:33:29 +0000 (16:33 +0200)
commit77551ee8a733e7ef2a12691ddcd263528c2ea1e0
treecf1b8b8c4deeb13b113df599f08b50f5cabdb17b
parent76e45181b2767de0d85515763264692083dbc454
BUG/MEDIUM: tasks: make __task_unlink_rq responsible for the rqueue size.

As __task_wakeup() is responsible for increasing
rqueue_local[tid]/global_rqueue_size, make __task_unlink_rq responsible for
decreasing it, as process_runnable_tasks() isn't the only one that removes
tasks from runqueues.
include/proto/task.h
src/task.c