From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752693AbdFTAY5 (ORCPT ); Mon, 19 Jun 2017 20:24:57 -0400 Received: from mail-pg0-f45.google.com ([74.125.83.45]:34103 "EHLO mail-pg0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752600AbdFTAYz (ORCPT ); Mon, 19 Jun 2017 20:24:55 -0400 Subject: Re: [PATCH v2 2/3] rtmutex: update rt-mutex To: Peter Zijlstra , Ingo Molnar , Jonathan Corbet , "open list:LOCKING PRIMITIVES" , "open list:DOCUMENTATION" Cc: Steven Rostedt , Sebastian Siewior , Mathieu Poirier , Juri Lelli , Thomas Gleixner References: <1495689995-29849-1-git-send-email-alex.shi@linaro.org> <1495689995-29849-2-git-send-email-alex.shi@linaro.org> From: Alex Shi Message-ID: Date: Tue, 20 Jun 2017 08:24:31 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1 MIME-Version: 1.0 In-Reply-To: <1495689995-29849-2-git-send-email-alex.shi@linaro.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Any more comments or concern on this? Thanks! On 05/25/2017 01:26 PM, Alex Shi wrote: > The rtmutex remove a pending owner bit in in rt_mutex::owner, in > commit 8161239a8bcc ("rtmutex: Simplify PI algorithm and make highest prio task get lock") > But the document was changed accordingly. Updating it to a meaningful > state. > > BTW, as 'Steven Rostedt' mentioned: > 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. > > Signed-off-by: Alex Shi > Cc: Steven Rostedt > Cc: Sebastian Siewior > Cc: Mathieu Poirier > Cc: Juri Lelli > Cc: Thomas Gleixner > To: linux-doc@vger.kernel.org > To: linux-kernel@vger.kernel.org > To: Jonathan Corbet > To: Ingo Molnar > To: Peter Zijlstra > --- > Documentation/locking/rt-mutex.txt | 58 +++++++++++++++++--------------------- > 1 file changed, 26 insertions(+), 32 deletions(-)