[Bug 259076] pthread_mutex_init fails with limited AS
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 259076] pthread_mutex_init fails with limited AS"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 15 Oct 2021 16:37:28 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259076 --- 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_FAILED. + if (pagepool_start == MAP_FAILED) + pagepool_start = 0; offset = (uintptr_t)pagepool_start - rounddown2( (uintptr_t)pagepool_start, pagesz); pagepool_start = mmap(0, n * pagesz, PROT_READ | PROT_WRITE, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -- You are receiving this mail because: You are the assignee for the bug.