svn commit: r194811 - head/sys/geom

2009-06-23 Thread John Hay
Author: jhay Date: Wed Jun 24 06:42:13 2009 New Revision: 194811 URL: http://svn.freebsd.org/changeset/base/194811 Log: Do not stop the loop when an empty or deleted directory entry is found. Rather just skip over it. Modified: head/sys/geom/geom_redboot.c Modified: head/sys/geom/geom_redb

svn commit: r194809 - svnadmin/conf

2009-06-23 Thread Ed Schouten
Author: ed Date: Wed Jun 24 06:13:30 2009 New Revision: 194809 URL: http://svn.freebsd.org/changeset/base/194809 Log: I can't commit my ClangBSD changes. Modified: svnadmin/conf/sizelimit.conf Modified: svnadmin/conf/sizelimit.conf

svn commit: r194808 - in releng/7.2: . lib/libc/stdlib sys/conf sys/dev/bce sys/dev/fxp

2009-06-23 Thread Colin Percival
Author: cperciva Date: Wed Jun 24 05:28:09 2009 New Revision: 194808 URL: http://svn.freebsd.org/changeset/base/194808 Log: MFS r192477: Fix packet length calculation in bce(4). [EN-09:02] MFS r191867: Correctly set IP packet length for TSO in fxp(4). [EN-09:03] MFS r191767: Fix a lock

svn commit: r194807 - head/usr.sbin/sysinstall

2009-06-23 Thread Colin Percival
Author: cperciva Date: Wed Jun 24 04:56:13 2009 New Revision: 194807 URL: http://svn.freebsd.org/changeset/base/194807 Log: Add detection of UFS filesystems. PR: bin/135565 Submitted by: Daniel O'Connor Reviewed by: randi MFC after:1 month Modified: head/usr.sbin/sys

svn commit: r194806 - head/sys/vm

2009-06-23 Thread Alan Cox
Author: alc Date: Wed Jun 24 04:45:03 2009 New Revision: 194806 URL: http://svn.freebsd.org/changeset/base/194806 Log: The bits set in a page's dirty mask are a subset of the bits set in its valid mask. Consequently, there is no need to perform a bit-wise and of the page's dirty and valid m

svn commit: r194805 - head/sys/dev/sound/pcm

2009-06-23 Thread Ariff Abdullah
Author: ariff Date: Wed Jun 24 02:01:16 2009 New Revision: 194805 URL: http://svn.freebsd.org/changeset/base/194805 Log: Slight comment fix. Modified: head/sys/dev/sound/pcm/feeder_rate.c Modified: head/sys/dev/sound/pcm/feeder_rate.c =

svn commit: r194804 - in head/lib/libc/db: btree mpool

2009-06-23 Thread Xin LI
Author: delphij Date: Wed Jun 24 01:15:10 2009 New Revision: 194804 URL: http://svn.freebsd.org/changeset/base/194804 Log: Update SCCS IDs for Berkeley DB 1.86 merge. Modified: head/lib/libc/db/btree/bt_split.c head/lib/libc/db/mpool/mpool.c Modified: head/lib/libc/db/btree/bt_split.c

svn commit: r194803 - head/lib/libc/db/btree

2009-06-23 Thread Xin LI
Author: delphij Date: Wed Jun 24 01:14:17 2009 New Revision: 194803 URL: http://svn.freebsd.org/changeset/base/194803 Log: style: operators should appear at the line end if we have to wrap. Modified: head/lib/libc/db/btree/bt_split.c Modified: head/lib/libc/db/btree/bt_split.c ==

svn commit: r194802 - head/sbin/kldload

2009-06-23 Thread Xin LI
Author: delphij Date: Tue Jun 23 23:56:56 2009 New Revision: 194802 URL: http://svn.freebsd.org/changeset/base/194802 Log: Add a note about the implication of secure level setting against kldload, and cross reference security(7). Modified: head/sbin/kldload/kldload.8 Modified: head/sbin/kl

svn commit: r194801 - head/include

2009-06-23 Thread Xin LI
Author: delphij Date: Tue Jun 23 23:53:35 2009 New Revision: 194801 URL: http://svn.freebsd.org/changeset/base/194801 Log: Merge fmtcheck() prototype change. Obtained from:NetBSD Modified: head/include/stdio.h Modified: head/include/stdio.h ==

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

2009-06-23 Thread Xin LI
Author: delphij Date: Tue Jun 23 23:52:12 2009 New Revision: 194800 URL: http://svn.freebsd.org/changeset/base/194800 Log: Use const instead of __const, and merge the license change from NetBSD. Obtained from:NetBSD Modified: head/lib/libc/gen/fmtcheck.c Modified: head/lib/libc/

svn commit: r194799 - head/sbin/ifconfig

2009-06-23 Thread Xin LI
Author: delphij Date: Tue Jun 23 23:49:52 2009 New Revision: 194799 URL: http://svn.freebsd.org/changeset/base/194799 Log: - Use size_t instead of int when appropriate; - Use C99 sparse initialization. With these changes ifconfig(8) is WARNS=2 clean. Modified: head/sbin/ifconfig/af_a

Re: svn commit: r194538 - head/sys/sys

2009-06-23 Thread David Schultz
On Wed, Jun 24, 2009, Kostik Belousov wrote: > On Tue, Jun 23, 2009 at 06:12:48PM -0400, David Schultz wrote: > > On Sat, Jun 20, 2009, Kostik Belousov wrote: > > > On Sat, Jun 20, 2009 at 04:39:25PM +, Ed Schouten wrote: > > > > Author: ed > > > > Date: Sat Jun 20 16:39:25 2009 > > > > New Rev

svn commit: r194798 - head/usr.bin/makewhatis

2009-06-23 Thread Xin LI
Author: delphij Date: Tue Jun 23 23:37:25 2009 New Revision: 194798 URL: http://svn.freebsd.org/changeset/base/194798 Log: %.s expects an int as the length specifier, so cast properly. Modified: head/usr.bin/makewhatis/makewhatis.c Modified: head/usr.bin/makewhatis/makewhatis.c =

svn commit: r194797 - head/usr.bin/make

2009-06-23 Thread Xin LI
Author: delphij Date: Tue Jun 23 23:34:46 2009 New Revision: 194797 URL: http://svn.freebsd.org/changeset/base/194797 Log: Use strlcpy() instead of manually setting the last byte of the array to \0. Modified: head/usr.bin/make/arch.c Modified: head/usr.bin/make/arch.c ===

svn commit: r194796 - head/usr.bin/hexdump

2009-06-23 Thread Xin LI
Author: delphij Date: Tue Jun 23 23:32:24 2009 New Revision: 194796 URL: http://svn.freebsd.org/changeset/base/194796 Log: Use strlcpy() instead of explicitly set \0 on the tail of the array. Modified: head/usr.bin/hexdump/parse.c Modified: head/usr.bin/hexdump/parse.c ==

svn commit: r194795 - in head/bin: chflags chmod df hostname

2009-06-23 Thread Xin LI
Author: delphij Date: Tue Jun 23 23:30:56 2009 New Revision: 194795 URL: http://svn.freebsd.org/changeset/base/194795 Log: Staticify internal routines. Modified: head/bin/chflags/chflags.c head/bin/chmod/chmod.c head/bin/df/df.c head/bin/hostname/hostname.c Modified: head/bin/chflags/c

svn commit: r194794 - head/lib/libutil

2009-06-23 Thread Xin LI
Author: delphij Date: Tue Jun 23 23:27:35 2009 New Revision: 194794 URL: http://svn.freebsd.org/changeset/base/194794 Log: Merge NetBSD revision 1.14: humanize_number.c is now 2-clause BSD licensed. (humanize_number.3 intentionally hold back until I make sure why we didn't merged dehumanize_

svn commit: r194793 - in head/lib/libcompat: 4.3 4.4

2009-06-23 Thread Xin LI
Author: delphij Date: Tue Jun 23 23:20:09 2009 New Revision: 194793 URL: http://svn.freebsd.org/changeset/base/194793 Log: K&R -> ANSI Modified: head/lib/libcompat/4.3/cfree.c head/lib/libcompat/4.3/regex.c head/lib/libcompat/4.4/cuserid.c Modified: head/lib/libcompat/4.3/cfree.c ===

svn commit: r194792 - head/usr.bin/nfsstat

2009-06-23 Thread Xin LI
Author: delphij Date: Tue Jun 23 23:18:19 2009 New Revision: 194792 URL: http://svn.freebsd.org/changeset/base/194792 Log: Use C99 initialization when necessary; apply static to internal rountines. This makes nfsstat WARNS=3 clean. Modified: head/usr.bin/nfsstat/nfsstat.c Modified: head/us

svn commit: r194791 - head/usr.bin/keylogout

2009-06-23 Thread Xin LI
Author: delphij Date: Tue Jun 23 23:17:04 2009 New Revision: 194791 URL: http://svn.freebsd.org/changeset/base/194791 Log: K&R -> ANSI Modified: head/usr.bin/keylogout/keylogout.c Modified: head/usr.bin/keylogout/keylogout.c ===

svn commit: r194790 - in head/sys: amd64/isa i386/isa

2009-06-23 Thread Alexander Motin
Author: mav Date: Tue Jun 23 23:16:37 2009 New Revision: 194790 URL: http://svn.freebsd.org/changeset/base/194790 Log: Make algorithm a bit more bulletproof. Modified: head/sys/amd64/isa/clock.c head/sys/i386/isa/clock.c Modified: head/sys/amd64/isa/clock.c

svn commit: r194789 - head/usr.bin/usbhidctl

2009-06-23 Thread Xin LI
Author: delphij Date: Tue Jun 23 23:16:00 2009 New Revision: 194789 URL: http://svn.freebsd.org/changeset/base/194789 Log: Use getprogname() instead of referencing __progname. Modified: head/usr.bin/usbhidctl/usbhid.c Modified: head/usr.bin/usbhidctl/usbhid.c

svn commit: r194786 - head/bin/sh

2009-06-23 Thread Jilles Tjoelker
Author: jilles Date: Tue Jun 23 22:53:34 2009 New Revision: 194786 URL: http://svn.freebsd.org/changeset/base/194786 Log: Quote -x tracing output so it is unambiguous. It is usually but not always suitable for re-input to the shell. Approved by: ed (mentor) (implicit) Modified: hea

svn commit: r194784 - in head/sys: amd64/amd64 arm/arm arm/at91 arm/mv arm/sa11x0 arm/xscale/i80321 arm/xscale/i8134x arm/xscale/ixp425 arm/xscale/pxa i386/i386 i386/xen ia64/ia64 kern mips/mips pc...

2009-06-23 Thread Jeff Roberson
Author: jeff Date: Tue Jun 23 22:42:39 2009 New Revision: 194784 URL: http://svn.freebsd.org/changeset/base/194784 Log: Implement a facility for dynamic per-cpu variables. - Modules and kernel code alike may use DPCPU_DEFINE(), DPCPU_GET(), DPCPU_SET(), etc. akin to the statically define

svn commit: r194783 - head/lib/libc/stdtime

2009-06-23 Thread Edwin Groothuis
Author: edwin Date: Tue Jun 23 22:28:44 2009 New Revision: 194783 URL: http://svn.freebsd.org/changeset/base/194783 Log: Remove duplicate if-statement on gmt_is_set in gmtsub(). MFC after:1 week Modified: head/lib/libc/stdtime/localtime.c Modified: head/lib/libc/stdtime/localtime.c

svn commit: r194782 - stable/7/tools/tools/nanobsd

2009-06-23 Thread Edwin Groothuis
Author: edwin Date: Tue Jun 23 22:22:20 2009 New Revision: 194782 URL: http://svn.freebsd.org/changeset/base/194782 Log: Fix NanoBSD when the data partition size is defined as a negative number. It is possible to ask nanobsd.sh to create a 'data' partition, separate from the

svn commit: r194781 - head/sys/dev/bce

2009-06-23 Thread David Christensen
Author: davidch Date: Tue Jun 23 22:19:27 2009 New Revision: 194781 URL: http://svn.freebsd.org/changeset/base/194781 Log: - Added code to read bootcode firwmare version. - Created dedicated shared memory access routines. MFC after:One week Modified: head/sys/dev/bce/if_bce.c hea

svn commit: r194780 - stable/7/tools/tools/nanobsd

2009-06-23 Thread Edwin Groothuis
Author: edwin Date: Tue Jun 23 22:16:07 2009 New Revision: 194780 URL: http://svn.freebsd.org/changeset/base/194780 Log: MFC of r194286 r194310 r194332 Support for 64 Mb Kodak flash device. PR: misc/115025 Submitted by: Michael W Lucas Modified: stable/7/tools/tools/nan

svn commit: r194779 - head/sys/kern

2009-06-23 Thread Jeff Roberson
Author: jeff Date: Tue Jun 23 22:12:37 2009 New Revision: 194779 URL: http://svn.freebsd.org/changeset/base/194779 Log: - Use cpuset_t and the CPU_ macros in place of cpumask_t so that ULE supports arbitrary numbers of cpus rather than being limited by cpumask_t to the number of bits

Re: svn commit: r194538 - head/sys/sys

2009-06-23 Thread Kostik Belousov
On Tue, Jun 23, 2009 at 06:12:48PM -0400, David Schultz wrote: > On Sat, Jun 20, 2009, Kostik Belousov wrote: > > On Sat, Jun 20, 2009 at 04:39:25PM +, Ed Schouten wrote: > > > Author: ed > > > Date: Sat Jun 20 16:39:25 2009 > > > New Revision: 194538 > > > URL: http://svn.freebsd.org/changeset

Re: svn commit: r194772 - in head/sys: amd64/isa i386/isa

2009-06-23 Thread Alexander Motin
Ed Schouten wrote: * Alexander Motin wrote: + pscnt = psrate; It seems the psrate variable is nonexistent. Oops. There should be psratio. Forgot to recreate patch after fixing it. Thanks! -- Alexander Motin ___ svn-src-all@f

svn commit: r194778 - stable/7/tools/tools/nanobsd

2009-06-23 Thread Edwin Groothuis
Author: edwin Date: Tue Jun 23 22:09:53 2009 New Revision: 194778 URL: http://svn.freebsd.org/changeset/base/194778 Log: MFC of 194285 Add support for 256MB Hitachi CF card and 256MB Silicon Systems CF card This patch against RELENG_6 adds two more entries to src/tools/to

svn commit: r194777 - in head/sys: netinet netinet6

2009-06-23 Thread Bjoern A. Zeeb
Author: bz Date: Tue Jun 23 22:08:55 2009 New Revision: 194777 URL: http://svn.freebsd.org/changeset/base/194777 Log: Make callers to in6_selectsrc() and in6_pcbladdr() pass in memory to save the selected source address rather than returning an unreferenced copy to a pointer that might long

svn commit: r194776 - head/sys/amd64/isa

2009-06-23 Thread Alexander Motin
Author: mav Date: Tue Jun 23 22:08:25 2009 New Revision: 194776 URL: http://svn.freebsd.org/changeset/base/194776 Log: Fix variable name. Modified: head/sys/amd64/isa/clock.c Modified: head/sys/amd64/isa/clock.c == -

Re: svn commit: r194538 - head/sys/sys

2009-06-23 Thread David Schultz
On Sat, Jun 20, 2009, Kostik Belousov wrote: > On Sat, Jun 20, 2009 at 04:39:25PM +, Ed Schouten wrote: > > Author: ed > > Date: Sat Jun 20 16:39:25 2009 > > New Revision: 194538 > > URL: http://svn.freebsd.org/changeset/base/194538 > > > > Log: > > Add placeholder to prevent reuse of privil

svn commit: r194775 - head/tools/regression/bin/sh/execution

2009-06-23 Thread Jilles Tjoelker
Author: jilles Date: Tue Jun 23 22:03:56 2009 New Revision: 194775 URL: http://svn.freebsd.org/changeset/base/194775 Log: Add tests for r194774. Approved by: ed (mentor) (implicit) Added: head/tools/regression/bin/sh/execution/fork2.0 (contents, props changed) Added: head/tools/regre

Re: svn commit: r194772 - in head/sys: amd64/isa i386/isa

2009-06-23 Thread Ed Schouten
Hi Alexander, * Alexander Motin wrote: > + pscnt = psrate; It seems the psrate variable is nonexistent. Yours, -- Ed Schouten WWW: http://80386.nl/ pgpRVYXFllCOU.pgp Description: PGP signature

Re: svn commit: r194763 - in head/sys: conf dev/gem modules/gem

2009-06-23 Thread John Baldwin
On Tuesday 23 June 2009 5:13:42 pm Marius Strobl wrote: > On Tue, Jun 23, 2009 at 05:03:20PM -0400, John Baldwin wrote: > > On Tuesday 23 June 2009 4:36:59 pm Marius Strobl wrote: > > > Author: marius > > > Date: Tue Jun 23 20:36:59 2009 > > > New Revision: 194763 > > > URL: http://svn.freebsd.org/

svn commit: r194774 - head/bin/sh

2009-06-23 Thread Jilles Tjoelker
Author: jilles Date: Tue Jun 23 21:50:06 2009 New Revision: 194774 URL: http://svn.freebsd.org/changeset/base/194774 Log: Do not fork for a subshell if it is the last thing this shell is doing (EV_EXIT). The fork is still done as normal if any traps are active. In many cases, the fork can

svn commit: r194773 - head/usr.sbin/mountd

2009-06-23 Thread Rick Macklem
Author: rmacklem Date: Tue Jun 23 21:48:04 2009 New Revision: 194773 URL: http://svn.freebsd.org/changeset/base/194773 Log: When mountd.c parses the nfsv4 root line(s) in /etc/exports, it allocates data structures that are never linked into the tree or free'd. As such, mountd would leak memo

svn commit: r194772 - in head/sys: amd64/isa i386/isa

2009-06-23 Thread Alexander Motin
Author: mav Date: Tue Jun 23 21:45:33 2009 New Revision: 194772 URL: http://svn.freebsd.org/changeset/base/194772 Log: Rework r193814: While general idea of patch was good, it was not working properly due the way it was implemented. When we are using same timer interrupt for several of har

svn commit: r194771 - in head/sys: kern sys

2009-06-23 Thread Ed Schouten
Author: ed Date: Tue Jun 23 21:43:02 2009 New Revision: 194771 URL: http://svn.freebsd.org/changeset/base/194771 Log: Improve my last commit: use a separate condvar to serialize. The advantage of using a separate condvar is that we can just use cv_signal(9) instead of cv_broadcast(9). It

Re: svn commit: r194763 - in head/sys: conf dev/gem modules/gem

2009-06-23 Thread Marius Strobl
On Tue, Jun 23, 2009 at 05:03:20PM -0400, John Baldwin wrote: > On Tuesday 23 June 2009 4:36:59 pm Marius Strobl wrote: > > Author: marius > > Date: Tue Jun 23 20:36:59 2009 > > New Revision: 194763 > > URL: http://svn.freebsd.org/changeset/base/194763 > > > > Log: > > - Initialize the ifnet str

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

2009-06-23 Thread Joel Dahl
Author: joel (doc committer) Date: Tue Jun 23 21:37:12 2009 New Revision: 194770 URL: http://svn.freebsd.org/changeset/base/194770 Log: Add one more reference to SEE ALSO. Sort while here. Submitted by: ariff Modified: head/share/man/man4/pcm.4 Modified: head/share/man/man4/pcm.4 ==

svn commit: r194769 - head/sys/kern

2009-06-23 Thread Ed Schouten
Author: ed Date: Tue Jun 23 21:33:26 2009 New Revision: 194769 URL: http://svn.freebsd.org/changeset/base/194769 Log: Use dcdwait to block threads to serialize writes. I suspect the usage of bgwait causes a lot of spurious wakeups when threads are blocked in the background, because they w

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

2009-06-23 Thread Joel Dahl
Author: joel (doc committer) Date: Tue Jun 23 21:24:21 2009 New Revision: 194768 URL: http://svn.freebsd.org/changeset/base/194768 Log: Bring in a few mdoc/language fixes. Submitted by: ru Modified: head/share/man/man4/pcm.4 Modified: head/share/man/man4/pcm.4 ==

Re: svn commit: r194744 - in stable/4/lib/libc: . gen

2009-06-23 Thread John Baldwin
On Tuesday 23 June 2009 5:00:00 pm Julian Elischer wrote: > John Baldwin wrote: > > On Tuesday 23 June 2009 3:37:18 pm Julian Elischer wrote: > >> John Baldwin wrote: > >>> On Tuesday 23 June 2009 2:13:48 pm Brian Somers wrote: > On Tue, 23 Jun 2009 17:44:55 + (UTC), John Baldwin > > wr

Re: svn commit: r194763 - in head/sys: conf dev/gem modules/gem

2009-06-23 Thread John Baldwin
On Tuesday 23 June 2009 4:36:59 pm Marius Strobl wrote: > Author: marius > Date: Tue Jun 23 20:36:59 2009 > New Revision: 194763 > URL: http://svn.freebsd.org/changeset/base/194763 > > Log: > - Initialize the ifnet structure, especially if_dname, before probing > the PHYs as some PHY drivers

Re: svn commit: r194744 - in stable/4/lib/libc: . gen

2009-06-23 Thread Julian Elischer
John Baldwin wrote: On Tuesday 23 June 2009 3:37:18 pm Julian Elischer wrote: John Baldwin wrote: On Tuesday 23 June 2009 2:13:48 pm Brian Somers wrote: On Tue, 23 Jun 2009 17:44:55 + (UTC), John Baldwin wrote: Author: jhb Date: Tue Jun 23 17:44:55 2009 New Revision: 194744 URL: http://

svn commit: r194767 - in head: bin/sh contrib/tcsh etc lib/libc/sys lib/libutil share/man/man7 share/man/man9 usr.bin/limits

2009-06-23 Thread Konstantin Belousov
Author: kib Date: Tue Jun 23 20:57:27 2009 New Revision: 194767 URL: http://svn.freebsd.org/changeset/base/194767 Log: Usermode portion of the support for swap allocation accounting: - update for getrlimit(2) manpage; - support for setting RLIMIT_SWAP in login class; - addition to the limi

svn commit: r194766 - in head/sys: dev/md fs/procfs fs/tmpfs kern security/mac_biba security/mac_lomac sys vm

2009-06-23 Thread Konstantin Belousov
Author: kib Date: Tue Jun 23 20:45:22 2009 New Revision: 194766 URL: http://svn.freebsd.org/changeset/base/194766 Log: Implement global and per-uid accounting of the anonymous memory. Add rlimit RLIMIT_SWAP that limits the amount of swap that may be reserved for the uid. The accounting

svn commit: r194765 - head/bin/sh

2009-06-23 Thread Jilles Tjoelker
Author: jilles Date: Tue Jun 23 20:45:12 2009 New Revision: 194765 URL: http://svn.freebsd.org/changeset/base/194765 Log: sh: Improve handling of setjmp/longjmp volatile: - remove ineffective and unnecessary (void) &var; [1] - remove some unnecessary volatile keywords - add a necessary vol

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

2009-06-23 Thread Marius Strobl
Author: marius Date: Tue Jun 23 20:38:35 2009 New Revision: 194764 URL: http://svn.freebsd.org/changeset/base/194764 Log: - Update regarding the support for SBus GEM added in r194763. - Improve the description a bit and add a reference to vlan(4). Modified: head/share/man/man4/gem.4 Modifi

svn commit: r194763 - in head/sys: conf dev/gem modules/gem

2009-06-23 Thread Marius Strobl
Author: marius Date: Tue Jun 23 20:36:59 2009 New Revision: 194763 URL: http://svn.freebsd.org/changeset/base/194763 Log: - Initialize the ifnet structure, especially if_dname, before probing the PHYs as some PHY drivers use it (but probably shouldn't). How gem(4) has worked with brgphy(

svn commit: r194762 - in head: lib/libc/sys sys/kern sys/sys usr.sbin/jail

2009-06-23 Thread Jamie Gritton
Author: jamie Date: Tue Jun 23 20:35:51 2009 New Revision: 194762 URL: http://svn.freebsd.org/changeset/base/194762 Log: Add a limit for child jails via the "children.cur" and "children.max" parameters. This replaces the simple "allow.jails" permission. Approved by: bz (mentor) Modifie

svn commit: r194761 - head/sys/dev/mxge

2009-06-23 Thread Andrew Gallatin
Author: gallatin Date: Tue Jun 23 20:22:34 2009 New Revision: 194761 URL: http://svn.freebsd.org/changeset/base/194761 Log: - Fix bug where device would loose promisc setting when reset. - Allow all rss hash modes to be chosen Modified: head/sys/dev/mxge/if_mxge.c Modified: head/sys/dev/mx

Re: svn commit: r194744 - in stable/4/lib/libc: . gen

2009-06-23 Thread John Baldwin
On Tuesday 23 June 2009 3:37:18 pm Julian Elischer wrote: > John Baldwin wrote: > > On Tuesday 23 June 2009 2:13:48 pm Brian Somers wrote: > >> On Tue, 23 Jun 2009 17:44:55 + (UTC), John Baldwin wrote: > >>> Author: jhb > >>> Date: Tue Jun 23 17:44:55 2009 > >>> New Revision: 194744 > >>> URL

svn commit: r194760 - in head/sys: contrib/rdma net net80211 netinet netinet6 netipx

2009-06-23 Thread Robert Watson
Author: rwatson Date: Tue Jun 23 20:19:09 2009 New Revision: 194760 URL: http://svn.freebsd.org/changeset/base/194760 Log: Modify most routines returning 'struct ifaddr *' to return references rather than pointers, requiring callers to properly dispose of those references. The following rou

svn commit: r194759 - head/sys/dev/drm

2009-06-23 Thread Robert Noland
Author: rnoland Date: Tue Jun 23 20:19:02 2009 New Revision: 194759 URL: http://svn.freebsd.org/changeset/base/194759 Log: Add some sysctl info so that we can see what is going on with vblanks. MFC after:3 days Modified: head/sys/dev/drm/drm_sysctl.c Modified: head/sys/dev/drm/drm_s

Re: svn commit: r194744 - in stable/4/lib/libc: . gen

2009-06-23 Thread Julian Elischer
John Baldwin wrote: On Tuesday 23 June 2009 2:13:48 pm Brian Somers wrote: On Tue, 23 Jun 2009 17:44:55 + (UTC), John Baldwin wrote: Author: jhb Date: Tue Jun 23 17:44:55 2009 New Revision: 194744 URL: http://svn.freebsd.org/changeset/base/194744 Log: MF7: If the running kernel has supp

svn commit: r194757 - vendor/clang/clang-r73984

2009-06-23 Thread Ed Schouten
Author: ed Date: Tue Jun 23 19:33:13 2009 New Revision: 194757 URL: http://svn.freebsd.org/changeset/base/194757 Log: Tag Clang r73984. Added: vendor/clang/clang-r73984/ - copied from r194756, vendor/clang/dist/ ___ svn-src-all@freebsd.org mail

svn commit: r194756 - vendor/llvm/llvm-r73984

2009-06-23 Thread Ed Schouten
Author: ed Date: Tue Jun 23 19:32:50 2009 New Revision: 194756 URL: http://svn.freebsd.org/changeset/base/194756 Log: Tag LLVM r73984. Added: vendor/llvm/llvm-r73984/ - copied from r194755, vendor/llvm/dist/ ___ svn-src-all@freebsd.org mailing

svn commit: r194755 - in vendor/clang/dist: clang.xcodeproj include/clang/Analysis/PathSensitive lib/Analysis lib/Driver lib/Frontend test/CXX/basic/basic.def.odr test/CXX/temp/temp.res/temp.dep.re...

2009-06-23 Thread Ed Schouten
Author: ed Date: Tue Jun 23 19:32:16 2009 New Revision: 194755 URL: http://svn.freebsd.org/changeset/base/194755 Log: Import Clang r73984. Added: vendor/clang/dist/test/CXX/basic/basic.def.odr/p2-typeid.cpp vendor/clang/dist/test/CXX/temp/temp.res/temp.dep.res/temp.point/p1.cpp Deleted: v

svn commit: r194754 - in vendor/llvm/dist: . autoconf cmake/modules include/llvm include/llvm/Config include/llvm/MC include/llvm/Support include/llvm/System include/llvm/Target lib/ExecutionEngine...

2009-06-23 Thread Ed Schouten
Author: ed Date: Tue Jun 23 19:31:59 2009 New Revision: 194754 URL: http://svn.freebsd.org/changeset/base/194754 Log: Import LLVM r73984. It seems I keep importing sources at very unlucky moments. Let's see what this revision of LLVM does. Added: vendor/llvm/dist/include/llvm/MC/MCImm.

svn commit: r194753 - head/sys/arm/xscale/ixp425

2009-06-23 Thread Sam Leffler
Author: sam Date: Tue Jun 23 19:29:23 2009 New Revision: 194753 URL: http://svn.freebsd.org/changeset/base/194753 Log: Now that we have UARTs running with fast interrupt handlers the ata driver's i/o ops must be locked to avoid chaos. Extend the cambria bus tag to support ata and add a spin

Re: svn commit: r194744 - in stable/4/lib/libc: . gen

2009-06-23 Thread John Baldwin
On Tuesday 23 June 2009 2:13:48 pm Brian Somers wrote: > On Tue, 23 Jun 2009 17:44:55 + (UTC), John Baldwin > wrote: > > Author: jhb > > Date: Tue Jun 23 17:44:55 2009 > > New Revision: 194744 > > URL: http://svn.freebsd.org/changeset/base/194744 > > > > Log: > > MF7: If the running kernel

Re: svn commit: r194743 - in head/sys: conf dev/mxge modules/mxge/mxge

2009-06-23 Thread Bjoern A. Zeeb
On Tue, 23 Jun 2009, Andrew Gallatin wrote: Author: gallatin Date: Tue Jun 23 17:42:06 2009 New Revision: 194743 URL: http://svn.freebsd.org/changeset/base/194743 Log: Implement minimal set of changes suggested by bz to make mxge no longer depend on INET. W:) That looks good so far.

svn commit: r194752 - head/sys/arm/xscale/ixp425

2009-06-23 Thread Sam Leffler
Author: sam Date: Tue Jun 23 19:05:02 2009 New Revision: 194752 URL: http://svn.freebsd.org/changeset/base/194752 Log: use consistent style Modified: head/sys/arm/xscale/ixp425/ixp425.c Modified: head/sys/arm/xscale/ixp425/ixp425.c

svn commit: r194751 - head/sys/dev/mxge

2009-06-23 Thread Andrew Gallatin
Author: gallatin Date: Tue Jun 23 19:04:25 2009 New Revision: 194751 URL: http://svn.freebsd.org/changeset/base/194751 Log: Revert most of 193311 so as to track mxge transmit stats on a per-ring basis and avoid racy (and costly) updates to the ifp stats via drbr by defining NO_SLOW_STATS

Re: svn commit: r194744 - in stable/4/lib/libc: . gen

2009-06-23 Thread Brian Somers
On Tue, 23 Jun 2009 17:44:55 + (UTC), John Baldwin wrote: > Author: jhb > Date: Tue Jun 23 17:44:55 2009 > New Revision: 194744 > URL: http://svn.freebsd.org/changeset/base/194744 > > Log: > MF7: If the running kernel has support for shm_open() and shm_unlink() as > system calls (i.e. 8.0

svn commit: r194750 - head/sys/netipx

2009-06-23 Thread Olivier Houchard
Author: cognet Date: Tue Jun 23 18:36:42 2009 New Revision: 194750 URL: http://svn.freebsd.org/changeset/base/194750 Log: Include sys/lock.h before sys/rwlock.h. If anything used to bring it for us before, it does not anymore. Modified: head/sys/netipx/ipx_input.c Modified: head/sys/netipx

svn commit: r194749 - head/sys/dev/drm

2009-06-23 Thread Robert Noland
Author: rnoland Date: Tue Jun 23 18:24:09 2009 New Revision: 194749 URL: http://svn.freebsd.org/changeset/base/194749 Log: Only release irq resources if we were actually using them. MFC after:3 days Modified: head/sys/dev/drm/drm_drv.c Modified: head/sys/dev/drm/drm_drv.c ==

svn commit: r194748 - head/sys/dev/drm

2009-06-23 Thread Robert Noland
Author: rnoland Date: Tue Jun 23 18:09:35 2009 New Revision: 194748 URL: http://svn.freebsd.org/changeset/base/194748 Log: Using signals for vblank events is prone to issues. There have never been any consumers and likely will never be. Furthermore, we have never enabled the code for it, s

svn commit: r194746 - head/sys/dev/drm

2009-06-23 Thread Robert Noland
Author: rnoland Date: Tue Jun 23 17:52:41 2009 New Revision: 194746 URL: http://svn.freebsd.org/changeset/base/194746 Log: Given that vblanks generally occur 60 times a second, waiting 3 seconds seems rather excessive. MFC after:3 days Modified: head/sys/dev/drm/drm_irq.c Modified

svn commit: r194745 - head/sys/dev/drm

2009-06-23 Thread Robert Noland
Author: rnoland Date: Tue Jun 23 17:50:35 2009 New Revision: 194745 URL: http://svn.freebsd.org/changeset/base/194745 Log: vblank[crtc].last represents the hardware counter while request.sequence represents the software counter. Don't currupt things here. MFC after:3 days Modified:

svn commit: r194744 - in stable/4/lib/libc: . gen

2009-06-23 Thread John Baldwin
Author: jhb Date: Tue Jun 23 17:44:55 2009 New Revision: 194744 URL: http://svn.freebsd.org/changeset/base/194744 Log: MF7: If the running kernel has support for shm_open() and shm_unlink() as system calls (i.e. 8.0+), then invoke the system calls instead of using open/fcntl/unlink. Modifie

svn commit: r194743 - in head/sys: conf dev/mxge modules/mxge/mxge

2009-06-23 Thread Andrew Gallatin
Author: gallatin Date: Tue Jun 23 17:42:06 2009 New Revision: 194743 URL: http://svn.freebsd.org/changeset/base/194743 Log: Implement minimal set of changes suggested by bz to make mxge no longer depend on INET. Modified: head/sys/conf/files head/sys/dev/mxge/if_mxge.c head/sys/dev/mxge

svn commit: r194741 - head/sys/dev/drm

2009-06-23 Thread Robert Noland
Author: rnoland Date: Tue Jun 23 17:38:28 2009 New Revision: 194741 URL: http://svn.freebsd.org/changeset/base/194741 Log: Hold the lock while we save/restore register for suspend/resume. MFC after:3 days Modified: head/sys/dev/drm/i915_drv.c Modified: head/sys/dev/drm/i915_drv.c ==

svn commit: r194740 - in stable/6/lib/libc: . gen

2009-06-23 Thread John Baldwin
Author: jhb Date: Tue Jun 23 17:19:50 2009 New Revision: 194740 URL: http://svn.freebsd.org/changeset/base/194740 Log: MF7: If the running kernel has support for shm_open() and shm_unlink() as system calls (i.e. 8.0+), then invoke the system calls instead of using open/fcntl/unlink. Modifie

svn commit: r194739 - in head/sys: compat/linprocfs compat/linux compat/svr4 contrib/altq/altq contrib/pf/net dev/cxgb/ulp/iw_cxgb kern net net80211 netgraph netgraph/atm netinet netinet6 nfsclient

2009-06-23 Thread Bjoern A. Zeeb
Author: bz Date: Tue Jun 23 17:03:45 2009 New Revision: 194739 URL: http://svn.freebsd.org/changeset/base/194739 Log: After cleaning up rt_tables from vnet.h and cleaning up opt_route.h a lot of files no longer need route.h either. Garbage collect them. While here remove now unneeded vnet.h

svn commit: r194737 - in stable/7/sys: . contrib/pf dev/drm

2009-06-23 Thread Robert Noland
Author: rnoland Date: Tue Jun 23 16:14:08 2009 New Revision: 194737 URL: http://svn.freebsd.org/changeset/base/194737 Log: Merge 194540 from HEAD The G45 docs indicate that all G4X chips use the new framecount register. Intel agrees with my reading of the docs, make it so for all G4X c

svn commit: r194736 - in stable/7/sys: . contrib/pf dev/drm

2009-06-23 Thread Robert Noland
Author: rnoland Date: Tue Jun 23 16:12:40 2009 New Revision: 194736 URL: http://svn.freebsd.org/changeset/base/194736 Log: Merge 194539 from HEAD realloc() behaves identically to malloc when passed a NULL object pointer If an error does occur we would have left max_context with an inco

svn commit: r194735 - in stable/7/sys: . contrib/pf dev/drm

2009-06-23 Thread Robert Noland
Author: rnoland Date: Tue Jun 23 16:11:44 2009 New Revision: 194735 URL: http://svn.freebsd.org/changeset/base/194735 Log: Merge 194537 from HEAD Don't panic if drm_rmmap is called with a NULL map pointer. Modified: stable/7/sys/ (props changed) stable/7/sys/contrib/pf/ (props chan

svn commit: r194734 - in stable/7/sys: . contrib/pf dev/drm

2009-06-23 Thread Robert Noland
Author: rnoland Date: Tue Jun 23 16:09:05 2009 New Revision: 194734 URL: http://svn.freebsd.org/changeset/base/194734 Log: Merge 190833 from HEAD check offsets for R300_ZB_ZPASS_ADDR Modified: stable/7/sys/ (props changed) stable/7/sys/contrib/pf/ (props changed) stable/7/sys/dev

svn commit: r194733 - in stable/7/sys: . contrib/pf dev/drm

2009-06-23 Thread Robert Noland
Author: rnoland Date: Tue Jun 23 16:07:56 2009 New Revision: 194733 URL: http://svn.freebsd.org/changeset/base/194733 Log: Merge 190831 from HEAD Add regs required for occlusion queries support Modified: stable/7/sys/ (props changed) stable/7/sys/contrib/pf/ (props changed) stabl

svn commit: r194732 - in stable/7/sys: . contrib/pf dev/drm

2009-06-23 Thread Robert Noland
Author: rnoland Date: Tue Jun 23 16:06:13 2009 New Revision: 194732 URL: http://svn.freebsd.org/changeset/base/194732 Log: Merge 190675 from HEAD Add support for RV790 (HD 4890) asics Modified: stable/7/sys/ (props changed) stable/7/sys/contrib/pf/ (props changed) stable/7/sys/de

svn commit: r194731 - in stable/7/sys: . contrib/pf dev/drm

2009-06-23 Thread Robert Noland
Author: rnoland Date: Tue Jun 23 16:04:54 2009 New Revision: 194731 URL: http://svn.freebsd.org/changeset/base/194731 Log: Merge 190674 from HEAD A little more cleanup from AMD, if we don't have the right microcode there is no reason to mess with the chip. Modified: stable/7/sys/ (pr

svn commit: r194730 - in stable/7/sys: . contrib/pf dev/drm

2009-06-23 Thread Robert Noland
Author: rnoland Date: Tue Jun 23 16:02:04 2009 New Revision: 194730 URL: http://svn.freebsd.org/changeset/base/194730 Log: Merge 190595 from HEAD Simplify the radeon microcode loading. Submitted by: Christoph Mallon Modified: stable/7/sys/ (props changed) stable/7/sys/contrib/

svn commit: r194729 - in stable/7/sys: . contrib/pf dev/drm

2009-06-23 Thread Robert Noland
Author: rnoland Date: Tue Jun 23 16:00:14 2009 New Revision: 194729 URL: http://svn.freebsd.org/changeset/base/194729 Log: Merge 190433 from HEAD Fix up waiting on vblank again... This reverts a last minute change that I made on the last patch, it seems to upset suspend/resume and shutdow

svn commit: r194728 - in stable/7/sys: . contrib/pf dev/drm

2009-06-23 Thread Robert Noland
Author: rnoland Date: Tue Jun 23 15:59:10 2009 New Revision: 194728 URL: http://svn.freebsd.org/changeset/base/194728 Log: Merge 190401 from HEAD Rework the management of vblank interrupts a bit. When a vt switch occurs the irq handler is uninstalled. Interrupts and the state tracki

svn commit: r194727 - in stable/7/sys: . contrib/pf dev/drm

2009-06-23 Thread Robert Noland
Author: rnoland Date: Tue Jun 23 15:56:10 2009 New Revision: 194727 URL: http://svn.freebsd.org/changeset/base/194727 Log: Merge 190400 from HEAD Intel handled the management of the breadcrumb counter inconsistently. Make sure that we always handle it the same way. Modified: stable/7/s

svn commit: r194726 - in stable/6/lib/libc: . inet sys

2009-06-23 Thread John Baldwin
Author: jhb Date: Tue Jun 23 15:55:58 2009 New Revision: 194726 URL: http://svn.freebsd.org/changeset/base/194726 Log: Move mergeinfo up to libc. Modified: stable/6/lib/libc/ (props changed) stable/6/lib/libc/inet/inet_net_pton.c (props changed) stable/6/lib/libc/sys/ (props changed

svn commit: r194720 - in stable/7/sys: . contrib/pf dev/drm

2009-06-23 Thread Robert Noland
Author: rnoland Date: Tue Jun 23 15:46:22 2009 New Revision: 194720 URL: http://svn.freebsd.org/changeset/base/194720 Log: Merge 190023 from HEAD Add some debugging so I can see when syscalls are being restarted consistantly. After a lengthy irc discussion it seems like we shouldn't ne

svn commit: r194725 - in stable/7/sys: . contrib/pf dev/drm

2009-06-23 Thread Robert Noland
Author: rnoland Date: Tue Jun 23 15:54:34 2009 New Revision: 194725 URL: http://svn.freebsd.org/changeset/base/194725 Log: Merge 190170 from HEAD vm_offset_t is unsigned, so compare of >= 0 is not needed. Found with: Coverity Prevent(tm) CID:2259 Modified: stable/7

svn commit: r194724 - in stable/7/sys: . contrib/pf dev/drm

2009-06-23 Thread Robert Noland
Author: rnoland Date: Tue Jun 23 15:53:17 2009 New Revision: 194724 URL: http://svn.freebsd.org/changeset/base/194724 Log: Merge 190166 from HEAD Remove the DRM_ERROR to fix build. It didn't make any sense anyway. Modified: stable/7/sys/ (props changed) stable/7/sys/contrib/pf/ (p

svn commit: r194723 - in stable/7/sys: . contrib/pf dev/drm

2009-06-23 Thread Robert Noland
Author: rnoland Date: Tue Jun 23 15:52:08 2009 New Revision: 194723 URL: http://svn.freebsd.org/changeset/base/194723 Log: Merge 190164 from HEAD Fix what appears to be a typo, and restore the registers correctly. Found with: Coverity Prevent(tm) CID:2454 Modified:

svn commit: r194722 - in stable/7/sys: . contrib/pf dev/drm

2009-06-23 Thread Robert Noland
Author: rnoland Date: Tue Jun 23 15:50:48 2009 New Revision: 194722 URL: http://svn.freebsd.org/changeset/base/194722 Log: Merge 190163 from HEAD Don't deref dev->dev_private before checking that it exists. Found with: Coverity Prevent(tm) CID:2940 Modified: stable

svn commit: r194721 - in stable/7/sys: . contrib/pf dev/drm

2009-06-23 Thread Robert Noland
Author: rnoland Date: Tue Jun 23 15:49:02 2009 New Revision: 194721 URL: http://svn.freebsd.org/changeset/base/194721 Log: Merge 190125 from HEAD Only issue the wakeup and store the counter if vblank is enabled on the pipe. Modified: stable/7/sys/ (props changed) stable/7/sys/contr

svn commit: r194719 - in stable/7/sys: . contrib/pf dev/drm

2009-06-23 Thread Robert Noland
Author: rnoland Date: Tue Jun 23 15:44:23 2009 New Revision: 194719 URL: http://svn.freebsd.org/changeset/base/194719 Log: Merge 190022 from HEAD Rework vblank handling to try to resolve some reports of "slow" windows after vt switch or suspend. I can't really test this on Intel right no

  1   2   >