Rick Brown wrote:

Could you hint upon the kernel features required for NPTL? May be a link?

I know very little about this, but by coincidence (the application program I work on got a nice bugfix because of this) I can tell you one kernel difference on x86_64 kernels that support NPTL.

For NPTL on x86_64, the kernel reserves a register for thread-ID. That register is swapped as part of the context switch the kernel does. In the older LinuxThreads, thread-ID was established by looking up a stack address in a table. In the LinuxThreads implementation, thread-ID was broken whenever a thread ran on the alt-stack.

John Aspinall
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

Reply via email to