Messages in this thread | | | From | Boqun Feng <> | Subject | [PATCH 0/4] Fix issues in check_irq_usage() | Date | Sat, 19 Jun 2021 01:01:06 +0800 |
| |
Hi Peter,
As we talked in IRC, Johannes Berg reported a problem and I could reproduce by the selftest case in patch #4, there are three issues:
1) printing of backwards dependency path doesn't work as expected,
2) we have unnecessary and incorrect save_trace() call
3) check_irq_usage() may result in a wrong depedency path (when a real one really exits).
Fix them separately in patch 1~3.
Regards, Boqun
Boqun Feng (4): locking/lockdep: Fix the dep path printing for backwards BFS locking/lockdep: Remove the unnecessary trace saving lockding/lockdep: Avoid to find wrong lock dep path in check_irq_usage() locking/selftests: Add a selftest for check_irq_usage()
kernel/locking/lockdep.c | 123 +++++++++++++++++++++++++++++++++++++-- lib/locking-selftest.c | 65 +++++++++++++++++++++ 2 files changed, 182 insertions(+), 6 deletions(-)
-- 2.30.2
| |