summaryrefslogtreecommitdiffstats
path: root/sys/sys/proc.h
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2011-09-11 16:05:09 +0000
committerkib <kib@FreeBSD.org>2011-09-11 16:05:09 +0000
commit55d0a85118b14ca04ad09a2e920c8fac09fb6053 (patch)
tree0b0a99497de53c0baa2f389ba7ca1c651e4df409 /sys/sys/proc.h
parentb7f3e8948600e128e76a31a3695c9675459d69c7 (diff)
downloadFreeBSD-src-55d0a85118b14ca04ad09a2e920c8fac09fb6053.zip
FreeBSD-src-55d0a85118b14ca04ad09a2e920c8fac09fb6053.tar.gz
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
Diffstat (limited to 'sys/sys/proc.h')
-rw-r--r--sys/sys/proc.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/sys/proc.h b/sys/sys/proc.h
index 67adbe5..fb97913 100644
--- a/sys/sys/proc.h
+++ b/sys/sys/proc.h
@@ -873,9 +873,6 @@ void cpu_switch(struct thread *, struct thread *, struct mtx *);
void cpu_throw(struct thread *, struct thread *) __dead2;
void unsleep(struct thread *);
void userret(struct thread *, struct trapframe *);
-struct syscall_args;
-int syscallenter(struct thread *, struct syscall_args *);
-void syscallret(struct thread *, int, struct syscall_args *);
void cpu_exit(struct thread *);
void exit1(struct thread *, int) __dead2;
OpenPOWER on IntegriCloud