summaryrefslogtreecommitdiff
path: root/kernel/locking
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>2021-08-12 15:40:05 +0300
committerMinda Chen <minda.chen@starfivetech.com>2023-11-06 14:24:44 +0300
commit27b073576dcb1cac6c2855aa6688156903d4740e (patch)
tree1de33279831c1d8eaa58a69276e9db79cd306466 /kernel/locking
parent5f297abfa3e29a9c1311a68dbbc63561472147a6 (diff)
downloadlinux-27b073576dcb1cac6c2855aa6688156903d4740e.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>
Diffstat (limited to 'kernel/locking')
0 files changed, 0 insertions, 0 deletions