Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Oct 2021 16:37:28 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 259076] pthread_mutex_init fails with limited AS
Message-ID:  <bug-259076-227-hEFqhfJC4z@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-259076-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-259076-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D259076

--- Comment #8 from Denis Koreshkov <dynamic-wind@mail.ru> ---
(In reply to Konstantin Belousov from comment #7)
If you meant these lines, they do not help in the case mmap returns MAP_FAI=
LED.

+       if (pagepool_start =3D=3D MAP_FAILED)
+               pagepool_start =3D 0;
        offset =3D (uintptr_t)pagepool_start - rounddown2(
            (uintptr_t)pagepool_start, pagesz);

        pagepool_start =3D mmap(0, n * pagesz, PROT_READ | PROT_WRITE,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-259076-227-hEFqhfJC4z>