diff options
author | rwatson <rwatson@FreeBSD.org> | 2007-03-04 22:36:48 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2007-03-04 22:36:48 +0000 |
commit | 300d4098cfd89ed7f8fca1a3333256308124f41b (patch) | |
tree | f27b57bdc76f93b33f438468bf58343b920adf0f /sys/kern/p1003_1b.c | |
parent | cabb128e116189b28979fed24ecb43c60be0ffcf (diff) | |
download | FreeBSD-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/p1003_1b.c')
-rw-r--r-- | sys/kern/p1003_1b.c | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/sys/kern/p1003_1b.c b/sys/kern/p1003_1b.c index 5baf09e..f6d86e8 100644 --- a/sys/kern/p1003_1b.c +++ b/sys/kern/p1003_1b.c @@ -107,9 +107,6 @@ sched_attach(void) return ret; } -/* - * MPSAFE - */ int sched_setparam(struct thread *td, struct sched_setparam_args *uap) { @@ -142,9 +139,6 @@ sched_setparam(struct thread *td, struct sched_setparam_args *uap) return (e); } -/* - * MPSAFE - */ int sched_getparam(struct thread *td, struct sched_getparam_args *uap) { @@ -175,9 +169,6 @@ sched_getparam(struct thread *td, struct sched_getparam_args *uap) return (e); } -/* - * MPSAFE - */ int sched_setscheduler(struct thread *td, struct sched_setscheduler_args *uap) { @@ -215,9 +206,6 @@ sched_setscheduler(struct thread *td, struct sched_setscheduler_args *uap) return (e); } -/* - * MPSAFE - */ int sched_getscheduler(struct thread *td, struct sched_getscheduler_args *uap) { @@ -249,9 +237,6 @@ done2: return (e); } -/* - * MPSAFE - */ int sched_yield(struct thread *td, struct sched_yield_args *uap) { @@ -259,9 +244,6 @@ sched_yield(struct thread *td, struct sched_yield_args *uap) return (ksched_yield(ksched)); } -/* - * MPSAFE - */ int sched_get_priority_max(struct thread *td, struct sched_get_priority_max_args *uap) @@ -273,9 +255,6 @@ sched_get_priority_max(struct thread *td, return (error); } -/* - * MPSAFE - */ int sched_get_priority_min(struct thread *td, struct sched_get_priority_min_args *uap) @@ -287,9 +266,6 @@ sched_get_priority_min(struct thread *td, return (error); } -/* - * MPSAFE - */ int sched_rr_get_interval(struct thread *td, struct sched_rr_get_interval_args *uap) |