Re: [PATCH 1/3] rtmutex: comments update

From: Steven Rostedt
Date: Thu Apr 13 2017 - 12:00:56 EST


On Thu, 13 Apr 2017 22:02:52 +0800
Alex Shi <alex.shi@xxxxxxxxxx> wrote:

> The rt-mutex documents didn't gotten meaningful update from its first
> version. Even after owner's pending bit was removed in commit 8161239a8bcc
> ("rtmutex: Simplify PI algorithm and make highest prio task get lock")
> and priority list 'plist' changed to rbtree. So the documents are far
> late of real code.

BTW, there is still technically a "Pending Owner", it's just not called
that anymore. The pending owner happens to be the top_waiter of a lock
that has no owner and has been woken up to grab the lock. This change
simplified the code. The document should reflect this point.

-- Steve