[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <46445EB9.8040106@redhat.com>
Date: Fri, 11 May 2007 08:16:57 -0400
From: Steven Rostedt <srostedt@...hat.com>
To: Li Yu <raise.sail@...il.com>
CC: LKML <linux-kernel@...r.kernel.org>,
Esben Nielsen <nielsen.esben@...glemail.com>
Subject: Re: Hi, I have one question about rt_mutex.
Li Yu wrote:
>
> However, I found the sys_futex() do not use rt_mutex, so what's mean of the user futex you said?
> Even, I have not found any usage for rt_mutex in kernel code. Or, some beautiful story will happen in future?
>
Just need to look a little deeper :-)
sys_futex calls do_futex
do_futex with the option of FUTEX_LOCK_PI will call futex_lock_pi
futex_lock_pi calls rt_mutex_timed_lock or rt_mutex_trylock both of
which are part of the rtmutex.c code.
So it's there today :-)
-- Steve
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists