Re: [RFC/Patch] robust futexes for 2.6.12-rc6
From: Todd . Kneisel
Date: Thu Jun 16 2005 - 12:41:33 EST
Chris Friesen <cfriesen@xxxxxxxxxx> wrote on 06/15/2005 09:22:32 PM:
> Todd Kneisel wrote:
> > This patch adds robust futex support to the existing sys_futex system
call.
> > The patch applies to 2.6.12-rc6. I have tested this code on an IA64
SMP
> > system. Any comments or discussion will be welcome.
>
> How does this compare to the robust mutexes portion of the stuff that
> Inaky was working on?
>
> Chris
It's my understanding that Inaky is redesigning the locking
mechanism that the kernel provides for use by the NPTL thread
library. I'm adding robustness to the existing locking mechanism.
Inaky's code adds five system calls, one for each operation,
where I am adding operations to the existing sys_futex call.
Inaky's code is more complex due to the priority inheritance
features. I'm not doing priority inheritance. The application
that Bull is developing does not require priority inheritance.
The user interface in the NPTL thread library should be the
same. The API is based on the Solaris implementation of robust
mutexes. It's not based on Solaris code, only on the
documentation of the API.
I believe that Inaky's NPTL implementation intends to have two
NPTL libraries on the system. The standard one that uses sys_futex,
and an RTNPTL that uses his new system calls. I hope to get my
changes into the standard NPTL library.
Todd
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/