Hi.
What kind of threading kernel 2.4 and 2.6 do ? 1:1 or M:N ?
thanks
Breno
On Sul, 2003-09-14 at 19:44, Breno wrote:
> Hi.
>
> What kind of threading kernel 2.4 and 2.6 do ? 1:1 or M:N ?
The kernel doesn't impose a specific model although its certainly
strongly oriented to 1:1 threading models by simply making the kernel
threading/locking so efficient the M:N stuff isnt worth the overhead
Breno wrote:
>Hi.
>
>What kind of threading kernel 2.4 and 2.6 do ? 1:1 or M:N ?
>
>
>thanks
>Breno
>
>-
>To unsubscribe from this list: send the line "unsubscribe linux-kernel" 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.tux.org/lkml/
>
>
>
Hello,
For 2.6, the default is NGPT (see
http://www-124.ibm.com/developerworks/oss/pthreads/) which is 1:1.
Regards
R?mi
On Sun, 2003-09-14 at 14:44, Breno wrote:
> What kind of threading kernel 2.4 and 2.6 do ? 1:1 or M:N ?
Both do 1:1.
But nothing stops you from running an M:1 or M:N threading library in
user-space on top of the kernel abstraction.
Robert Love
[email protected] wrote:
> For 2.6, the default is NGPT (see
> http://www-124.ibm.com/developerworks/oss/pthreads/) which is 1:1.
NGPT is frozen and in maintenance mode (which is a different
wording for "dead"). See
http://www-124.ibm.com/pthreads/docs/announcement
The new default Linux pthread implementation is RedHats NPTL. See
http://people.redhat.com/~drepper/nptl-design.pdf
for details, which btw. is 1:1 as well.
Regards
jpo
__________________________________________________________________
McAfee VirusScan Online from the Netscape Network.
Comprehensive protection for your entire computer. Get your free trial today!
http://channels.netscape.com/ns/computing/mcafee/index.jsp?promo=393397
Get AOL Instant Messenger 5.1 free of charge. Download Now!
http://aim.aol.com/aimnew/Aim/register.adp?promo=380455
On Mon, Sep 15, 2003 at 05:12:59AM -0400, [email protected] wrote:
> [email protected] wrote:
> > For 2.6, the default is NGPT (see
> > http://www-124.ibm.com/developerworks/oss/pthreads/) which is 1:1.
>
> NGPT is frozen and in maintenance mode (which is a different
> wording for "dead"). See
> http://www-124.ibm.com/pthreads/docs/announcement
and btw, NGPT isn't 1:1 but M:N.
Andrea
/*
* If you refuse to depend on closed software for a critical
* part of your business, these links may be useful:
*
* rsync.kernel.org::pub/scm/linux/kernel/bkcvs/linux-2.5/
* rsync.kernel.org::pub/scm/linux/kernel/bkcvs/linux-2.4/
* http://www.cobite.com/cvsps/
*
* svn://svn.kernel.org/linux-2.6/trunk
* svn://svn.kernel.org/linux-2.4/trunk
*/