diff options
author | Sergey Bugaev <bugaevc@gmail.com> | 2023-02-18 23:37:14 +0300 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2023-02-20 00:46:36 +0100 |
commit | be318c0f38b6b72a0716edce818b755411e75600 (patch) | |
tree | 76b241932008ccd83f8b8e067a11c99a36b93846 /shlib-versions | |
parent | 90ab316b02d496cfaf09396fcc0c9bc58f15a61c (diff) | |
download | glibc-be318c0f38b6b72a0716edce818b755411e75600.tar glibc-be318c0f38b6b72a0716edce818b755411e75600.tar.gz glibc-be318c0f38b6b72a0716edce818b755411e75600.tar.bz2 glibc-be318c0f38b6b72a0716edce818b755411e75600.zip |
mach: Use PAGE_SIZE
The PAGE_SIZE from the Mach headers statically defines the machine's
page size. There's no need to query it dynamically; furthermore, the
implementation of the vm_statistics () RPC unconditionally fills in
pagesize = PAGE_SIZE;
Not doing the extra RPC shaves off 2 RPCs from the start-up of every
process!
Signed-off-by: Sergey Bugaev <bugaevc@gmail.com>
Message-Id: <20230218203717.373211-7-bugaevc@gmail.com>
Diffstat (limited to 'shlib-versions')
0 files changed, 0 insertions, 0 deletions