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)
Sat, Jan 11, 8:26 PM
Unknown Object (File)
Sun, Dec 29, 10:48 PM
Unknown Object (File)
Dec 23 2024, 11:48 PM
Unknown Object (File)
Dec 17 2024, 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
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