Re: [patch] user-vm-unlock-2.5.31-A2

From: Ingo Molnar (mingo@elte.hu)
Date: Thu Aug 15 2002 - 01:49:19 EST


On Thu, 15 Aug 2002, Jamie Lokier wrote:

> Is this correct? I would have expected this, given that stacks are
> pre-decrement, and given that the value of `esp' is typically just after
> the end of an mmaped region:
>
> + childregs->esp -= sizeof(0UL);
> + p->user_vm_lock = (long *) childregs->esp;

btw., i backported all the recent threading improvements to 2.4, and
current pthreads sources already use the new APIs, which worked this
CLONE_VM_RELEASE API uncleanliness around - but it's of course cleaner to
have your fix in. In any case, all the new APIs are fully functional.

        Ingo

-
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/



This archive was generated by hypermail 2b29 : Thu Aug 15 2002 - 22:00:38 EST