lkml.org 
[lkml]   [2021]   [Jul]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRe: [patch 10/50] locking/rtmutex: Provide rt_mutex_slowlock_locked()
    Date
    On Tue, Jul 27 2021 at 18:20, Valentin Schneider wrote:

    > 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().

    Indeed.

    \
     
     \ /
      Last update: 2022-09-17 16:11    [W:3.719 / U:0.988 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site