svn commit: r185987 - head/sys/kern
Konstantin Belousov
kib at FreeBSD.org
Fri Dec 12 14:03:05 UTC 2008
Author: kib
Date: Fri Dec 12 14:03:04 2008
New Revision: 185987
URL: http://svn.freebsd.org/changeset/base/185987
Log:
Uio_yield() already does DROP_GIANT/PICKUP_GIANT, no need to repeat this
around the call.
Noted by: bde
Modified:
head/sys/kern/kern_sysctl.c
Modified: head/sys/kern/kern_sysctl.c
==============================================================================
--- head/sys/kern/kern_sysctl.c Fri Dec 12 13:21:31 2008 (r185986)
+++ head/sys/kern/kern_sysctl.c Fri Dec 12 14:03:04 2008 (r185987)
@@ -1423,9 +1423,7 @@ userland_sysctl(struct thread *td, int *
error = sysctl_root(0, name, namelen, &req);
if (error != EAGAIN)
break;
- DROP_GIANT();
uio_yield();
- PICKUP_GIANT();
}
if (req.lock == REQ_WIRED && req.validlen > 0)
More information about the svn-src-all
mailing list