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

Details

Provenance
andrewAuthored on Apr 7 2022, 4:20 PM
Reviewer
kib
Differential Revision
D34983: Use the existing page size in libthr
Parents
rG271f6d52a606: nfsd: Fix session slot freeing for NFSv4.1/4.2
Branches
Unknown
Tags
Unknown