REORG: sched: move the stolen CPU time detection to sched_entering_poll()
authorWilly Tarreau <w@1wt.eu>
Thu, 30 Sep 2021 16:20:30 +0000 (18:20 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 1 Oct 2021 16:37:51 +0000 (18:37 +0200)
commit1cdb531ec8833cdd7ee8c0dcb7a8de4e8ee29f25
tree6761a032623909e5404389fcff7f2f5780f6e946
parent6dfab112e112716f93f6beb946a28648c8dd6135
REORG: sched: move the stolen CPU time detection to sched_entering_poll()

That's where that code initially was but it had been moved to
activity_count_runtime() for pure reasons of dependency loops. These
ones are no longer true so we can move that code back to the scheduler
and keep it where the information are updated and checked.
include/haproxy/activity.h
include/haproxy/task.h