History

locking/lockdep: Update obsolete struct field description

The lock_chain struct definition has outdated comment, update it and add struct member description.

Yuyang Du committed 7 years ago

Commit d16dbd11 parent 834494b1 file · +9 −3Browse files

Showing the changes to include/linux (1 of 1 file). Show all

Unified · Split

include/linux/lockdep.h+9−3
@@ -203,11 +203,17 @@ struct lock_list { · 202 unmodified lines
203 struct lock_list *parent;203 struct lock_list *parent;
204};204};
205 205
206/*206/**
207 * We record lock dependency chains, so that we can cache them:207 * struct lock_chain - lock dependency chain record
208 *
209 * @irq_context: the same as irq_context in held_lock below
210 * @depth: the number of held locks in this chain
211 * @base: the index in chain_hlocks for this chain
212 * @entry: the collided lock chains in lock_chain hash list
213 * @chain_key: the hash key of this lock_chain
208 */214 */
209struct lock_chain {215struct lock_chain {
210 /* see BUILD_BUG_ON()s in lookup_chain_cache() */216 /* see BUILD_BUG_ON()s in add_chain_cache() */
211 unsigned int irq_context : 2,217 unsigned int irq_context : 2,
212 depth : 6,218 depth : 6,
213 base : 24;219 base : 24;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t