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) _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"