Page MenuHomeFreeBSD

Avoid syscall for _SC_PAGESIZE.
ClosedPublic

Authored by trasz on Nov 14 2018, 5:20 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Dec 17, 6:52 AM
Unknown Object (File)
Oct 23 2024, 2:07 AM
Unknown Object (File)
Oct 23 2024, 2:07 AM
Unknown Object (File)
Oct 23 2024, 2:07 AM
Unknown Object (File)
Oct 23 2024, 1:51 AM
Unknown Object (File)
Sep 21 2024, 5:54 AM
Unknown Object (File)
Sep 17 2024, 2:32 AM
Unknown Object (File)
Sep 8 2024, 3:19 PM
Subscribers

Details

Summary

Make sysconf(_SC_PAGESIZE) return the value from getpagesize(3).
That avoids a syscall - getpagesize(3) gets the value from the ELF
aux strings.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable