Date: Wed, 18 Jun 2008 15:34:53 GMT From: Marko Zec <zec@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 143701 for review Message-ID: <200806181534.m5IFYr4U065243@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=143701 Change 143701 by zec@zec_tpx32 on 2008/06/18 15:34:50 More WS noise redux. Affected files ... .. //depot/projects/vimage/src/sys/kern/kern_synch.c#18 edit .. //depot/projects/vimage/src/sys/kern/sched_4bsd.c#23 edit .. //depot/projects/vimage/src/sys/kern/uipc_socket.c#17 edit .. //depot/projects/vimage/src/sys/kern/uipc_syscalls.c#19 edit Differences ... ==== //depot/projects/vimage/src/sys/kern/kern_synch.c#18 (text+ko) ==== @@ -82,7 +82,6 @@ struct loadavg averunnable = { {0, 0, 0}, FSCALE }; /* load average, of runnable procs */ - /* * Constants for averages over 1, 5, and 15 minutes * when sampling at 5 second intervals. ==== //depot/projects/vimage/src/sys/kern/sched_4bsd.c#23 (text+ko) ==== @@ -243,7 +243,6 @@ sched_tdcnt--; CTR1(KTR_SCHED, "global load: %d", sched_tdcnt); } - /* * Arrange to reschedule if necessary, taking the priorities and * schedulers into account. ==== //depot/projects/vimage/src/sys/kern/uipc_socket.c#17 (text+ko) ==== @@ -2025,7 +2025,8 @@ error = 0; if (sopt->sopt_level != SOL_SOCKET) { if (so->so_proto && so->so_proto->pr_ctloutput) - return ((*so->so_proto->pr_ctloutput) (so, sopt)); + return ((*so->so_proto->pr_ctloutput) + (so, sopt)); error = ENOPROTOOPT; } else { switch (sopt->sopt_name) { ==== //depot/projects/vimage/src/sys/kern/uipc_syscalls.c#19 (text+ko) ==== @@ -1577,7 +1577,6 @@ error = ENOTCONN; goto done; } - *sa = NULL; CURVNET_SET(so->so_vnet); error = (*so->so_proto->pr_usrreqs->pru_peeraddr)(so, sa);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200806181534.m5IFYr4U065243>