[lia64-kernel] Re: Re: clone and clone2
Ulrich Drepper
drepper@redhat.com
Tue Jun 20 14:23:00 GMT 2000
"H . J . Lu" <hjl@valinux.com> writes:
> If we all use
>
> int clone2(int (*fn)(void *arg), void *thread_bottom, size_t stack_size, int flags, void *arg);
>
> that is one solution. All the other CPUs who want thread_top need to use
> thread_bottom + stack_size to get thread_top in their clone.S.
This only makes sense if the kernel is actually able to limit the
growth of the stack without the user creating an artificial barrier
(as we do in the moment).
--
---------------. drepper at gnu.org ,-. 1325 Chesapeake Terrace
Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA
Red Hat `--' drepper at redhat.com `------------------------
More information about the Libc-hacker
mailing list