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/sysv_shm.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/sysv_shm.c')
-rw-r--r-- | sys/kern/sysv_shm.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/sys/kern/sysv_shm.c b/sys/kern/sysv_shm.c index fe568b4..7c49784 100644 --- a/sys/kern/sysv_shm.c +++ b/sys/kern/sysv_shm.c @@ -290,9 +290,6 @@ struct shmdt_args { }; #endif -/* - * MPSAFE - */ int shmdt(td, uap) struct thread *td; @@ -344,9 +341,6 @@ struct shmat_args { }; #endif -/* - * MPSAFE - */ int kern_shmat(td, shmid, shmaddr, shmflg) struct thread *td; @@ -477,9 +471,6 @@ struct oshmctl_args { struct oshmid_ds *ubuf; }; -/* - * MPSAFE - */ static int oshmctl(td, uap) struct thread *td; @@ -542,9 +533,6 @@ struct shmctl_args { }; #endif -/* - * MPSAFE - */ int kern_shmctl(td, shmid, cmd, buf, bufsz) struct thread *td; @@ -813,9 +801,6 @@ shmget_allocate_segment(td, uap, mode) return (0); } -/* - * MPSAFE - */ int shmget(td, uap) struct thread *td; @@ -848,9 +833,6 @@ done2: return (error); } -/* - * MPSAFE - */ int shmsys(td, uap) struct thread *td; |