svn commit: r205165 - head/lib/libc/gen

2010-03-15 Thread Poul-Henning Kamp
Author: phk Date: Mon Mar 15 08:58:35 2010 New Revision: 205165 URL: http://svn.freebsd.org/changeset/base/205165 Log: Comment a fine point, so it does not get lost when people borrow code from FreeBSD for other purposes. Modified: head/lib/libc/gen/daemon.c Modified: head/lib/libc/gen/dae

svn commit: r205167 - head/sys/dev/aac

2010-03-15 Thread Attilio Rao
Author: attilio Date: Mon Mar 15 14:20:16 2010 New Revision: 205167 URL: http://svn.freebsd.org/changeset/base/205167 Log: Make the code more readable and compiling on 64-bits arch different than amd64. Sponsored by: Sandvine Incorporated Submitted by: emaste MFC: 2 weeks X

Re: svn commit: r205165 - head/lib/libc/gen

2010-03-15 Thread Bruce Evans
On Mon, 15 Mar 2010, Poul-Henning Kamp wrote: Log: Comment a fine point, so it does not get lost when people borrow code from FreeBSD for other purposes. Modified: head/lib/libc/gen/daemon.c Modified: head/lib/libc/gen/daemon.c ===

svn commit: r205169 - head/sbin/ipfw

2010-03-15 Thread Luigi Rizzo
Author: luigi Date: Mon Mar 15 15:43:35 2010 New Revision: 205169 URL: http://svn.freebsd.org/changeset/base/205169 Log: Implement "lookup dscp N" which does a lookup of the DSCP (top 6 bits of ip->ip_tos) in a table. This can be useful to direct traffic to different pipes/queues according t

Re: svn commit: r205014 - in head: . sys/amd64/amd64 sys/amd64/conf sys/amd64/include sys/amd64/linux32 sys/compat/freebsd32 sys/compat/ia32 sys/conf sys/fs/procfs sys/ia64/conf sys/ia64/ia64 sys/ia64

2010-03-15 Thread John Baldwin
On Saturday 13 March 2010 02:19:32 pm M. Warner Losh wrote: > In message: <20100313170725.gw8...@hoeg.nl> > > Ed Schouten writes: > : * M. Warner Losh wrote: > : > that sounds like a good idea. But it isn't as simple as changing all > : > the COMPAT_FREEBSDX in the .c code. There's

svn commit: r205170 - head/usr.sbin/powerd

2010-03-15 Thread Joerg Wunsch
Author: joerg Date: Mon Mar 15 16:06:52 2010 New Revision: 205170 URL: http://svn.freebsd.org/changeset/base/205170 Log: then -> than MFC after:1 day Modified: head/usr.sbin/powerd/powerd.8 Modified: head/usr.sbin/powerd/powerd.8 =

Re: svn commit: r205165 - head/lib/libc/gen

2010-03-15 Thread Bruce Evans
On Tue, 16 Mar 2010, Bruce Evans wrote: ... The unobvious points are: - why avoid triggering atexit(), etc. processing in daemon()? - why isn't this documented? Some callers of daemon() need to know that it won't flush open streams, etc., so that they can flush and their open streams, etc., b

Re: svn commit: r205090 - head/sys/dev/bge

2010-03-15 Thread Bruce Evans
On Sun, 14 Mar 2010, Pyun YongHyeon wrote: On Sat, Mar 13, 2010 at 11:05:11PM +1100, Bruce Evans wrote: On Fri, 12 Mar 2010, Pyun YongHyeon wrote: Log: Reorder interrupt handler a bit such that producer/consumer index of status block is read first before acknowledging the interrupts. Otherwis

svn commit: r205172 - head/sys/ia64/ia64

2010-03-15 Thread Marcel Moolenaar
Author: marcel Date: Mon Mar 15 16:53:09 2010 New Revision: 205172 URL: http://svn.freebsd.org/changeset/base/205172 Log: Have cpu_throw() loop on blocked_lock as well. This bug has existed a long time and has gone unnoticed just as long, because I kept using sched_4bsd (due to sched_ule not

svn commit: r205173 - in head: sbin/ipfw sys/netinet sys/netinet/ipfw

2010-03-15 Thread Luigi Rizzo
Author: luigi Date: Mon Mar 15 17:14:27 2010 New Revision: 205173 URL: http://svn.freebsd.org/changeset/base/205173 Log: + implement (two lines) the kernel side of 'lookup dscp N' to use the dscp as a search key in table lookups; + (re)implement a sysctl variable to control the expire f

Re: svn commit: r205090 - head/sys/dev/bge

2010-03-15 Thread Pyun YongHyeon
On Tue, Mar 16, 2010 at 03:47:29AM +1100, Bruce Evans wrote: > On Sun, 14 Mar 2010, Pyun YongHyeon wrote: > > >On Sat, Mar 13, 2010 at 11:05:11PM +1100, Bruce Evans wrote: > >>On Fri, 12 Mar 2010, Pyun YongHyeon wrote: > >> > >>>Log: > >>>Reorder interrupt handler a bit such that producer/consumer

svn commit: r205178 - head/sys/netinet/ipfw

2010-03-15 Thread Luigi Rizzo
Author: luigi Date: Mon Mar 15 18:09:21 2010 New Revision: 205178 URL: http://svn.freebsd.org/changeset/base/205178 Log: small fixes to estimate the buffer size when requesting all pipes/flows. Modified: head/sys/netinet/ipfw/ip_dummynet.c Modified: head/sys/netinet/ipfw/ip_dummynet.c ==

Re: svn commit: r205165 - head/lib/libc/gen

2010-03-15 Thread Poul-Henning Kamp
In message <20100316024446.a24...@delplex.bde.org>, Bruce Evans writes: >On Tue, 16 Mar 2010, Bruce Evans wrote: > >Due to the way that daemon() works, it is really an error to have any >open streams when it is called. This is also undocumented, except >implicitly. The errors are: >- unflushed o

svn commit: r205179 - head/sbin/ipfw

2010-03-15 Thread Luigi Rizzo
Author: luigi Date: Mon Mar 15 18:20:51 2010 New Revision: 205179 URL: http://svn.freebsd.org/changeset/base/205179 Log: print correctly commands of the form ipfw add 100 allow ip from { 1.2.3.4 or 5.6.7.8 } (note that the above example could be better written as ipfw

svn commit: r205181 - head/sbin/ipfw

2010-03-15 Thread Luigi Rizzo
Author: luigi Date: Mon Mar 15 18:26:09 2010 New Revision: 205181 URL: http://svn.freebsd.org/changeset/base/205181 Log: accept lower case m as a synonym for Mega (bit/s or bytes/s). Modified: head/sbin/ipfw/dummynet.c Modified: head/sbin/ipfw/dummynet.c =

svn commit: r205196 - head/share/man/man4

2010-03-15 Thread Joel Dahl
Author: joel (doc committer) Date: Mon Mar 15 20:25:28 2010 New Revision: 205196 URL: http://svn.freebsd.org/changeset/base/205196 Log: Switch to our preferred license. Approved by: Dirk-Willem Van Gulik Modified: head/share/man/man4/urio.4 Modified: head/share/man/man4/urio.4 ===

svn commit: r205197 - head/sys/net

2010-03-15 Thread Max Laier
Author: mlaier Date: Mon Mar 15 21:15:03 2010 New Revision: 205197 URL: http://svn.freebsd.org/changeset/base/205197 Log: Fix a small bug in drbr_dequeue_cond spotted while preparing MFC of r203834. MFC after:3 days Modified: head/sys/net/if_var.h Modified: head/sys/net/if_var.h ===

svn commit: r205198 - in head/cddl/contrib/opensolaris: cmd/zfs lib/libzfs/common

2010-03-15 Thread Xin LI
Author: delphij Date: Tue Mar 16 00:48:27 2010 New Revision: 205198 URL: http://svn.freebsd.org/changeset/base/205198 Log: Merge OpenSolaris revision 8802:010b31dd4c53: 6773366 "zfs list" memory consumption can be further reduced PR: bin/144720 Submitted by: mm Approved b

svn commit: r205199 - head/cddl/contrib/opensolaris/cmd/zfs

2010-03-15 Thread Xin LI
Author: delphij Date: Tue Mar 16 00:49:37 2010 New Revision: 205199 URL: http://svn.freebsd.org/changeset/base/205199 Log: Merge OpenSolaris revision 9365:7838a22eccd6: PSARC/2009/171 zfs list -d and zfs get -d 6762432 zfs list --depth PR: bin/144720 Submitted by: mm Ap

svn commit: r205200 - head/cddl/contrib/opensolaris/cmd/zfs

2010-03-15 Thread Xin LI
Author: delphij Date: Tue Mar 16 00:50:57 2010 New Revision: 205200 URL: http://svn.freebsd.org/changeset/base/205200 Log: Merge OpenSolaris revision 9396:f41cf682d0d3: 6830813 zfs list -t all fails assertion *Note that this is only a partial merge of this revision addressing only th

Re: svn commit: r205090 - head/sys/dev/bge

2010-03-15 Thread Scott Long
On Mar 12, 2010, at 11:18 AM, Pyun YongHyeon wrote: > Author: yongari > Date: Fri Mar 12 18:18:04 2010 > New Revision: 205090 > URL: http://svn.freebsd.org/changeset/base/205090 > > Log: > Reorder interrupt handler a bit such that producer/consumer > index of status block is read first before ackn