diff options
| author | Matthew Wilcox <[email protected]> | 2016-12-14 23:08:02 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2016-12-15 00:04:09 +0000 |
| commit | 847d357635ce4c63b8901ab81333586a0f115fa5 (patch) | |
| tree | 512d5cb1f6aa8f44a07dbfe8e501297e5b8aebb7 /tools/testing/radix-tree/iteration_check.c | |
| parent | radix tree test suite: allow GFP_ATOMIC allocations to fail (diff) | |
| download | kernel-847d357635ce4c63b8901ab81333586a0f115fa5.tar.gz kernel-847d357635ce4c63b8901ab81333586a0f115fa5.zip | |
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/testing/radix-tree/iteration_check.c')
0 files changed, 0 insertions, 0 deletions
