[Top] [All Lists]

Re: NPTL support for the kernel

Subject: Re: NPTL support for the kernel
From: Daniel Jacobowitz <>
Date: Mon, 21 Mar 2005 15:34:45 -0500
In-reply-to: <>
Original-recipient: rfc822;
References: <>
User-agent: Mutt/1.5.6+20040907i
On Wed, Mar 16, 2005 at 09:11:52AM -0500, Daniel Jacobowitz wrote:
> Here's a kernel patch to enable NPTL support.  This doesn't include Maciej's
> uber-fast rdhwr emulation; I believe we ought to include both the fast and
> slow paths, since the slow path will handle use of other destination
> registers.  Changes:
>   - Clone takes five arguments, not four.  Um, this bit is gross.
>   - New syscall sys_set_thread_area.  Only glibc uses this.
>   - Emulation of the rdhwr instruction.  This version is only loosely
>     based on the emulation on the malta branch; the major difference
>     is that I fixed ll/sc/rdhwr emulation in branch delay slots.
>     GCC 4.1 will generate rdhwr in branch delay slots in some
>     conditions.
>   - PTRACE_GET_THREAD_AREA support for GDB.


Daniel Jacobowitz
CodeSourcery, LLC

<Prev in Thread] Current Thread [Next in Thread>