diff options
author | Liming Wu <liming.wu@jaguarmicro.com> | 2023-08-25 05:35:00 +0300 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2023-09-22 12:50:49 +0300 |
commit | dc461c48deda8a2d243fbaf49e276d555eb833d8 (patch) | |
tree | f5a2140ac7adf43b7bb999f0bc02c01f60e2a03e /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 8bf0cdfac7f8aa3fa6151b5c5f5eebdb44a64e89 (diff) | |
download | linux-dc461c48deda8a2d243fbaf49e276d555eb833d8.tar.xz |
sched/debug: Avoid checking in_atomic_preempt_off() twice in schedule_debug()
in_atomic_preempt_off() already gets called in schedule_debug() once,
which is the only caller of __schedule_bug().
Skip the second call within __schedule_bug(), it should always be true
at this point.
[ mingo: Clarified the changelog. ]
Signed-off-by: Liming Wu <liming.wu@jaguarmicro.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/20230825023501.1848-1-liming.wu@jaguarmicro.com
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions