Re: Support for passing down the stack base to userland

2012-02-03 Thread Christos Zoulas
In article <20120203211937.ga25...@britannica.bec.de>, Joerg Sonnenberger wrote: >-=-=-=-=-=- > >Hi all, >the attached patch passes down the stack base addresses of the main >thread. This is the final kernel change required to remove the stackid >logic in libpthread. This is for use by pthread_at

Re: Support for passing down the stack base to userland

2012-02-03 Thread Martin Husemann
On Fri, Feb 03, 2012 at 10:25:36PM +0100, Martin Husemann wrote: > Can you explain this new KASSERT? > > + KASSERT(vlen <= sizeof(ai)); Ah, never mind - it is an array, not a pointer. Martin

Re: Support for passing down the stack base to userland

2012-02-03 Thread Martin Husemann
Can you explain this new KASSERT? + KASSERT(vlen <= sizeof(ai)); Martin

Support for passing down the stack base to userland

2012-02-03 Thread Joerg Sonnenberger
Hi all, the attached patch passes down the stack base addresses of the main thread. This is the final kernel change required to remove the stackid logic in libpthread. This is for use by pthread_attr_getstack as needed e.g. by a number of programs using garbage collection. Joerg Index: kern/exec_e