diff options
| author | Yuyang Du <[email protected]> | 2019-05-06 16:19:39 +0800 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2019-06-03 11:55:53 +0200 |
| commit | bf998b98f5bce4ebc97b3980016f54fabb7a4958 (patch) | |
| tree | fb88942822d3abf2f7dfcb34e2d4e9aac7cb5a8b /tools/perf/scripts/python | |
| parent | 4d56330df22dd9dd9a24f147014f60ee4c914fb8 (diff) | |
locking/lockdep: Remove !dir in lock irq usage check
In mark_lock_irq(), the following checks are performed:
----------------------------------
| -> | unsafe | read unsafe |
|----------------------------------|
| safe | F B | F* B* |
|----------------------------------|
| read safe | F? B* | - |
----------------------------------
Where:
F: check_usage_forwards
B: check_usage_backwards
*: check enabled by STRICT_READ_CHECKS
?: check enabled by the !dir condition
From checking point of view, the special F? case does not make sense,
whereas it perhaps is made for peroformance concern. As later patch will
address this issue, remove this exception, which makes the checks
consistent later.
With STRICT_READ_CHECKS = 1 which is default, there is no functional
change.
Signed-off-by: Yuyang Du <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions