HomeFreeBSD

Use the existing page size in libthr

Description

Use the existing page size in libthr

Rather than calling getpagesize() twice use the value saved after the
first call to size a mmap allocation.

Reviewed by: kib, markj
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D34983

(cherry picked from commit 86c500937c4514dda2319f193c4ccc043ffde2b3)

Details

Provenance
andrewAuthored on Apr 7 2022, 4:20 PM
Reviewer
kib
Differential Revision
D34983: Use the existing page size in libthr
Parents
rG03a3809a3289: Move the arm64 DMAP creation to C
Branches
Unknown
Tags
Unknown