cvs commit: src/tools/sched schedgraph.py

2005-11-06 Thread Robert Watson
rwatson 2005-11-06 17:43:25 UTC FreeBSD src repository Modified files: tools/sched schedgraph.py Log: Fix two minor typos that caused schedgraph to exit with an exception when running on traces referencing >2 CPUs. Revision ChangesPath 1.7 +2 -2

cvs commit: doc/en_US.ISO8859-1/books/porters-handbook book.sgml

2005-11-07 Thread Robert Watson
rwatson 2005-11-07 13:36:56 UTC FreeBSD doc repository Modified files: en_US.ISO8859-1/books/porters-handbook book.sgml Log: Add __FreeBSD_version 74 entry for solisten() argument change. Reminded by:fenner Revision ChangesPath 1.629 +5 -0 doc/en

cvs commit: src/usr.sbin/config configvers.h

2005-11-07 Thread Robert Watson
rwatson 2005-11-07 18:45:46 UTC FreeBSD src repository Modified files: usr.sbin/config configvers.h Log: Minor comment tweak to prevent gcc from being upset about the substring /* appearing in a comment. Revision ChangesPath 1.40 +1 -1 src/usr.sbin/co

cvs commit: src/sys/netinet tcp_input.c

2005-11-07 Thread Robert Watson
rwatson 2005-11-07 18:54:53 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/netinet tcp_input.c Log: Merge tcp_input.c:1.284 from HEAD to RELENG_6: Convert if (tp->t_state == TCPS_LISTEN) panic() into a KASSERT. Revision Changes

cvs commit: src/sys/vm uma_core.c

2005-11-07 Thread Robert Watson
rwatson 2005-11-07 18:57:08 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/vm uma_core.c Log: Merge uma_core.c:1.132 from HEAD to RELENG_6: Add a "show uma" command to DDB, which prints out the current stats for available UMA zon

cvs commit: src/sys/kern kern_malloc.c

2005-11-07 Thread Robert Watson
rwatson 2005-11-07 18:57:59 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/kern kern_malloc.c Log: Merge kern_malloc.c:1.147 from HEAD to RELENG_6: Add a "show malloc" command to DDB, which prints out the current stats for availabl

cvs commit: src/sys/kern kern_malloc.c src/sys/vm uma_core.c

2005-11-07 Thread Robert Watson
rwatson 2005-11-07 18:59:13 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/kern kern_malloc.c sys/vm uma_core.c Log: Merge kern_malloc.c:1.148, uma_core.c:1.133 from HEAD to RELENG_6: Change format string for u_int64

cvs commit: src/etc/mtree BSD.include.dist

2005-11-08 Thread Robert Watson
rwatson 2005-11-08 09:53:28 UTC FreeBSD src repository Modified files: etc/mtreeBSD.include.dist Log: Fix minor white space nit introduced in 1.102: use spaces, not tabs. Revision ChangesPath 1.103 +2 -2 src/etc/mtree/BSD.include.dist

cvs commit: src/lib/libmemstat libmemstat.3 memstat.c memstat.h memstat_all.c memstat_uma.c

2005-11-09 Thread Robert Watson
rwatson 2005-11-09 10:20:48 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) lib/libmemstat libmemstat.3 memstat.c memstat.h memstat_all.c memstat_uma.c Log: Merge libmemstat.3:1.7, memstat.c:1.7, memstat.h:1.8, memstat_all.c:1.

cvs commit: src/lib/libmemstat libmemstat.3 memstat.h memstat_all.c memstat_malloc.c

2005-11-09 Thread Robert Watson
rwatson 2005-11-09 10:22:29 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) lib/libmemstat libmemstat.3 memstat.h memstat_all.c memstat_malloc.c Log: Merge libmemstat.3:1.8, memstat.h:1.9, memstat_all.c:1.3, memstat_malloc:1.

cvs commit: src/lib/libmemstat libmemstat.3

2005-11-09 Thread Robert Watson
rwatson 2005-11-09 10:23:33 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) lib/libmemstat libmemstat.3 Log: Merge libmemstat.3:1.9 from HEAD to RELENG_6: Document kvm(3)-related error constants, and correct minor formatting nits. Revisi

cvs commit: src/usr.bin/vmstat vmstat.c

2005-11-09 Thread Robert Watson
rwatson 2005-11-09 13:28:08 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) usr.bin/vmstat vmstat.c Log: Merge vmstat.c:1.89 from HEAD to RELENG_6: Teach vmstat's domemstat_zone() to use memstat_kvm_uma() when the kvm descriptor is non-NULL,

cvs commit: src/usr.bin/vmstat vmstat.c

2005-11-09 Thread Robert Watson
rwatson 2005-11-09 13:28:50 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) usr.bin/vmstat vmstat.c Log: Merge vmstat.c:1.90 from HEAD to RELENG_6: Use libmemstat(3)'s kvm support for malloc(9) rather than hand-extracting this information fro

cvs commit: src/sys/kern kern_descrip.c

2005-11-09 Thread Robert Watson
rwatson 2005-11-09 20:54:25 UTC FreeBSD src repository Modified files: sys/kern kern_descrip.c Log: In closef(), remove the assumption that there is a thread associated with the file descriptor. When a file descriptor is closed as a result of garbage collecting a

cvs commit: src/tools/regression/sockets/unix_passfd Makefile unix_passfd.c

2005-11-09 Thread Robert Watson
rwatson 2005-11-09 21:41:20 UTC FreeBSD src repository Added files: tools/regression/sockets/unix_passfd Makefile unix_passfd.c Log: Add unix_passfd, a simple set of regression tests for UNIX domain socket file descriptor passing. These tests are not all currently passed.

cvs commit: src/sys/kern kern_descrip.c

2005-11-09 Thread Robert Watson
rwatson 2005-11-09 22:02:02 UTC FreeBSD src repository Modified files: sys/kern kern_descrip.c Log: Fix typo in recent comment tweak. Submitted by: jkim MFC after: 1 week Revision ChangesPath 1.285 +1 -1 src/sys/kern/kern_descrip.c _

cvs commit: src/sys/kern kern_descrip.c

2005-11-10 Thread Robert Watson
rwatson 2005-11-10 10:42:50 UTC FreeBSD src repository Modified files: sys/kern kern_descrip.c Log: Add a DDB "show files" command to list the current open file list, some state about each open file, and identify the first process in the process table that referen

cvs commit: src/sys/kern kern_descrip.c

2005-11-10 Thread Robert Watson
rwatson 2005-11-10 11:35:59 UTC FreeBSD src repository Modified files: sys/kern kern_descrip.c Log: Expanet of details printed for each file descriptor to include it's garbage collection flags. Reformat generally to make this fit and leave some room for future ex

Re: cvs commit: src/sys/kern kern_descrip.c

2005-11-10 Thread Robert Watson
On Thu, 10 Nov 2005, Robert Watson wrote: rwatson 2005-11-10 11:35:59 UTC FreeBSD src repository Modified files: sys/kern kern_descrip.c Log: Expanet of details printed for each file descriptor to include it's Editor braino: should read "Expand the set"

cvs commit: src/sys/kern kern_descrip.c

2005-11-10 Thread Robert Watson
rwatson 2005-11-10 13:26:29 UTC FreeBSD src repository Modified files: sys/kern kern_descrip.c Log: Add the f_msgcount field to the set of struct file fields printed in show files. MFC after: 1 week Revision ChangesPath 1.288 +5 -4 src

cvs commit: src/sys/kern uipc_usrreq.c

2005-11-10 Thread Robert Watson
rwatson 2005-11-10 16:06:05 UTC FreeBSD src repository Modified files: sys/kern uipc_usrreq.c Log: Correct a number of serious and closely related bugs in the UNIX domain socket file descriptor garbage collection code, which is intended to detect and clear cycles

cvs commit: src/sys/kern kern_acct.c

2005-11-12 Thread Robert Watson
rwatson 2005-11-12 10:45:13 UTC FreeBSD src repository Modified files: sys/kern kern_acct.c Log: Significant refactoring of the accounting code to improve locking and VFS happiness, as well as correct other bugs: - Replace notion of current and saved accounting

cvs commit: src/usr.bin/kdump kdump.1 kdump.c

2005-11-12 Thread Robert Watson
rwatson 2005-11-12 14:21:48 UTC FreeBSD src repository Modified files: usr.bin/kdumpkdump.1 kdump.c Log: Add "-s" argument to kdump to suppress the display of I/O data. MFC after: 1 week Revision ChangesPath 1.14 +3 -1 src/usr.bin/kdump/kdu

cvs commit: src/sys/kern init_main.c kern_exit.c kern_fork.c kern_ktrace.c kern_proc.c subr_trap.c src/sys/sys ktrace.h proc.h

2005-11-13 Thread Robert Watson
rwatson 2005-11-13 13:27:44 UTC FreeBSD src repository Modified files: sys/kern init_main.c kern_exit.c kern_fork.c kern_ktrace.c kern_proc.c subr_trap.c sys/sys ktrace.h proc.h Log: Moderate rewrite of kernel ktrace code to

cvs commit: src/lib/libmemstat Makefile

2005-11-13 Thread Robert Watson
rwatson 2005-11-13 13:42:03 UTC FreeBSD src repository Modified files: lib/libmemstat Makefile Log: Add symlinks for kvm access methods for memstat(3). MFC after: 3 days Revision ChangesPath 1.5 +3 -0 src/lib/libmemstat/Makefile

cvs commit: src/usr.bin/netstat main.c mbuf.c netstat.h

2005-11-13 Thread Robert Watson
rwatson 2005-11-13 14:06:01 UTC FreeBSD src repository Modified files: usr.bin/netstat main.c mbuf.c netstat.h Log: Modify netstat -mb to use libmemstat when accessing a core dump or live kernel memory and not using sysctl. Previously, libmemstat was used only for the l

cvs commit: src/sys/dev/em if_em.c

2005-11-14 Thread Robert Watson
rwatson 2005-11-14 10:40:58 UTC FreeBSD src repository Modified files:(Branch: RELENG_5) sys/dev/em if_em.c Log: Merge if_em.c:1.82 from HEAD to RELENG_5: Put probe-time printf of adapter speed and duplex behind bootverbose: since the link takes a bit

cvs commit: src/sys/dev/em if_em.c

2005-11-14 Thread Robert Watson
rwatson 2005-11-14 10:40:10 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/dev/em if_em.c Log: Merge if_em.c:1.82 from HEAD to RELENG_6: Put probe-time printf of adapter speed and duplex behind bootverbose: since the link takes a bit

Re: cvs commit: src/usr.bin/rpcgen rpc_main.c

2005-11-14 Thread Robert Watson
On Mon, 14 Nov 2005, David Malone wrote: On Mon, Nov 14, 2005 at 03:11:25AM +, Craig Rodrigues wrote: Modified files: usr.bin/rpcgen rpc_main.c Log: Eliminate build breakage due to warnings about const. Hmm, drat - I tought I'd tested this properly. I knew there was one

Re: cvs commit: www/en/docs books.sgml

2005-11-14 Thread Robert Watson
On Mon, 14 Nov 2005, Joseph Koshy wrote: jkoshy 2005-11-14 02:20:07 UTC FreeBSD doc repository Modified files: en/docs books.sgml Log: Link to 'articles/building-products' from the website. This is a great article, and just the sort of piece we need. When you're d

cvs commit: src/sys/kern kern_ktrace.c

2005-11-14 Thread Robert Watson
rwatson 2005-11-14 19:30:09 UTC FreeBSD src repository Modified files: sys/kern kern_ktrace.c Log: In ktr_getrequest(), acquire ktrace_mtx earlier -- while the race currently present is minor and offers no real semantic issues, it also doesn't make sense since an

Re: cvs commit: src/sys/dev/sound/pcm channel.c

2005-11-15 Thread Robert Watson
On Tue, 15 Nov 2005, Alexander Leidinger wrote: Modified files: sys/dev/sound/pcmchannel.c Log: Unbreak kernel builds. Submitted by: arr Hos does the change from "min & (min-1) == 0" to "(min & (min-1)) == 0" fix the building of a kernel (what was the error message from gcc)?

cvs commit: src/sys/sys ktrace.h src/sys/kern kern_ktrace.c

2005-11-16 Thread Robert Watson
rwatson 2005-11-16 08:11:06 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/sys ktrace.h sys/kern kern_ktrace.c Log: Merge kern_ktrace.c:1.102, ktrace.h:1.30 from HEAD to RELENG_6: Replace ktr_buffer pointer in struct

cvs commit: src/sys/kern kern_descrip.c

2005-11-16 Thread Robert Watson
rwatson 2005-11-16 08:12:11 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/kern kern_descrip.c Log: Merge kern_descrip.c:1.284 from HEAD to RELENG_6: In closef(), remove the assumption that there is a thread associated with the fil

cvs commit: src/sys/kern kern_descrip.c

2005-11-16 Thread Robert Watson
rwatson 2005-11-16 08:15:58 UTC FreeBSD src repository Modified files:(Branch: RELENG_5) sys/kern kern_descrip.c Log: Merge kern_descrip.c:1.284 from HEAD to RELENG_5: In closef(), remove the assumption that there is a thread associated with the fil

cvs commit: src/lib/libmemstat Makefile

2005-11-16 Thread Robert Watson
rwatson 2005-11-16 08:20:44 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) lib/libmemstat Makefile Log: Merge Makefile:1.5 from HEAD to RELENG_6: Add symlinks for kvm access methods for memstat(3). Revision ChangesPath 1.3.2.2 +3 -

cvs commit: projects/trustedbsd/www trustedbsd-supfile

2005-11-16 Thread Robert Watson
rwatson 2005-11-16 15:21:29 UTC FreeBSD projects repository Modified files: trustedbsd/www trustedbsd-supfile Log: People cvsuping the audit code should use the audit3 collection, not the audit collection, as we're now using the audit3 branch for active development.

cvs commit: projects/trustedbsd/www trustedbsd-supfile

2005-11-16 Thread Robert Watson
rwatson 2005-11-16 15:51:21 UTC FreeBSD projects repository Modified files: trustedbsd/www trustedbsd-supfile Log: Add OpenBSM cvsup collection to sample supfile. Revision ChangesPath 1.5 +2 -1 projects/trustedbsd/www/trustedbsd-supfile __

cvs commit: src/sys/kern kern_descrip.c

2005-11-17 Thread Robert Watson
rwatson 2005-11-17 13:11:37 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/kern kern_descrip.c Log: Merge kern_descrip.c:1.286, 1.287, 1.288 from HEAD to RELENG_6: Add a DDB "show files" command to list the current open file list, some

Re: cvs commit: src/usr.sbin/rpc.lockd kern.c

2005-11-17 Thread Robert Watson
On Thu, 17 Nov 2005, Hartmut Brandt wrote: harti 2005-11-17 12:19:19 UTC FreeBSD src repository Modified files: usr.sbin/rpc.lockd kern.c Log: When a user is in more than 16 groups the call to authunix_create() will result in abort() beeing called. This is because there is a l

cvs commit: src/usr.sbin/pstat pstat.c

2005-11-17 Thread Robert Watson
rwatson 2005-11-17 19:31:52 UTC FreeBSD src repository Modified files: usr.sbin/pstat pstat.c Log: Print (total - used) as the amount of available swap for a swap device when printing swapinfo output, rather than (total), as that is (strictly speaking) more accurate.

Re: cvs commit: src/usr.sbin/rpc.lockd kern.c

2005-11-17 Thread Robert Watson
On Thu, 17 Nov 2005, John-Mark Gurney wrote: Hartmut Brandt wrote this message on Thu, Nov 17, 2005 at 12:19 +: harti 2005-11-17 12:19:19 UTC FreeBSD src repository Modified files: usr.sbin/rpc.lockd kern.c Log: When a user is in more than 16 groups the call to authun

cvs commit: src/usr.bin/kdump kdump.1 kdump.c

2005-11-19 Thread Robert Watson
rwatson 2005-11-19 11:55:50 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) usr.bin/kdumpkdump.1 kdump.c Log: Merge kdump.1:1.14 and kdump.c:1.28 from HEAD to RELENG_6: Add "-s" argument to kdump to suppress the display of I/O data. Revisi

cvs commit: src/usr.bin/kdump kdump.1 kdump.c

2005-11-19 Thread Robert Watson
rwatson 2005-11-19 12:15:10 UTC FreeBSD src repository Modified files:(Branch: RELENG_5) usr.bin/kdumpkdump.1 kdump.c Log: Merge kdump.1:1.14 and kdump.c:1.28 from HEAD to RELENG_5: Add "-s" argument to kdump to suppress the display of I/O data. Revisi

cvs commit: src/usr.bin/netstat main.c mbuf.c netstat.h

2005-11-19 Thread Robert Watson
rwatson 2005-11-20 00:38:06 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) usr.bin/netstat main.c mbuf.c netstat.h Log: Merge main.c:1.80, mbuf.c:1.45, netstat.h:1.46 from HEAD to RELENG_6: Modify netstat -mb to use libmemstat when accessing a co

cvs commit: src/usr.sbin/pstat pstat.c

2005-11-19 Thread Robert Watson
rwatson 2005-11-20 00:40:03 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) usr.sbin/pstat pstat.c Log: Merge pstat.c:1.96 from HEAD to RELENG_6: Print (total - used) as the amount of available swap for a swap device when printing swapinfo ou

cvs commit: src/sys/kern uipc_usrreq.c

2005-11-25 Thread Robert Watson
rwatson 2005-11-25 11:22:39 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/kern uipc_usrreq.c Log: Merge uipc_usrreq.c:1.159 from HEAD to RELENG_6: Correct a number of serious and closely related bugs in the UNIX domain socket file

cvs commit: src/sys/sys time.h src/sys/kern kern_time.c

2005-11-26 Thread Robert Watson
rwatson 2005-11-27 00:55:18 UTC FreeBSD src repository Modified files: sys/sys time.h sys/kern kern_time.c Log: Add several aliases for existing clockid_t names to indicate that the application wishes to request high precision time stamps be return

Re: cvs commit: src/sys/sys time.h src/sys/kern kern_time.c

2005-11-26 Thread Robert Watson
On Sun, 27 Nov 2005, Robert Watson wrote: Add experimental low-precision clockid_t names corresponding to these clocks, but implemented using cached timestamps in kernel rather than a full time counter query. This offers a minimum update rate of 1/HZ, but in practice will often be more

Re: cvs commit: src/sys/sys time.h src/sys/kern kern_time.c

2005-11-27 Thread Robert Watson
On Sun, 27 Nov 2005, Poul-Henning Kamp wrote: In message <[EMAIL PROTECTED]>, Robert Watson writes: This offers a minimum update rate of 1/HZ, but in practice will often be more frequent due to the frequency of time stamping in the kernel: Not quite... The precision is guaranteed

Re: cvs commit: src/sys/sys time.h src/sys/kern kern_time.c

2005-11-27 Thread Robert Watson
On Sun, 27 Nov 2005, Bruce Evans wrote: Add experimental low-precision clockid_t names corresponding to these clocks, but implemented using cached timestamps in kernel rather than a full time counter query. These existence of these interfaces is a mistake even in the kernel. On all machine

Re: cvs commit: src/sys/sys time.h src/sys/kern kern_time.c

2005-11-27 Thread Robert Watson
On Mon, 28 Nov 2005, Bruce Evans wrote: % /* % * Small wrapper library to substitute implementations of gettimeofday(2) and % * time(3) with lower resolution variations. time(3) is unconditionally % * degraded, since it will return a truncated time anyway. gettimeofday(3) % * checks the

Re: cvs commit: src/sys/sys time.h src/sys/kern kern_time.c

2005-11-27 Thread Robert Watson
On Sun, 27 Nov 2005, Bruce Evans wrote: Thus we get a small speedup at a cost of some complexity and large inerface bloat. This is partly because there are too many context switches and context switches necessarily use a precise timestamp, and file timestamps are under-represented since the

Re: cvs commit: src/sys/sys time.h src/sys/kern kern_time.c

2005-11-27 Thread Robert Watson
On Sun, 27 Nov 2005, Norikatsu Shigemura wrote: On Sun, 27 Nov 2005 13:23:00 + (GMT) Robert Watson <[EMAIL PROTECTED]> wrote: time(3) should use the environment variable too, since the fast version gives a value that is both imprecise and wrong. It inherits bugs from the ke

Re: cvs commit: src/sys/sys time.h src/sys/kern kern_time.c

2005-11-27 Thread Robert Watson
On Mon, 28 Nov 2005, Bruce Evans wrote: is something I'm quite willing to discuss, but the evidence seems to suggest that if we want to improve the performance of this class of applications, we need to provide time keeping services that match their requirements (run frequently with fairly wea

cvs commit: src/sys/net if_ethersubr.c

2005-11-27 Thread Robert Watson
rwatson 2005-11-27 18:37:15 UTC FreeBSD src repository Modified files:(Branch: RELENG_4) sys/net if_ethersubr.c Log: Add several missing calls to splx() in error cases associated with calling ether_ipfw_chk() from the ethernet output code. PR:

cvs commit: src/sys/kern kern_acct.c

2005-11-27 Thread Robert Watson
rwatson 2005-11-27 19:09:10 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/kern kern_acct.c Log: Merge kern_acct.c:1.76 from HEAD to RELENG_6: Significant refactoring of the accounting code to improve locking and VFS happiness, as

cvs commit: src/usr.bin/netstat mbuf.c

2005-11-28 Thread Robert Watson
rwatson 2005-11-28 18:06:21 UTC FreeBSD src repository Modified files: usr.bin/netstat mbuf.c Log: Remove two lines of debugging output that accidentally snuck into the commit to fix up kvm support for netstat -m. Revision ChangesPath 1.46 +0 -2 src/u

cvs commit: src/usr.bin/netstat mbuf.c

2005-11-28 Thread Robert Watson
rwatson 2005-11-28 18:07:36 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) usr.bin/netstat mbuf.c Log: Merge mbuf.c:1.46 from HEAD to RELENG_6: trim accidentally committed debugging printfs from netstat -m. Revision ChangesPath 1.42.8.3 +

cvs commit: src/sys/kern uipc_socket.c

2005-11-28 Thread Robert Watson
rwatson 2005-11-28 18:09:03 UTC FreeBSD src repository Modified files: sys/kern uipc_socket.c Log: Break out functionality in sosend() responsible for building mbuf chains and copying in mbufs from the body of the send logic, creating a new function sosend_copyin(

cvs commit: www/en/projects/netperf cluster.sgml

2005-11-28 Thread Robert Watson
rwatson 2005-11-28 19:59:42 UTC FreeBSD doc repository Modified files: en/projects/netperf cluster.sgml Log: Add information on donated origins of hardware. Update for new power consoles. Update for hippo. Revision ChangesPath 1.10 +17 -11www/en/pr

cvs commit: www/en/projects/netperf cluster.sgml

2005-11-28 Thread Robert Watson
rwatson 2005-11-28 20:01:10 UTC FreeBSD doc repository Modified files: en/projects/netperf cluster.sgml Log: Fix syntax typo in last commit. Revision ChangesPath 1.11 +2 -2 www/en/projects/netperf/cluster.sgml ___

cvs commit: src/sys/kern uipc_socket.c

2005-11-28 Thread Robert Watson
rwatson 2005-11-28 21:45:36 UTC FreeBSD src repository Modified files: sys/kern uipc_socket.c Log: Move zero copy statistics structure before sosend_copyin(). MFC after: 1 month Reported by:tinderbox, sam Revision ChangesPath 1.254 +15

Re: cvs commit: src/sys/kern uipc_socket.c

2005-11-30 Thread Robert Watson
On Tue, 29 Nov 2005, John Baldwin wrote: Fix snderr() to not leak the socket buffer lock if an error occurs in sosend(). Robert accidentally changed the snderr() macro to jump to the out label which assumes the lock is already released rather than the release label which drops the lock in

Re: cvs commit: src/sys/kern uipc_socket.c

2005-11-30 Thread Robert Watson
On Wed, 30 Nov 2005, Dag-Erling Smørgrav wrote: Robert Watson <[EMAIL PROTECTED]> writes: Thanks for fixing this -- I ran this patch in testing for ages, but must have done some "clean up" or other such 99.85% harmless activity :-(. And how many years have you been drink

Re: cvs commit: src/sys/dev/nve if_nve.c

2005-12-02 Thread Robert Watson
On Thu, 27 Oct 2005, David E. O'Brien wrote: obrien 2005-10-27 15:39:19 UTC FreeBSD src repository Modified files: sys/dev/nve if_nve.c Log: Clear pending_txs when not "RUNNING". Submitted by: Q <[EMAIL PROTECTED]> David, I have had at least one report that this pat

Re: cvs commit: src/sys/dev/nve if_nve.c

2005-12-02 Thread Robert Watson
On Fri, 2 Dec 2005, John Baldwin wrote: I have had at least one report that this patch corrects repeated wedging of the if_nve interface on 6.x systems. Do you have plans to merge this patch to RELENG_6 and/or RELENG_6_0? The PR seems to suggest a larger set of changes that I've not dug int

Re: cvs commit: src/sys/pci agp_i810.c agpreg.h

2005-12-03 Thread Robert Watson
On Fri, 2 Dec 2005, Eric Anholt wrote: Add support for i915 GMCH AGP. This diff is a combination of work by myself and some fixes from Motomichi Matsuzaki. Testing involved many people, but the final, successful testing was from rwatson who endured several rounds of "it crashes at XYZ stag

Re: cvs commit: src/sys/kern vfs_mount.c

2005-12-03 Thread Robert Watson
On Sat, 3 Dec 2005, Ruslan Ermilov wrote: On Sat, Dec 03, 2005 at 12:04:20PM +, Craig Rodrigues wrote: rodrigc 2005-12-03 12:04:20 UTC FreeBSD src repository Modified files: sys/kern vfs_mount.c Log: Add "rdonly" to global_opts, and parse it in vfs_donmount().

Re: cvs commit: src/sys/kern uipc_socket.c

2005-12-05 Thread Robert Watson
On Sun, 4 Dec 2005, Mike Silbersack wrote: On Mon, 28 Nov 2005, Robert Watson wrote: Break out functionality in sosend() responsible for building mbuf chains and copying in mbufs from the body of the send logic, creating a new function sosend_copyin(). This changes makes sosend() almost

cvs commit: src/tools/tools/umastat Makefile umastat.c

2005-12-05 Thread Robert Watson
rwatson 2005-12-05 13:04:00 UTC FreeBSD src repository Added files: tools/tools/umastat Makefile umastat.c Log: Add a simple KVM tool to dump the kernel state of UMA, including walking the keg/zone lists, summarizing cache state, and walking bucket lists in each zone. I see

Re: cvs commit: src/sys/kern uipc_socket.c

2005-12-05 Thread Robert Watson
On Mon, 5 Dec 2005, Mike Silbersack wrote: On Mon, 5 Dec 2005, Robert Watson wrote: (3) Enhance m_uiotombuf() so that it can either be trivially wrapped by sosend_copyin(), or replace it. At the very least, this means adding zero-copy support to m_uiotombuf(), but I've not look

cvs commit: src/tools/tools/umastat umastat.c

2005-12-08 Thread Robert Watson
rwatson 2005-12-08 13:16:22 UTC FreeBSD src repository Modified files: tools/tools/umastat umastat.c Log: Teach umastat about the variable-length array of per-CPU caches at the end of struct uma_zone. It is declared as an array of size [1], but then sized at run-time by UMA

cvs commit: src/tools/tools/umastat umastat.c

2005-12-08 Thread Robert Watson
rwatson 2005-12-08 13:33:12 UTC FreeBSD src repository Modified files: tools/tools/umastat umastat.c Log: After printing per-cpu cache contents, summarize total cached items and entries across the caches. Fix an off-by-one error in counting caches. Revision Changes

cvs commit: src/share/man/man9 VFS_LOCK_GIANT.9

2005-12-24 Thread Robert Watson
rwatson 2005-12-24 08:25:15 UTC FreeBSD src repository Modified files: share/man/man9 VFS_LOCK_GIANT.9 Log: Add missing mount.h include to VFS_LOCK_GIANT() man page. Submitted by: Wojciech A. Koszek MFC after: 3 days Revision ChangesPath 1.4

cvs commit: src/tools/tools/netrate/juggle Makefile juggle.c

2005-12-28 Thread Robert Watson
rwatson 2005-12-28 12:42:12 UTC FreeBSD src repository Added files: tools/tools/netrate/juggle Makefile juggle.c Log: Add 'juggle', a simple IPC micro-benchmark that uses various IPC types to perform varying number of small IPC operations. It runs using a single process and

cvs commit: src/sbin/ifconfig ifieee80211.c

2005-12-30 Thread Robert Watson
rwatson 2005-12-30 17:27:26 UTC FreeBSD src repository Modified files: sbin/ifconfigifieee80211.c Log: When printing SSID's in ifconfig(8)'s scan mode, set the width of the ssid field to 32 characters instead of 14, as long SSID's are quite common and hard to type in

cvs commit: src/sys/fs/devfs devfs_rule.c

2006-01-03 Thread Robert Watson
rwatson 2006-01-03 09:49:10 UTC FreeBSD src repository Modified files: sys/fs/devfs devfs_rule.c Log: When returning EIO from DEVFSIO_RADD ioctl, drop the exclusive rule lock. Otherwise the system comes to a rather sudden and grinding halt. MFC after: 1 wee

cvs commit: src/share/man/man9 VFS_LOCK_GIANT.9

2006-01-03 Thread Robert Watson
rwatson 2006-01-03 14:00:22 UTC FreeBSD src repository Modified files: share/man/man9 VFS_LOCK_GIANT.9 Log: Back out VFS_LOCK_GIANT.9:1.4, due to losing a race in change/update against revision 1.3. No need to include mount.h twice, once will be quite enough. Poin

cvs commit: src/sys/fs/devfs devfs_rule.c

2006-01-11 Thread Robert Watson
rwatson 2006-01-11 10:15:57 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/fs/devfs devfs_rule.c Log: MFC devfs_rule.c:1.21 from HEAD to RELENG_6: When returning EIO from DEVFSIO_RADD ioctl, drop the exclusive rule lock. Otherwise the

cvs commit: src/sys/kern uipc_usrreq.c

2006-01-12 Thread Robert Watson
rwatson 2006-01-13 00:00:32 UTC FreeBSD src repository Modified files: sys/kern uipc_usrreq.c Log: XXX a comment in uipc_usrreq.c that requires updating. Revision ChangesPath 1.161 +2 -0 src/sys/kern/uipc_usrreq.c _

cvs commit: src/sys/sys socketvar.h src/sys/kern uipc_socket.c

2006-01-13 Thread Robert Watson
rwatson 2006-01-13 10:22:01 UTC FreeBSD src repository Modified files: sys/sys socketvar.h sys/kern uipc_socket.c Log: Add sosend_dgram(), a greatly reduced and simplified version of sosend() intended for use solely with atomic datagram socket type

cvs commit: src/sys/netsmb smb_dev.c

2006-01-13 Thread Robert Watson
rwatson 2006-01-13 10:23:39 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/netsmb smb_dev.c Log: MFC smb_dev.c:1.29 from HEAD to RELENG_6: Prevent module unloading if there are active connections. PR: kern/89085

cvs commit: src/sys/nfsclient nfs_lock.c

2006-01-13 Thread Robert Watson
rwatson 2006-01-13 23:16:29 UTC FreeBSD src repository Modified files: sys/nfsclientnfs_lock.c Log: In nfs_dolock(), GC now under-used ioflg, rendered obsolete when we moved from using a fifo to talk to rpc.lockd to using a special device node. Noticed by: Cove

cvs commit: src/sys/net if_ef.c

2006-01-13 Thread Robert Watson
rwatson 2006-01-13 23:20:46 UTC FreeBSD src repository Modified files: sys/net if_ef.c Log: When freeing the chain of if_ef devices on an aborted load, use SLIST_FOREACH_SAFE() rather than SLIST_FOREACH(), as elements are freed on each iteration of the loop. Thi

cvs commit: src/sys/net if_ef.c

2006-01-13 Thread Robert Watson
rwatson 2006-01-13 23:24:09 UTC FreeBSD src repository Modified files: sys/net if_ef.c Log: Check the right ifnet pointer to see if if_alloc() failed or not in ef_clone(); we were testing the original ifnet, not the one allocated. When aborting ef_clone() due

cvs commit: src/sys/kern subr_disk.c

2006-01-13 Thread Robert Watson
rwatson 2006-01-13 23:27:12 UTC FreeBSD src repository Modified files: sys/kern subr_disk.c Log: When calling bioq_first() to see if a queue is empty in bioq_disksort(), don't save the return value as we won't use it. Noticed by: Coverity Prevent analysis t

cvs commit: src/sys/netipx ipx_input.c

2006-01-13 Thread Robert Watson
rwatson 2006-01-13 23:47:56 UTC FreeBSD src repository Modified files: sys/netipx ipx_input.c Log: Remove dead code associated with 'mcopy' in ipx_forward(): at no point are the contents of the forwarded mbuf ever copied into mcopy, so there's no need to have mcopy,

cvs commit: src/sys/netinet6 ipcomp_input.c

2006-01-13 Thread Robert Watson
rwatson 2006-01-13 23:53:23 UTC FreeBSD src repository Modified files: sys/netinet6 ipcomp_input.c Log: In ipcomp6_input(), check 'md' not 'm' after a call to m_pulldown(): 'm' may be a stale pointer at this point, and we're interested in whether or not m_pulldown() f

cvs commit: src/sys/netipx spx_usrreq.c

2006-01-13 Thread Robert Watson
rwatson 2006-01-14 00:05:44 UTC FreeBSD src repository Modified files: sys/netipx spx_usrreq.c Log: In spx_attach() and spx_detach(), there is no need to check whether the ipxpcb is NULL or not: in attach it will be, and on detach it won't be. If for any reason thes

cvs commit: src/sys/netinet6 ip6_output.c

2006-01-13 Thread Robert Watson
rwatson 2006-01-14 00:09:41 UTC FreeBSD src repository Modified files: sys/netinet6 ip6_output.c Log: When storing the results of malloc() in a pointer to a pointer, check the pointer to a pointer for NULL, not the pointer for NULL. Noticed by: Coverity Prevent

cvs commit: src/sys/netinet udp_usrreq.c

2006-01-14 Thread Robert Watson
rwatson 2006-01-14 11:18:33 UTC FreeBSD src repository Modified files: sys/netinet udp_usrreq.c Log: Remove dead code: 'opts' is not used in udp_append(), only in udp_input(), so no need to assign it to NULL or conditionally free it. Found with: Coverity Preve

cvs commit: src/sys/netncp ncp_conn.c

2006-01-14 Thread Robert Watson
rwatson 2006-01-14 11:40:32 UTC FreeBSD src repository Modified files: sys/netncp ncp_conn.c Log: In ncp_sysctl_connstat(), the SLIST_FOREACH() logic to check 'error' resulted in deadcode, as 'error' could never be 0. What this logic was originally meant to handle

cvs commit: src/sys/sys vnode.h

2006-01-14 Thread Robert Watson
rwatson 2006-01-15 02:01:51 UTC FreeBSD src repository Modified files: sys/sys vnode.h Log: Rename uid and gid arguments to vaccess() prototype to match vaccess() implementation in vfs_subr.c. No functional change. MFC after: 3 days Revision Change

cvs commit: src/sys/dev/an if_an.c

2006-01-15 Thread Robert Watson
rwatson 2006-01-15 12:06:09 UTC FreeBSD src repository Modified files: sys/dev/an if_an.c Log: If frame length is excessive, don't leak an mbuf and cluster when abandoning processing. Found with: Coverity Prevent (tm) MFC after: 1 week Revision C

cvs commit: src/sys/dev/an if_an.c

2006-01-15 Thread Robert Watson
rwatson 2006-01-15 12:09:03 UTC FreeBSD src repository Modified files: sys/dev/an if_an.c Log: Don't leak mbufs and mbuf clusters in several error-handling situations in the if_an receive routine. Found with: Coverity Prevent (tm) MFC after: 1 week

cvs commit: src/sys/netinet ip_input.c

2006-01-15 Thread Robert Watson
rwatson 2006-01-15 17:05:49 UTC FreeBSD src repository Modified files: sys/netinet ip_input.c Log: Staticize ipqlock, since it is local to ip_input.c. MFC after: 3 days Revision ChangesPath 1.310 +1 -1 src/sys/netinet/ip_input.c ___

cvs commit: src/sys/netinet ip_input.c

2006-01-15 Thread Robert Watson
rwatson 2006-01-15 18:58:21 UTC FreeBSD src repository Modified files: sys/netinet ip_input.c Log: Modify the IP fragment reassembly code so that it uses a new UMA zone, ipq_zone, to allocate fragment headers from, rather than using cast mbuf storage. This was one o

cvs commit: src/sys/kern vfs_mount.c

2006-01-15 Thread Robert Watson
rwatson 2006-01-15 20:01:06 UTC FreeBSD src repository Modified files: sys/kern vfs_mount.c Log: Cast VFS_STATFS() in vfs_domount() to (void) to indicate that ignoring the return value is intentional: this is simply an attempt to pre-cache the statfs state. F

cvs commit: projects/trustedbsd/www developers.dev

2006-01-15 Thread Robert Watson
rwatson 2006-01-15 20:48:03 UTC FreeBSD projects repository Modified files: trustedbsd/www developers.dev Log: Add csjp to trustedbsd developer list. Revision ChangesPath 1.15 +7 -1 projects/trustedbsd/www/developers.dev ___

  1   2   3   4   5   6   7   8   9   10   >