From 55d0a85118b14ca04ad09a2e920c8fac09fb6053 Mon Sep 17 00:00:00 2001 From: kib Date: Sun, 11 Sep 2011 16:05:09 +0000 Subject: Inline the syscallenter() and syscallret(). This reduces the time measured by the syscall entry speed microbenchmarks by ~10% on amd64. Submitted by: jhb Approved by: re (bz) MFC after: 2 weeks --- sys/amd64/ia32/ia32_syscall.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sys/amd64/ia32') diff --git a/sys/amd64/ia32/ia32_syscall.c b/sys/amd64/ia32/ia32_syscall.c index 0b46dae..d79272a 100644 --- a/sys/amd64/ia32/ia32_syscall.c +++ b/sys/amd64/ia32/ia32_syscall.c @@ -163,6 +163,8 @@ ia32_fetch_syscall_args(struct thread *td, struct syscall_args *sa) return (error); } +#include "../../kern/subr_syscall.c" + void ia32_syscall(struct trapframe *frame) { -- cgit v1.1