aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/p1003_1b.c
diff options
context:
space:
mode:
authorRobert Watson <rwatson@FreeBSD.org>2007-03-04 22:36:48 +0000
committerRobert Watson <rwatson@FreeBSD.org>2007-03-04 22:36:48 +0000
commit0c14ff0eb52ddc7fdbacc5c8645d79afcaf73e3a (patch)
treef27b57bdc76f93b33f438468bf58343b920adf0f /sys/kern/p1003_1b.c
parent9f3cef91087c68f23d917212fc7b88e7c266feef (diff)
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.
Notes
Notes: svn path=/head/; revision=167211
Diffstat (limited to 'sys/kern/p1003_1b.c')
-rw-r--r--sys/kern/p1003_1b.c24
1 files changed, 0 insertions, 24 deletions
diff --git a/sys/kern/p1003_1b.c b/sys/kern/p1003_1b.c
index 5baf09e2df79..f6d86e8b6307 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)