aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/sysv_msg.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/sysv_msg.c
parent9f3cef91087c68f23d917212fc7b88e7c266feef (diff)
downloadsrc-0c14ff0eb52ddc7fdbacc5c8645d79afcaf73e3a.tar.gz
src-0c14ff0eb52ddc7fdbacc5c8645d79afcaf73e3a.zip
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/sysv_msg.c')
-rw-r--r--sys/kern/sysv_msg.c16
1 files changed, 1 insertions, 15 deletions
diff --git a/sys/kern/sysv_msg.c b/sys/kern/sysv_msg.c
index ea52a2d91022..e86e46fd89ef 100644
--- a/sys/kern/sysv_msg.c
+++ b/sys/kern/sysv_msg.c
@@ -320,9 +320,7 @@ DECLARE_MODULE(sysvmsg, sysvmsg_mod,
MODULE_VERSION(sysvmsg, 1);
/*
- * Entry point for all MSG calls
- *
- * MPSAFE
+ * Entry point for all MSG calls.
*/
int
msgsys(td, uap)
@@ -383,9 +381,6 @@ struct msgctl_args {
};
#endif
-/*
- * MPSAFE
- */
int
msgctl(td, uap)
struct thread *td;
@@ -559,9 +554,6 @@ struct msgget_args {
};
#endif
-/*
- * MPSAFE
- */
int
msgget(td, uap)
struct thread *td;
@@ -979,9 +971,6 @@ done2:
return (error);
}
-/*
- * MPSAFE
- */
int
msgsnd(td, uap)
struct thread *td;
@@ -1265,9 +1254,6 @@ done2:
return (error);
}
-/*
- * MPSAFE
- */
int
msgrcv(td, uap)
struct thread *td;