* 1:1 M:N threading
@ 2003-09-14 18:44 Breno
2003-09-14 19:06 ` Rémi Colinet
` (2 more replies)
0 siblings, 3 replies; 7+ messages in thread
From: Breno @ 2003-09-14 18:44 UTC (permalink / raw)
To: Kernel List
Hi.
What kind of threading kernel 2.4 and 2.6 do ? 1:1 or M:N ?
thanks
Breno
^ permalink raw reply [flat|nested] 7+ messages in thread* Re: 1:1 M:N threading 2003-09-14 18:44 1:1 M:N threading Breno @ 2003-09-14 19:06 ` Rémi Colinet 2003-09-14 19:08 ` Alan Cox 2003-09-14 19:11 ` Robert Love 2 siblings, 0 replies; 7+ messages in thread From: Rémi Colinet @ 2003-09-14 19:06 UTC (permalink / raw) To: Breno; +Cc: Kernel List 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 majordomo@vger.kernel.org >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 ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: 1:1 M:N threading 2003-09-14 18:44 1:1 M:N threading Breno 2003-09-14 19:06 ` Rémi Colinet @ 2003-09-14 19:08 ` Alan Cox 2003-09-14 19:11 ` Robert Love 2 siblings, 0 replies; 7+ messages in thread From: Alan Cox @ 2003-09-14 19:08 UTC (permalink / raw) To: Breno; +Cc: Linux Kernel Mailing List 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 ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: 1:1 M:N threading 2003-09-14 18:44 1:1 M:N threading Breno 2003-09-14 19:06 ` Rémi Colinet 2003-09-14 19:08 ` Alan Cox @ 2003-09-14 19:11 ` Robert Love 2003-09-16 15:04 ` Memory allocation Breno 2 siblings, 1 reply; 7+ messages in thread From: Robert Love @ 2003-09-14 19:11 UTC (permalink / raw) To: Breno; +Cc: Kernel List 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 ^ permalink raw reply [flat|nested] 7+ messages in thread
* Memory allocation 2003-09-14 19:11 ` Robert Love @ 2003-09-16 15:04 ` Breno 0 siblings, 0 replies; 7+ messages in thread From: Breno @ 2003-09-16 15:04 UTC (permalink / raw) To: Robert Love; +Cc: Kernel List Hi, When i use kmem_cache_alloc() to create a vma and return addr of this vma , the pages have already been allocated and mapped ? or i must use mk_pte/set_pte to map the page to my vma ? att Breno ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: 1:1 M:N threading @ 2003-09-15 9:12 jpo234 2003-09-15 14:07 ` Andrea Arcangeli 0 siblings, 1 reply; 7+ messages in thread From: jpo234 @ 2003-09-15 9:12 UTC (permalink / raw) To: remi.colinet; +Cc: linux-kernel remi.colinet@wanadoo.fr 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 ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: 1:1 M:N threading 2003-09-15 9:12 1:1 M:N threading jpo234 @ 2003-09-15 14:07 ` Andrea Arcangeli 0 siblings, 0 replies; 7+ messages in thread From: Andrea Arcangeli @ 2003-09-15 14:07 UTC (permalink / raw) To: jpo234; +Cc: remi.colinet, linux-kernel On Mon, Sep 15, 2003 at 05:12:59AM -0400, jpo234@netscape.net wrote: > remi.colinet@wanadoo.fr 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 */ ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2003-09-16 15:09 UTC | newest] Thread overview: 7+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2003-09-14 18:44 1:1 M:N threading Breno 2003-09-14 19:06 ` Rémi Colinet 2003-09-14 19:08 ` Alan Cox 2003-09-14 19:11 ` Robert Love 2003-09-16 15:04 ` Memory allocation Breno -- strict thread matches above, loose matches on Subject: below -- 2003-09-15 9:12 1:1 M:N threading jpo234 2003-09-15 14:07 ` Andrea Arcangeli
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox