From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754224AbdDMQAy (ORCPT ); Thu, 13 Apr 2017 12:00:54 -0400 Received: from mail.kernel.org ([198.145.29.136]:52012 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751119AbdDMQAv (ORCPT ); Thu, 13 Apr 2017 12:00:51 -0400 Date: Thu, 13 Apr 2017 12:00:46 -0400 From: Steven Rostedt To: Alex Shi Cc: peterz@infradead.org, mingo@redhat.com, corbet@lwn.net, linux-kernel@vger.kernel.org (open list:LOCKING PRIMITIVES), linux-doc@vger.kernel.org (open list:DOCUMENTATION), Sebastian Siewior , Thomas Gleixner Subject: Re: [PATCH 1/3] rtmutex: comments update Message-ID: <20170413120046.11153c1e@gandalf.local.home> In-Reply-To: <1492092174-31734-2-git-send-email-alex.shi@linaro.org> References: <1492092174-31734-1-git-send-email-alex.shi@linaro.org> <1492092174-31734-2-git-send-email-alex.shi@linaro.org> X-Mailer: Claws Mail 3.14.0 (GTK+ 2.24.31; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 13 Apr 2017 22:02:52 +0800 Alex Shi 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