aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sched-migration.py
diff options
context:
space:
mode:
authorMatthew Wilcox <[email protected]>2016-12-14 15:08:02 -0800
committerLinus Torvalds <[email protected]>2016-12-14 16:04:09 -0800
commit847d357635ce4c63b8901ab81333586a0f115fa5 (patch)
tree512d5cb1f6aa8f44a07dbfe8e501297e5b8aebb7 /tools/perf/scripts/python/sched-migration.py
parent31023cd66468359790beb046b6808fe0444672a2 (diff)
radix tree test suite: track preempt_count
Rather than simply NOP out preempt_enable() and preempt_disable(), keep track of preempt_count and display it regularly in case either the test suite or the code under test is forgetting to balance the enables & disables. Only found a test-case that was forgetting to re-enable preemption, but it's a possibility worth checking. Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Matthew Wilcox <[email protected]> Tested-by: Kirill A. Shutemov <[email protected]> Cc: Konstantin Khlebnikov <[email protected]> Cc: Ross Zwisler <[email protected]> Cc: Matthew Wilcox <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions