diff options
| author | Matt Helsley <[email protected]> | 2009-06-17 16:27:58 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2009-06-18 13:03:56 -0700 |
| commit | 26c369dada267d3df1beb86cf89b865ac1178a7f (patch) | |
| tree | f51d2663ffb3155e97b71b38b4e9990fbcf98063 /include/linux/debugobjects.h | |
| parent | 665c7741fb63c7ceeb515f1d1ed8b016efe65bf3 (diff) | |
futex: documentation: fix inconsistent description of futex list_op_pending
Strictly speaking list_op_pending points to the 'lock entry', not the
'lock word' (which is actually at 'offset' from 'lock entry'). We can
infer this based on reading the code in kernel/futex.c:
struct robust_list __user *entry, *next_entry, *pending;
...
if (fetch_robust_entry(&pending, &head->list_op_pending, &pip))
return;
...
if (pending)
handle_futex_death((void __user *)pending + futex_offset,
curr, pip);
Which is also consistent with the rest of the docs on robust futex lists.
Signed-off-by: Matt Helsley <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions