svn commit: r194683 - in head/sys: conf modules/netgraph modules/netgraph/pipe

2009-06-23 Thread Marko Zec
Author: zec Date: Tue Jun 23 06:11:04 2009 New Revision: 194683 URL: http://svn.freebsd.org/changeset/base/194683 Log: Connect ng_pipe to the default build. Approved by: julian (mentor) Added: head/sys/modules/netgraph/pipe/ head/sys/modules/netgraph/pipe/Makefile (contents, props

svn commit: r194682 - in head/sys: compat/ndis dev/sound/usb dev/usb dev/usb/net dev/usb/serial netgraph/bluetooth/drivers/ubt

2009-06-23 Thread Andrew Thompson
Author: thompsa Date: Tue Jun 23 06:00:31 2009 New Revision: 194682 URL: http://svn.freebsd.org/changeset/base/194682 Log: Fix a typeo in the frame len function to unbreak the build, make it shorter while I am here. Modified: head/sys/compat/ndis/subr_usbd.c

svn commit: r194685 - head/sys/sys

2009-06-23 Thread Jeff Roberson
Author: jeff Date: Tue Jun 23 06:57:46 2009 New Revision: 194685 URL: http://svn.freebsd.org/changeset/base/194685 Log: - Add a new cpuset macro, CPU_FILL(), for setting the set to all 1s. Modified: head/sys/sys/cpuset.h Modified: head/sys/sys/cpuset.h

Re: svn commit: r194672 - in head/sys: kern netinet sys

2009-06-23 Thread Robert Watson
On Mon, 22 Jun 2009, Andre Oppermann wrote: Add soreceive_stream(), an optimized version of soreceive() for stream (TCP) sockets. While this sounds like very interesting work, I was struck by the lack of: Reviewed by: ? Tested by:? Have you tested this change with some of our

Re: svn commit: r194628 - head/lib/ncurses/ncurses

2009-06-23 Thread Ed Schouten
Hi, * Rong-En Fan ra...@freebsd.org wrote: There is a --with-fallbacks in ncurses, let me check if we can use that. We don't really use the termcap/terminfo entries from ncurses, but instead we have our own version. So, not sure if we should provide a small /etc/termcap.small or we should

Re: svn commit: r194681 - head/usr.sbin/wpa/ndis_events

2009-06-23 Thread Ed Schouten
Hi Maxim, * Maxim Konovalov ma...@freebsd.org wrote: +static void usage(); ... +usage() That should probably read: static void usage(void); Right? -- Ed Schouten e...@80386.nl WWW: http://80386.nl/ pgp2CbwhNsSVO.pgp Description: PGP signature

Re: svn commit: r192648 - in head: share/man/man4 sys/conf sys/netinet sys/netinet6 sys/netipsec

2009-06-23 Thread Jeremie Le Hen
Hi, On Sat, May 23, 2009 at 04:42:38PM +, Bjoern A. Zeeb wrote: Author: bz Date: Sat May 23 16:42:38 2009 New Revision: 192648 URL: http://svn.freebsd.org/changeset/base/192648 Log: Add sysctls to toggle the behaviour of the (former) IPSEC_FILTERTUNNEL kernel option. This also

Re: svn commit: r194672 - in head/sys: kern netinet sys

2009-06-23 Thread Andre Oppermann
Robert Watson wrote: On Mon, 22 Jun 2009, Andre Oppermann wrote: Add soreceive_stream(), an optimized version of soreceive() for stream (TCP) sockets. While this sounds like very interesting work, I was struck by the lack of: Reviewed by:? Tested by:? Have you tested this

svn commit: r194686 - head/usr.sbin/wpa/ndis_events

2009-06-23 Thread Maxim Konovalov
Author: maxim Date: Tue Jun 23 08:51:11 2009 New Revision: 194686 URL: http://svn.freebsd.org/changeset/base/194686 Log: o Fix usage() prototype [1] and correct its call. Submitted by: ed [1] Modified: head/usr.sbin/wpa/ndis_events/ndis_events.c Modified:

Re: svn commit: r194681 - head/usr.sbin/wpa/ndis_events

2009-06-23 Thread Maxim Konovalov
On Tue, 23 Jun 2009, 10:00+0200, Ed Schouten wrote: Hi Maxim, * Maxim Konovalov ma...@freebsd.org wrote: +static void usage(); ... +usage() That should probably read: static void usage(void); Right? fixed, thanks. -- Maxim Konovalov

Re: svn commit: r194643 - head/sys/kern

2009-06-23 Thread Andre Oppermann
Kip Macy wrote: As soon as INVARIANTS are enable the KASSERT will catch the offender red handed. The INVARIANTS check DTRT. i.e. fail-fast. If you're double-freeing a valid mbuf you'll get a random crash elsewhere. There is the uncertainty whether the m_nextpkt mbuf is really referenced

svn commit: r194687 - head/sys/dev/firewire

2009-06-23 Thread Roman Divacky
Author: rdivacky Date: Tue Jun 23 09:02:24 2009 New Revision: 194687 URL: http://svn.freebsd.org/changeset/base/194687 Log: Fix what seems to be an obvious typo preventing the body of the if statement to ever be executed. Approved by: ed (mentor) Modified:

svn commit: r194688 - head/lib/libc/i386/stdlib

2009-06-23 Thread Ed Schouten
Author: ed Date: Tue Jun 23 09:04:59 2009 New Revision: 194688 URL: http://svn.freebsd.org/changeset/base/194688 Log: Remove hand-written labs/abs implementations. GCC is smart enough. It turns out GCC generates code that's a couple of bytes big bigger, but performs no branching

Re: svn commit: r194687 - head/sys/dev/firewire

2009-06-23 Thread Roman Divacky
On Tue, Jun 23, 2009 at 09:02:24AM +, Roman Divacky wrote: Author: rdivacky Date: Tue Jun 23 09:02:24 2009 New Revision: 194687 URL: http://svn.freebsd.org/changeset/base/194687 Log: Fix what seems to be an obvious typo preventing the body of the if statement to ever be executed.

svn commit: r194690 - in stable/7/etc: . periodic/daily

2009-06-23 Thread Brian Somers
Author: brian Date: Tue Jun 23 09:51:38 2009 New Revision: 194690 URL: http://svn.freebsd.org/changeset/base/194690 Log: MFC: r193302: Avoid using find -delete in favour of find -prune PR: 122811 Modified: stable/7/etc/ (props changed)

svn commit: r194691 - in stable/7/sys: . contrib/pf kern

2009-06-23 Thread Konstantin Belousov
Author: kib Date: Tue Jun 23 10:37:28 2009 New Revision: 194691 URL: http://svn.freebsd.org/changeset/base/194691 Log: MFC r185358 (by ganbold): Remove unused variable. Modified: stable/7/sys/ (props changed) stable/7/sys/contrib/pf/ (props changed) stable/7/sys/kern/kern_lockf.c

svn commit: r194692 - in stable/7/sys: . contrib/pf kern

2009-06-23 Thread Konstantin Belousov
Author: kib Date: Tue Jun 23 10:41:38 2009 New Revision: 194692 URL: http://svn.freebsd.org/changeset/base/194692 Log: MFC r192681: Replace the while statement with the if for clarity. The loop body cannot be executed more then once. Modified: stable/7/sys/ (props changed)

svn commit: r194693 - in stable/7/sys: . contrib/pf kern

2009-06-23 Thread Konstantin Belousov
Author: kib Date: Tue Jun 23 10:47:42 2009 New Revision: 194693 URL: http://svn.freebsd.org/changeset/base/194693 Log: MFC r192683: In lf_advlockasync(), recheck for doomed vnode after the state-ls_lock is acquired. In the lf_purgelocks(), assert that vnode is doomed and set *statep to

svn commit: r194694 - in stable/7/sys: . contrib/pf kern

2009-06-23 Thread Konstantin Belousov
Author: kib Date: Tue Jun 23 10:49:55 2009 New Revision: 194694 URL: http://svn.freebsd.org/changeset/base/194694 Log: MFC r192684: In lf_purgelocks(), assert that state-ls_pending is empty after we weeded out threads, and clean ls_active instead of ls_pending. Modified: stable/7/sys/

svn commit: r194695 - in stable/7/sys: . contrib/pf kern sys

2009-06-23 Thread Konstantin Belousov
Author: kib Date: Tue Jun 23 10:55:21 2009 New Revision: 194695 URL: http://svn.freebsd.org/changeset/base/194695 Log: MFC r192685: The advisory lock may be activated or activated and removed during the sleep waiting for conditions when the lock may be granted. To prevent lf_setlock()

svn commit: r194696 - in stable/7/sys: . contrib/pf gnu/fs/ext2fs kern ufs/ufs

2009-06-23 Thread Konstantin Belousov
Author: kib Date: Tue Jun 23 10:59:59 2009 New Revision: 194696 URL: http://svn.freebsd.org/changeset/base/194696 Log: MFC r194296: Do not use casts (int *)0 and (struct thread *)0 for the arguments of vn_rdwr, use NULL. Modified: stable/7/sys/ (props changed)

svn commit: r194697 - head/sys/kern

2009-06-23 Thread Peter Holm
Author: pho Date: Tue Jun 23 11:29:54 2009 New Revision: 194697 URL: http://svn.freebsd.org/changeset/base/194697 Log: vn_open_cred() needs a non NULL ucred pointer Reviewed by: kib Modified: head/sys/kern/kern_sig.c Modified: head/sys/kern/kern_sig.c

svn commit: r194699 - head/sys/netgraph

2009-06-23 Thread Alexander Motin
Author: mav Date: Tue Jun 23 12:30:21 2009 New Revision: 194699 URL: http://svn.freebsd.org/changeset/base/194699 Log: Mark ng_ether node hooks as HI_STACK. It is usually the last point when netgraph may unroll the call stack, and I have found that in some cases 2K guarantied there for i386

Re: svn commit: r194687 - head/sys/dev/firewire

2009-06-23 Thread Ulrich Spörlein
On Tue, 23.06.2009 at 11:30:58 +0200, Roman Divacky wrote: On Tue, Jun 23, 2009 at 09:02:24AM +, Roman Divacky wrote: Log: Fix what seems to be an obvious typo preventing the body of the if statement to ever be executed. what I meant was the the goto out; is executed every time.

svn commit: r194700 - head/sys/net

2009-06-23 Thread Bjoern A. Zeeb
Author: bz Date: Tue Jun 23 13:16:16 2009 New Revision: 194700 URL: http://svn.freebsd.org/changeset/base/194700 Log: Remove duplicate #include net/route.h from the middle of the file. Modified: head/sys/net/if.c Modified: head/sys/net/if.c

svn commit: r194701 - in head: share/man/man4 sys/conf sys/dev/acpi_support sys/i386/conf sys/modules/acpi sys/modules/acpi/acpi_hp sys/modules/acpi/acpi_wmi

2009-06-23 Thread Rui Paulo
Author: rpaulo Date: Tue Jun 23 13:17:25 2009 New Revision: 194701 URL: http://svn.freebsd.org/changeset/base/194701 Log: * Driver for ACPI WMI (Windows Management Instrumentation) * Driver for ACPI HP extra functionations, which required ACPI WMI driver. Submitted by: Michael

svn commit: r194702 - head/sys/netinet6

2009-06-23 Thread Bjoern A. Zeeb
Author: bz Date: Tue Jun 23 13:22:19 2009 New Revision: 194702 URL: http://svn.freebsd.org/changeset/base/194702 Log: in6_rtqdrain() has been unused. Cleanup. As this was the only consumer of net/route.h left remove that as well. Modified: head/sys/netinet6/in6_rmx.c Modified:

svn commit: r194703 - head/lib/libc/stdlib

2009-06-23 Thread Ed Schouten
Author: ed Date: Tue Jun 23 14:10:46 2009 New Revision: 194703 URL: http://svn.freebsd.org/changeset/base/194703 Log: Simplify. We can just use .sinclude here. Submitted by: Christoph Mallon Modified: head/lib/libc/stdlib/Makefile.inc Modified: head/lib/libc/stdlib/Makefile.inc

svn commit: r194704 - in head/lib/libc: arm/stdlib ia64/stdlib mips/stdlib sparc64/stdlib

2009-06-23 Thread Ed Schouten
Author: ed Date: Tue Jun 23 14:11:41 2009 New Revision: 194704 URL: http://svn.freebsd.org/changeset/base/194704 Log: Remove unneeded stdlib directories. It's not necessary to add stdlib directories for each architecture, even if the architecture doesn't implement any files of its own.

svn commit: r194705 - head/libexec/rtld-elf

2009-06-23 Thread Ed Schouten
Author: ed Date: Tue Jun 23 14:12:49 2009 New Revision: 194705 URL: http://svn.freebsd.org/changeset/base/194705 Log: Fix a typo in the same comment, one line below. Submitted by: bf1783 googlemail com Modified: head/libexec/rtld-elf/rtld.c Modified: head/libexec/rtld-elf/rtld.c

svn commit: r194706 - head/sys/dev/if_ndis

2009-06-23 Thread Coleman Kane
Author: cokane Date: Tue Jun 23 14:37:07 2009 New Revision: 194706 URL: http://svn.freebsd.org/changeset/base/194706 Log: Code cleanup by moving some repetitive code into an ndis_get_bssid_list helper function. Also, add ieee80211_announce() call for bootverbose case. Submitted by: Paul

svn commit: r194707 - head/sys/kern

2009-06-23 Thread Jamie Gritton
Author: jamie Date: Tue Jun 23 14:39:21 2009 New Revision: 194707 URL: http://svn.freebsd.org/changeset/base/194707 Log: Remove unnecessary/redundant includes. Approved by: bz (mentor) Modified: head/sys/kern/kern_cpuset.c head/sys/kern/uipc_usrreq.c Modified:

svn commit: r194708 - head/usr.sbin/jail

2009-06-23 Thread Jamie Gritton
Author: jamie Date: Tue Jun 23 14:39:51 2009 New Revision: 194708 URL: http://svn.freebsd.org/changeset/base/194708 Log: Remove obsolete comment describing how the command line is no longer parsed. Approved by: bz (mentor) Modified: head/usr.sbin/jail/jail.c Modified:

svn commit: r194709 - head/usr.sbin/jexec

2009-06-23 Thread Jamie Gritton
Author: jamie Date: Tue Jun 23 14:40:08 2009 New Revision: 194709 URL: http://svn.freebsd.org/changeset/base/194709 Log: Whitespace fix. Approved by: bz (mentor) Modified: head/usr.sbin/jexec/jexec.c Modified: head/usr.sbin/jexec/jexec.c

svn commit: r194712 - vendor/llvm/llvm-r73954

2009-06-23 Thread Ed Schouten
Author: ed Date: Tue Jun 23 14:51:21 2009 New Revision: 194712 URL: http://svn.freebsd.org/changeset/base/194712 Log: Tag LLVM r73954. Added: vendor/llvm/llvm-r73954/ - copied from r194711, vendor/llvm/dist/ ___ svn-src-all@freebsd.org mailing

svn commit: r194713 - vendor/clang/clang-r73954

2009-06-23 Thread Ed Schouten
Author: ed Date: Tue Jun 23 14:51:45 2009 New Revision: 194713 URL: http://svn.freebsd.org/changeset/base/194713 Log: Tag Clang r73954. Added: vendor/clang/clang-r73954/ - copied from r194712, vendor/clang/dist/ ___ svn-src-all@freebsd.org

Re: svn commit: r194702 - head/sys/netinet6

2009-06-23 Thread Andrew Gallatin
Bjoern A. Zeeb wrote: Author: bz Date: Tue Jun 23 13:22:19 2009 New Revision: 194702 URL: http://svn.freebsd.org/changeset/base/194702 Log: in6_rtqdrain() has been unused. Cleanup. As this was the only consumer of net/route.h left remove that as well. Modified:

svn commit: r194714 - head/sys/netinet6

2009-06-23 Thread Bjoern A. Zeeb
Author: bz Date: Tue Jun 23 14:54:42 2009 New Revision: 194714 URL: http://svn.freebsd.org/changeset/base/194714 Log: In r194702 I meant to remove vnet.h which is no longer needed, not route.h. Modified: head/sys/netinet6/in6_rmx.c Modified: head/sys/netinet6/in6_rmx.c

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

2009-06-23 Thread Rui Paulo
Author: rpaulo Date: Tue Jun 23 14:57:06 2009 New Revision: 194715 URL: http://svn.freebsd.org/changeset/base/194715 Log: Fix double path issue and other nits. MFC after:2 weeks Modified: head/share/man/man4/acpi_hp.4 head/share/man/man4/acpi_wmi.4 Modified:

Re: svn commit: r194702 - head/sys/netinet6

2009-06-23 Thread Bjoern A. Zeeb
On Tue, 23 Jun 2009, Andrew Gallatin wrote: Hi, Bjoern A. Zeeb wrote: Author: bz Date: Tue Jun 23 13:22:19 2009 New Revision: 194702 URL: http://svn.freebsd.org/changeset/base/194702 Log: in6_rtqdrain() has been unused. Cleanup. As this was the only consumer of net/route.h left remove

Re: svn commit: r194672 - in head/sys: kern netinet sys

2009-06-23 Thread Robert Watson
On Tue, 23 Jun 2009, Andrew Gallatin wrote: This is consistent across runs. Lockstat output for 10 seconds in the middle of a run is very interesting and shows a huge reduction in lock contention. I continue to wonder if we should be deferring TCP reassembly to the user thread when

svn commit: r194716 - head/sys/dev/acpi_support

2009-06-23 Thread Rui Paulo
Author: rpaulo Date: Tue Jun 23 15:08:03 2009 New Revision: 194716 URL: http://svn.freebsd.org/changeset/base/194716 Log: Fix build with ACPI_DEBUG. MFC after:2 weeks Modified: head/sys/dev/acpi_support/acpi_wmi.c Modified: head/sys/dev/acpi_support/acpi_wmi.c

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

2009-06-23 Thread Robert Noland
Author: rnoland Date: Tue Jun 23 15:10:49 2009 New Revision: 194717 URL: http://svn.freebsd.org/changeset/base/194717 Log: Merge r190020 from HEAD Pull in some suspend / resume changes from Intel's code Modified: stable/7/sys/ (props changed) stable/7/sys/contrib/pf/ (props

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

2009-06-23 Thread Robert Noland
Author: rnoland Date: Tue Jun 23 15:22:38 2009 New Revision: 194718 URL: http://svn.freebsd.org/changeset/base/194718 Log: Merge 190021 from HEAD Sync up the rest of the code that we use with what Intel is shipping -Some irq/vblank related changes that hopefully will help.

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 now

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)

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: 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/

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:

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

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

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:

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

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

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)

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)

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

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

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: 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.

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: 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

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.

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: 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

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,

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: 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:

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 j...@freebsd.org 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

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

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

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.

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 j...@freebsd.org 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

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

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:

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:

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: 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

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 j...@freebsd.org 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

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:

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

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 j...@freebsd.org wrote: Author: jhb Date: Tue Jun 23 17:44:55 2009 New Revision: 194744 URL:

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:

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) Modified:

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

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

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

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: 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

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 j...@freebsd.org wrote: Author: jhb Date: Tue Jun 23 17:44:55 2009 New Revision:

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 use it

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 j...@freebsd.org

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

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

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

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 structure,

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

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

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

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

  1   2   >