Project

General

Profile

Bug #4619

::rwlock dump waiters in reverse order

Added by Marcel Telka about 6 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
mdb - modular debugger
Start date:
2014-02-21
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage

Description

::rwlock dump waiters in reverse order when compared to ::walk blocked. This is confusing. One would expect that the thread on the first line is the first thread in the queue.

> ffffff19d33aabc0::rwlock!head
            ADDR      OWNER/COUNT FLAGS          WAITERS
ffffff19d33aabc0        READERS=1  B011 ffffff19f5e36720 (R)
                                     || ffffff19f635b540 (R)
                 WRITE_WANTED -------+| ffffff19f629c380 (R)
                  HAS_WAITERS --------+ ffffff19f2799e20 (R)
                                        ffffff19f37c2aa0 (R)
                                        ffffff19f6298740 (R)
                                        ffffff19f5d4e760 (R)
                                        ffffff19f2c59080 (R)
                                        ffffff19f2521e20 (R)
> ffffff19d33aabc0::walk blocked!tail
ffffff19f2509060
ffffff19f2521e20
ffffff19f2c59080
ffffff19f5d4e760
ffffff19f6298740
ffffff19f37c2aa0
ffffff19f2799e20
ffffff19f629c380
ffffff19f635b540
ffffff19f5e36720
>

Also available in: Atom PDF