[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20190318085733.3143-1-duyuyang@gmail.com>
Date: Mon, 18 Mar 2019 16:57:14 +0800
From: Yuyang Du <duyuyang@...il.com>
To: peterz@...radead.org, will.deacon@....com, mingo@...nel.org
Cc: bvanassche@....org, ming.lei@...hat.com,
linux-kernel@...r.kernel.org, Yuyang Du <duyuyang@...il.com>
Subject: [PATCH v2 00/19] locking/lockdep: Add comments and make some code
Hi Peter,
I recently looked at some system hang issues. While at it, I tried to use
and understand lockdep. These patches are made as a result. I believe they
should have helped me, so hopefully they do for others as well.
Change from v1:
- Rebased the patch series.
- Added more no-functional-change patches.
- Removed zapped locks in lock chains printing patch, which was a band-aid.
The real problem was recently fixed by Bart.
Thanks,
Yuyang
--
Yuyang Du (19):
locking/lockdep: Change all print_*() return type to void
locking/lockdep: Add description and explanation in lockdep design doc
locking/lockdep: Adjust lock usage bit character checks
locking/lockdep: Remove useless conditional macro
locking/lockdep: Adjust indents for function definitions
locking/lockdep: Print the right depth for chain key colission
locking/lockdep: Update obsolete struct field description
locking/lockdep: Use lockdep_init_task for task initiation
consistently
locking/lockdep: Define INITIAL_CHAIN_KEY for chain keys to start with
locking/lockdep: Change the range of class_idx in held_lock struct
locking/lockdep: Remove unused argument in validate_chain()
locking/lockdep: Update comment
locking/lockdep: Remove unnecessary function pointer argument
locking/lockdep: Change type of the element field in circular_queue
locking/lockdep: Remove __cq_empty()
locking/lockdep: Use function pointer to avoid constant checks
locking/lockdep: Combine check_noncircular and check_redundant
locking/lockdep: Update comments on dependency search
locking/lockdep: Change if to else-if when checking bfs errors
Documentation/locking/lockdep-design.txt | 89 +++--
include/linux/lockdep.h | 26 +-
init/init_task.c | 2 +
kernel/fork.c | 3 -
kernel/locking/lockdep.c | 573 +++++++++++++++++--------------
kernel/locking/lockdep_internals.h | 1 +
6 files changed, 391 insertions(+), 303 deletions(-)
--
1.8.3.1
Powered by blists - more mailing lists