diff options
| author | Matthew Wilcox <willy@debian.org> | 2004-09-25 04:35:17 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-09-25 04:35:17 -0700 |
| commit | 19c631d4cc045bda85873a08fe5984d4ce38733b (patch) | |
| tree | 3984fbe0155696e09832d9b78793b7b8ffb1d343 /include/linux/vmalloc.h | |
| parent | df60db4e57cdb0e0c1ac9d4a35ecc2ec2ef72e22 (diff) | |
[PATCH] fix posix_locks_deadlock()
The "blocked_list" used for POSIX deadlock detection should only contain
POSIX locks, or posix_locks_deadlock() can get confused.
As I've noted before (but never posted a patch), we should probably stop
checking for deadlock. POSIX says it's optional for an implementation
to check for deadlock, and since the change to match on tgid, we can
report a deadlock when none exists.
[ Further explanation for Linus: POSIX locks and BSD locks don't block
each other, so checking that the blocker is a POSIX lock also implies
that the waiter is a POSIX lock. ]
Diffstat (limited to 'include/linux/vmalloc.h')
0 files changed, 0 insertions, 0 deletions
