Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Apr 2012 11:11:56 +0300
From:      Konstantin Belousov <kostikbel@gmail.com>
To:        Sushanth Rai <sushanth_rai@yahoo.com>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: mlockall() on freebsd 7.2 + amd64 returns EAGAIN
Message-ID:  <20120413081156.GB2358@deviant.kiev.zoral.com.ua>
In-Reply-To: <1334286626.57057.YahooMailClassic@web180010.mail.gq1.yahoo.com>
References:  <20120411042837.GD2358@deviant.kiev.zoral.com.ua> <1334286626.57057.YahooMailClassic@web180010.mail.gq1.yahoo.com>

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

--K4VW92aLFVAHIWRe
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Apr 12, 2012 at 08:10:26PM -0700, Sushanth Rai wrote:
> >=20
> > Then it should be fixed in r190885.
> >=20
>=20
> Thanks. That works like a charm.=20
>=20
> mlockall() mostly works now. There is still a, issue in wiring the stacks=
 of multithreaded program when the program uses default stack allocation sc=
heme. Thread library allocates stack for each thread by calling mmap() and =
sending address and size to be mapped. The kernel adjusts the start address=
 to sgrowsz in  vm_map_stack() and maps at the adjusted address. But the su=
bsequent wiring is done using the original address, which fails.=20
>=20
Can you, please provide stand-alone example which demostrates the issue ?
I suspect this should have not changed in HEAD.

--K4VW92aLFVAHIWRe
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (FreeBSD)

iEYEARECAAYFAk+H370ACgkQC3+MBN1Mb4jX8wCgzQEv8IldTpqfJaFpT7auRRk5
huAAoKAENgJTjn9PtzjPKo1Hn5JNn5kE
=hAfz
-----END PGP SIGNATURE-----

--K4VW92aLFVAHIWRe--



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