Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Sep 2014 21:36:25 -0600
From:      "Justin T. Gibbs" <gibbs@scsiguy.com>
To:        Konstantin Belousov <kostikbel@gmail.com>
Cc:        "Ivan A. Kosarev" <ivan@ivan-labs.com>, freebsd-current@freebsd.org, doc@freebsd.org
Subject:   Re: libthr and main thread stack size
Message-ID:  <F0A2DBD9-195E-4F4E-BA36-1F7644827111@scsiguy.com>
In-Reply-To: <20140920170658.GE2210@kib.kiev.ua>
References:  <53E36E84.4060806@ivan-labs.com> <FEB60EB5-546D-454D-AE62-B2483246E42C@scsiguy.com> <20140916081324.GQ2737@kib.kiev.ua> <5242716.s4iaScq0Bu@ralph.baldwin.cx> <20140920170658.GE2210@kib.kiev.ua>

next in thread | previous in thread | raw e-mail | index | archive | help

--Apple-Mail=_5F347363-3BBD-4CAC-80DA-C602E0339DFA
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=windows-1252

On Sep 20, 2014, at 11:06 AM, Konstantin Belousov <kostikbel@gmail.com> =
wrote:

> On Fri, Sep 19, 2014 at 03:27:25PM -0400, John Baldwin wrote:
>> I suspect it was done out of reasons of being overly conservative in
>> interpreting RLIMIT_STACK. I think it is quite surprising behavior
>> though and would rather we make your option the default and implement
>> what the Open Group says above.
>=20
> Ok, below is the patch.  I felt bad about adding yet another magic and
> undocumented tunable to our libthr.  Since there seems to be no
> alternative than a tunable to enforce old behaviour, I documented
> the quirks I am aware of.

Why do we need to support the old behavior?  Any program that ran in the =
old model will run in the new.  In the unlikely event that someone was =
using the old scheme for administrative control, there are other =
mechanisms for this already available that we can point them to instead.

=97
Justin

--Apple-Mail=_5F347363-3BBD-4CAC-80DA-C602E0339DFA
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP using GPGMail

-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - http://gpgtools.org

iQEcBAEBAgAGBQJUH5k5AAoJED9n8CuvaSf4r3QH/imMeCsoVyLJQC4JO9vDum8B
DEHcPN0A4j7eZaO9itzbGY9R7Ie9F+orBsFra+ucCBTwSvzpD5YXTsnaY+oS+rV3
a0iefizkVpRrC3GOe9g5cjtJ5bHIKl2Oi7pfxvXEQTOdjwniNHOXozG0CCWQPX52
iIoLJ4q98acKxb/qTm5fsy0Xyx6exmk1YOY6o9PKv6te6ane81BnmPS+wmdD98nH
7q4qME8Y379Ul1NIo1crkw7qVu6jZZHgiEaX/BDDdE/tvx2F6Ot+PsJ6d79ilM7z
Wat1t6GCcZAbytNjqR9sgZX8cpY43jgXzjceBA6uGJd/wPRxUm/gZhIN5QGs80k=
=o76e
-----END PGP SIGNATURE-----

--Apple-Mail=_5F347363-3BBD-4CAC-80DA-C602E0339DFA--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F0A2DBD9-195E-4F4E-BA36-1F7644827111>