Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Nov 1998 17:46:01 -0500 (EST)
From:      Luoqi Chen <luoqi@watermarkgroup.com>
To:        green@unixhelp.org, lists@tar.com, luoqi@watermarkgroup.com
Cc:        current@FreeBSD.ORG
Subject:   Re: RFSIGSHARE ready?
Message-ID:  <199811122246.RAA25462@lor.watermarkgroup.com>

next in thread | raw e-mail | index | archive | help
> But, my experience was that my test app would hang during the
> creation of the first thread *unless* I *both* increased
> the stack size to a non-zero value *and* moved it out of the
> process stack area.  That's why I said it didn't seem to be
> a good idea to put zero size (or larger) thread stacks into
> the process stack area.
> 
I wrote a test problem myself, and I found that mapping into
user stack area interfered with the stack autogrow function.
To work around this problem, in i386/i386/trap.c around line 632,
ignore the return from grow(), and let the page fault still be
handled by vm_fault().

-lq

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199811122246.RAA25462>