summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_ktrace.c
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2007-03-04 22:36:48 +0000
committerrwatson <rwatson@FreeBSD.org>2007-03-04 22:36:48 +0000
commit300d4098cfd89ed7f8fca1a3333256308124f41b (patch)
treef27b57bdc76f93b33f438468bf58343b920adf0f /sys/kern/kern_ktrace.c
parentcabb128e116189b28979fed24ecb43c60be0ffcf (diff)
downloadFreeBSD-src-300d4098cfd89ed7f8fca1a3333256308124f41b.zip
FreeBSD-src-300d4098cfd89ed7f8fca1a3333256308124f41b.tar.gz
Remove 'MPSAFE' annotations from the comments above most system calls: all
system calls now enter without Giant held, and then in some cases, acquire Giant explicitly. Remove a number of other MPSAFE annotations in the credential code and tweak one or two other adjacent comments.
Diffstat (limited to 'sys/kern/kern_ktrace.c')
-rw-r--r--sys/kern/kern_ktrace.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/sys/kern/kern_ktrace.c b/sys/kern/kern_ktrace.c
index 0f574bf..2f36265 100644
--- a/sys/kern/kern_ktrace.c
+++ b/sys/kern/kern_ktrace.c
@@ -373,9 +373,6 @@ ktr_freerequest(struct ktr_request *req)
mtx_unlock(&ktrace_mtx);
}
-/*
- * MPSAFE
- */
void
ktrsyscall(code, narg, args)
int code, narg;
@@ -407,9 +404,6 @@ ktrsyscall(code, narg, args)
ktr_submitrequest(curthread, req);
}
-/*
- * MPSAFE
- */
void
ktrsysret(code, error, retval)
int code, error;
@@ -564,8 +558,6 @@ ktrcsw(out, user)
/*
* ktrace system call
- *
- * MPSAFE
*/
#ifndef _SYS_SYSPROTO_H_
struct ktrace_args {
@@ -739,8 +731,6 @@ done:
/*
* utrace system call
- *
- * MPSAFE
*/
/* ARGSUSED */
int
OpenPOWER on IntegriCloud