1:1 M:N threading
Hi.
What kind of threading kernel 2.4 and 2.6 do ? 1:1 or M:N ?
thanks
Breno
Quoted 5 lines · Breno
Hi.
What kind of threading kernel 2.4 and 2.6 do ? 1:1 or M:N ?
Quoted 11 lines
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
Quoted 3 lines · Breno
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
Quoted 1 line · Breno
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
Memory allocation
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