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)
Mon, Dec 23, 11:48 PM
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
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