From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 255B3C4338F for ; Tue, 27 Jul 2021 17:20:18 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 08AB66103C for ; Tue, 27 Jul 2021 17:20:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230225AbhG0RUR (ORCPT ); Tue, 27 Jul 2021 13:20:17 -0400 Received: from foss.arm.com ([217.140.110.172]:41656 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229837AbhG0RUP (ORCPT ); Tue, 27 Jul 2021 13:20:15 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id EB70A31B; Tue, 27 Jul 2021 10:20:14 -0700 (PDT) Received: from e113632-lin (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 31A843F70D; Tue, 27 Jul 2021 10:20:13 -0700 (PDT) From: Valentin Schneider To: Thomas Gleixner , LKML Cc: Peter Zijlstra , Ingo Molnar , Juri Lelli , Steven Rostedt , Daniel Bristot de Oliveira , Will Deacon , Waiman Long , Boqun Feng , Sebastian Andrzej Siewior , Davidlohr Bueso Subject: Re: [patch 10/50] locking/rtmutex: Provide rt_mutex_slowlock_locked() In-Reply-To: <20210713160746.897411744@linutronix.de> References: <20210713151054.700719949@linutronix.de> <20210713160746.897411744@linutronix.de> Date: Tue, 27 Jul 2021 18:20:10 +0100 Message-ID: <87tukfllmd.mognet@arm.com> MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 13/07/21 17:11, Thomas Gleixner wrote: > +/* > + * rt_mutex_slowlock - Locking slowpath invoked when fast path fails > + * @lock: The rtmutex to block lock > + * @state: The task state for sleeping > + */ > +static int __sched rt_mutex_slowlock(struct rt_mutex *lock, unsigned int state) > +{ > + unsigned long flags; > + int ret; > > - debug_rt_mutex_free_waiter(&waiter); This does end up showing up in rtlock_slowlock_locked(), but disappears from the rtmutex path. AFAICT it should show up at the tail of __rt_mutex_slowlock_locked().