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/kern_resource.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/kern_resource.c')
-rw-r--r-- | sys/kern/kern_resource.c | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/sys/kern/kern_resource.c b/sys/kern/kern_resource.c index 3bd76f3..8ab4f2a 100644 --- a/sys/kern/kern_resource.c +++ b/sys/kern/kern_resource.c @@ -85,9 +85,6 @@ struct getpriority_args { int who; }; #endif -/* - * MPSAFE - */ int getpriority(td, uap) struct thread *td; @@ -174,9 +171,6 @@ struct setpriority_args { int prio; }; #endif -/* - * MPSAFE - */ int setpriority(td, uap) struct thread *td; @@ -278,8 +272,6 @@ donice(struct thread *td, struct proc *p, int n) /* * Set realtime priority for LWP. - * - * MPSAFE */ #ifndef _SYS_SYSPROTO_H_ struct rtprio_thread_args { @@ -373,8 +365,6 @@ rtprio_thread(struct thread *td, struct rtprio_thread_args *uap) /* * Set realtime priority. - * - * MPSAFE */ #ifndef _SYS_SYSPROTO_H_ struct rtprio_args { @@ -556,9 +546,6 @@ struct osetrlimit_args { struct orlimit *rlp; }; #endif -/* - * MPSAFE - */ int osetrlimit(td, uap) struct thread *td; @@ -582,9 +569,6 @@ struct ogetrlimit_args { struct orlimit *rlp; }; #endif -/* - * MPSAFE - */ int ogetrlimit(td, uap) struct thread *td; @@ -624,9 +608,6 @@ struct __setrlimit_args { struct rlimit *rlp; }; #endif -/* - * MPSAFE - */ int setrlimit(td, uap) struct thread *td; @@ -771,9 +752,6 @@ struct __getrlimit_args { struct rlimit *rlp; }; #endif -/* - * MPSAFE - */ /* ARGSUSED */ int getrlimit(td, uap) @@ -934,9 +912,6 @@ struct getrusage_args { struct rusage *rusage; }; #endif -/* - * MPSAFE - */ int getrusage(td, uap) register struct thread *td; |