diff options
author | Sebastian Andrzej Siewior <bigeasy@linutronix.de> | 2021-11-29 20:46:44 +0300 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2021-12-04 12:56:22 +0300 |
commit | 9d0df37797453f168afdb2e6fd0353c73718ae9a (patch) | |
tree | 31ff628d481cc9c76881994ff59d69840c3e5a4c /kernel/sched/cpudeadline.c | |
parent | 4e0d84634445ed550498d613a49ea8f6cfa5e66c (diff) | |
download | linux-9d0df37797453f168afdb2e6fd0353c73718ae9a.tar.xz |
sched: Trigger warning if ->migration_disabled counter underflows.
If migrate_enable() is used more often than its counter part then it
remains undetected and rq::nr_pinned will underflow, too.
Add a warning if migrate_enable() is attempted if without a matching a
migrate_disable().
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lore.kernel.org/r/20211129174654.668506-2-bigeasy@linutronix.de
Diffstat (limited to 'kernel/sched/cpudeadline.c')
0 files changed, 0 insertions, 0 deletions