aboutsummaryrefslogtreecommitdiff
path: root/mach/msg.c
diff options
context:
space:
mode:
authorSergey Bugaev <bugaevc@gmail.com>2023-02-18 23:37:14 +0300
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2023-02-20 00:46:36 +0100
commitbe318c0f38b6b72a0716edce818b755411e75600 (patch)
tree76b241932008ccd83f8b8e067a11c99a36b93846 /mach/msg.c
parent90ab316b02d496cfaf09396fcc0c9bc58f15a61c (diff)
downloadglibc-be318c0f38b6b72a0716edce818b755411e75600.zip
glibc-be318c0f38b6b72a0716edce818b755411e75600.tar.gz
glibc-be318c0f38b6b72a0716edce818b755411e75600.tar.bz2
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 'mach/msg.c')
0 files changed, 0 insertions, 0 deletions