svn commit: r213913 - head/sys/netinet

2010-10-16 Thread Lawrence Stewart
Author: lstewart Date: Sat Oct 16 07:12:39 2010 New Revision: 213913 URL: http://svn.freebsd.org/changeset/base/213913 Log: Retire the system-wide, per-reassembly queue segment limit. The mechanism is far too coarse grained to be useful and the default value significantly degrades TCP

Re: svn commit: r213845 - head/sys/dev/aic7xxx/aicasm

2010-10-16 Thread Kostik Belousov
On Fri, Oct 15, 2010 at 04:28:40PM -0400, John Baldwin wrote: On Friday, October 15, 2010 2:50:46 pm Rui Paulo wrote: On 15 Oct 2010, at 13:45, John Baldwin wrote: On Thursday, October 14, 2010 5:09:58 pm Dimitry Andric wrote: On 2010-10-14 21:39, John Baldwin wrote: On Thursday,

Re: svn commit: r213852 - in head: lib/libusb sys/dev/usb

2010-10-16 Thread Kostik Belousov
On Thu, Oct 14, 2010 at 08:38:18PM +, Hans Petter Selasky wrote: Author: hselasky Date: Thu Oct 14 20:38:18 2010 New Revision: 213852 URL: http://svn.freebsd.org/changeset/base/213852 Log: - Add support for LibUSB in 32-bit compatibility mode. Approved by:thompsa (mentor)

svn commit: r213914 - stable/8/sys/dev/ciss

2010-10-16 Thread Konstantin Belousov
Author: kib Date: Sat Oct 16 08:38:12 2010 New Revision: 213914 URL: http://svn.freebsd.org/changeset/base/213914 Log: MFC r213354: Cosmetic: make it less confusing when displaying RAID 1 level, that might be 1+0 as well. PR: kern/150936 Modified: stable/8/sys/dev/ciss/ciss.c

svn commit: r213915 - stable/8/sys/kern

2010-10-16 Thread Konstantin Belousov
Author: kib Date: Sat Oct 16 08:43:23 2010 New Revision: 213915 URL: http://svn.freebsd.org/changeset/base/213915 Log: MFC r213359: Release the vnode lock and close the linker file vnode earlier in the linker_load_file methods. This prevents the LOR between kernel linker sx xlock and

Re: svn commit: r213852 - in head: lib/libusb sys/dev/usb

2010-10-16 Thread Hans Petter Selasky
On Saturday 16 October 2010 10:12:37 Kostik Belousov wrote: On Thu, Oct 14, 2010 at 08:38:18PM +, Hans Petter Selasky wrote: Author: hselasky Date: Thu Oct 14 20:38:18 2010 New Revision: 213852 URL: http://svn.freebsd.org/changeset/base/213852 Log: - Add support for LibUSB in

svn commit: r213916 - head/sys/kern

2010-10-16 Thread Konstantin Belousov
Author: kib Date: Sat Oct 16 09:44:31 2010 New Revision: 213916 URL: http://svn.freebsd.org/changeset/base/213916 Log: Provide vfs.ncsizefactor instead of hard-coding namecache ratio. Move debug.ncnegfactor to vfs.ncnegfactor [1]. Provide some descriptions for the namecache related sysctls

svn commit: r213917 - head/share/man/man7

2010-10-16 Thread Konstantin Belousov
Author: kib Date: Sat Oct 16 09:46:03 2010 New Revision: 213917 URL: http://svn.freebsd.org/changeset/base/213917 Log: Document vfs.ncsizefactor and vfs.ncnegfactor. MFC after:2 weeks Modified: head/share/man/man7/tuning.7 Modified: head/share/man/man7/tuning.7

Re: svn commit: r213852 - in head: lib/libusb sys/dev/usb

2010-10-16 Thread Kostik Belousov
On Sat, Oct 16, 2010 at 11:41:31AM +0200, Hans Petter Selasky wrote: On Saturday 16 October 2010 10:12:37 Kostik Belousov wrote: On Thu, Oct 14, 2010 at 08:38:18PM +, Hans Petter Selasky wrote: Author: hselasky Date: Thu Oct 14 20:38:18 2010 New Revision: 213852 URL:

Re: svn commit: r213852 - in head: lib/libusb sys/dev/usb

2010-10-16 Thread Hans Petter Selasky
On Saturday 16 October 2010 12:00:51 Kostik Belousov wrote: USB has some shared memory structures which are used in both user-land and kernel, which are not part of IOCTLs. Your approach means that there are two sets of IOCTL's of all kinds, one for 32-bit and one for 64-bit? For all

svn commit: r213918 - head/sys/x86/isa

2010-10-16 Thread Andriy Gapon
Author: avg Date: Sat Oct 16 10:45:36 2010 New Revision: 213918 URL: http://svn.freebsd.org/changeset/base/213918 Log: atrtc: remove (pre-)historic check of RTC NVRAM at address 0x0e Old scrolls tell that once upon a time IBM AT BIOS was known to put some useful system diagnostic

svn commit: r213919 - stable/8/sys/kern

2010-10-16 Thread Andriy Gapon
Author: avg Date: Sat Oct 16 11:19:31 2010 New Revision: 213919 URL: http://svn.freebsd.org/changeset/base/213919 Log: MFC r213527: vm.kmem_map_size: a sysctl to query current kmem_map-size Modified: stable/8/sys/kern/kern_malloc.c Directory Properties: stable/8/sys/ (props changed)

svn commit: r213920 - head/lib/libusbhid

2010-10-16 Thread Hans Petter Selasky
Author: hselasky Date: Sat Oct 16 11:20:53 2010 New Revision: 213920 URL: http://svn.freebsd.org/changeset/base/213920 Log: - Add support for libusbhid in 32-bit compatibility mode. - Add missing check for ugd_actlen being too small. - Add missing inclusion guard to usbvar.h header file.

svn commit: r213921 - stable/8/sys/kern

2010-10-16 Thread Andriy Gapon
Author: avg Date: Sat Oct 16 11:24:27 2010 New Revision: 213921 URL: http://svn.freebsd.org/changeset/base/213921 Log: MFC r213651: add kmem_map_free sysctl: query largest contiguous free range in kmem_map Modified: stable/8/sys/kern/kern_malloc.c Directory Properties: stable/8/sys/

Re: svn commit: r213852 - in head: lib/libusb sys/dev/usb

2010-10-16 Thread Hans Petter Selasky
On Saturday 16 October 2010 12:12:43 Hans Petter Selasky wrote: On Saturday 16 October 2010 12:00:51 Kostik Belousov wrote: USB has some shared memory structures which are used in both user-land and kernel, which are not part of IOCTLs. Your approach means that there are two sets of

svn commit: r213922 - stable/7/sys/kern

2010-10-16 Thread Andriy Gapon
Author: avg Date: Sat Oct 16 11:41:20 2010 New Revision: 213922 URL: http://svn.freebsd.org/changeset/base/213922 Log: MFC r213527: vm.kmem_map_size: a sysctl to query current kmem_map-size Modified: stable/7/sys/kern/kern_malloc.c Directory Properties: stable/7/sys/ (props changed)

svn commit: r213923 - stable/7/sys/kern

2010-10-16 Thread Andriy Gapon
Author: avg Date: Sat Oct 16 11:44:58 2010 New Revision: 213923 URL: http://svn.freebsd.org/changeset/base/213923 Log: MFC r213651: add kmem_map_free sysctl: query largest contiguous free range in kmem_map Modified: stable/7/sys/kern/kern_malloc.c Directory Properties: stable/7/sys/

svn commit: r213924 - stable/8/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2010-10-16 Thread Andriy Gapon
Author: avg Date: Sat Oct 16 11:52:43 2010 New Revision: 213924 URL: http://svn.freebsd.org/changeset/base/213924 Log: MFC r213730: zfs + sendfile: do not produce partially valid pages for vnode's tail Modified: stable/8/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c Directory

svn commit: r213925 - head/bin/sh

2010-10-16 Thread Jilles Tjoelker
Author: jilles Date: Sat Oct 16 12:40:00 2010 New Revision: 213925 URL: http://svn.freebsd.org/changeset/base/213925 Log: sh: Use stddef.h rather than sys/stddef.h. sys/stddef.h is only for the kernel and conflicts with stddef.h. Modified: head/bin/sh/jobs.c Modified:

Re: svn commit: r213852 - in head: lib/libusb sys/dev/usb

2010-10-16 Thread Kostik Belousov
On Sat, Oct 16, 2010 at 01:30:31PM +0200, Hans Petter Selasky wrote: On Saturday 16 October 2010 12:12:43 Hans Petter Selasky wrote: On Saturday 16 October 2010 12:00:51 Kostik Belousov wrote: USB has some shared memory structures which are used in both user-land and kernel, which are

svn commit: r213926 - head/bin/sh

2010-10-16 Thread Jilles Tjoelker
Author: jilles Date: Sat Oct 16 14:37:56 2010 New Revision: 213926 URL: http://svn.freebsd.org/changeset/base/213926 Log: sh(1): Clarify subshells/processes for pipelines. For multi-command pipelines, 1. all commands are direct children of the shell (unlike the original Bourne

svn commit: r213927 - in head: usr.bin/compress usr.bin/gzip usr.sbin/pmcannotate

2010-10-16 Thread Benedict Reuschling
Author: bcr (doc committer) Date: Sat Oct 16 15:24:04 2010 New Revision: 213927 URL: http://svn.freebsd.org/changeset/base/213927 Log: Correct some typos in comments, no functional changes. Modified: head/usr.bin/compress/zopen.c head/usr.bin/gzip/gzip.c head/usr.bin/gzip/unpack.c

svn commit: r213928 - head/usr.sbin/pmcannotate

2010-10-16 Thread Benedict Reuschling
Author: bcr (doc committer) Date: Sat Oct 16 17:30:27 2010 New Revision: 213928 URL: http://svn.freebsd.org/changeset/base/213928 Log: Fix a grammatical error connected to the previous commit. Spotted by: gjb@ Modified: head/usr.sbin/pmcannotate/pmcannotate.c Modified:

svn commit: r213929 - head/sys/net

2010-10-16 Thread Bjoern A. Zeeb
Author: bz Date: Sat Oct 16 18:42:09 2010 New Revision: 213929 URL: http://svn.freebsd.org/changeset/base/213929 Log: lltable_drain() has never been used so far, thus #if 0 it for now. While touching it add the missing locking to the now disabled code for the time when we'll resurrect it.

svn commit: r213930 - head/sys/net

2010-10-16 Thread Bjoern A. Zeeb
Author: bz Date: Sat Oct 16 19:25:27 2010 New Revision: 213930 URL: http://svn.freebsd.org/changeset/base/213930 Log: Close a race acquiring the IF_ADDR_LOCK() for each entry while iterating over all interfaces to make sure the address will neither change nor be freed while we are working

svn commit: r213931 - head/sys/dev/usb/storage

2010-10-16 Thread Alexander Motin
Author: mav Date: Sat Oct 16 19:29:37 2010 New Revision: 213931 URL: http://svn.freebsd.org/changeset/base/213931 Log: Allow umass to use bigger transactions for USB 3.0 devices. It is less important for USB 2.0 devices and some of them reported to have problems with large transactions. But

svn commit: r213932 - head/sys/netinet

2010-10-16 Thread Bjoern A. Zeeb
Author: bz Date: Sat Oct 16 19:53:22 2010 New Revision: 213932 URL: http://svn.freebsd.org/changeset/base/213932 Log: MfP4 CH182763 (original version): Make it harder to exploit certain in_control() related races between the intiial lookup at the beginning and the time we will remove the

svn commit: r213933 - stable/8/sys/fs/tmpfs

2010-10-16 Thread Andriy Gapon
Author: avg Date: Sat Oct 16 19:56:46 2010 New Revision: 213933 URL: http://svn.freebsd.org/changeset/base/213933 Log: MFC r213735: tmpfs + sendfile: do not produce partially valid pages for vnode's tail Modified: stable/8/sys/fs/tmpfs/tmpfs_vnops.c Directory Properties: stable/8/sys/

svn commit: r213934 - stable/8/sys/kern

2010-10-16 Thread Andriy Gapon
Author: avg Date: Sat Oct 16 19:58:49 2010 New Revision: 213934 URL: http://svn.freebsd.org/changeset/base/213934 Log: MFC r213648: panic_cpu variable should be volatile Modified: stable/8/sys/kern/kern_shutdown.c Directory Properties: stable/8/sys/ (props changed)

svn commit: r213935 - stable/7/sys/kern

2010-10-16 Thread Andriy Gapon
Author: avg Date: Sat Oct 16 20:01:41 2010 New Revision: 213935 URL: http://svn.freebsd.org/changeset/base/213935 Log: MFC r213648: panic_cpu variable should be volatile Modified: stable/7/sys/kern/kern_shutdown.c Directory Properties: stable/7/sys/ (props changed)

svn commit: r213936 - stable/8/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2010-10-16 Thread Andriy Gapon
Author: avg Date: Sat Oct 16 20:13:15 2010 New Revision: 213936 URL: http://svn.freebsd.org/changeset/base/213936 Log: Revert r213261 (MFC of r212652): vm_page_sleep change has not been MFCed yet Modified: stable/8/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c Directory

Re: svn commit: r213932 - head/sys/netinet

2010-10-16 Thread Bjoern A. Zeeb
On Sat, 16 Oct 2010, Bjoern A. Zeeb wrote: Author: bz Date: Sat Oct 16 19:53:22 2010 New Revision: 213932 URL: http://svn.freebsd.org/changeset/base/213932 Log: MfP4 CH182763 (original version): Make it harder to exploit certain in_control() related races between the intiial lookup at the

svn commit: r213937 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2010-10-16 Thread Andriy Gapon
Author: avg Date: Sat Oct 16 20:43:05 2010 New Revision: 213937 URL: http://svn.freebsd.org/changeset/base/213937 Log: zfs: add vop_getpages method implementation This should make vnode_pager_getpages path a bit shorter and clearer. Also this should eliminate problems with partially

svn commit: r213938 - head/sbin/hastd

2010-10-16 Thread Pawel Jakub Dawidek
Author: pjd Date: Sat Oct 16 22:48:48 2010 New Revision: 213938 URL: http://svn.freebsd.org/changeset/base/213938 Log: Clear signal mask before executing a hook. Submitted by: Mikolaj Golub to.my.troc...@gmail.com MFC after:3 days Modified: head/sbin/hastd/hooks.c Modified:

svn commit: r213939 - head/sbin/hastd

2010-10-16 Thread Pawel Jakub Dawidek
Author: pjd Date: Sat Oct 16 22:50:12 2010 New Revision: 213939 URL: http://svn.freebsd.org/changeset/base/213939 Log: Use one fprintf() instead of two. MFC after:3 days Modified: head/sbin/hastd/pjdlog.c Modified: head/sbin/hastd/pjdlog.c

svn commit: r213944 - stable/7/sys/netipsec

2010-10-16 Thread Bjoern A. Zeeb
Author: bz Date: Sun Oct 17 03:13:30 2010 New Revision: 213944 URL: http://svn.freebsd.org/changeset/base/213944 Log: MFC r213836: Style: make the asterisk go with the variable name, not the type. Modified: stable/7/sys/netipsec/ipsec_output.c Directory Properties: stable/7/sys/

Re: svn commit: r213845 - head/sys/dev/aic7xxx/aicasm

2010-10-16 Thread Warner Losh
From: John Baldwin j...@freebsd.org Subject: Re: svn commit: r213845 - head/sys/dev/aic7xxx/aicasm Date: Fri, 15 Oct 2010 08:45:22 -0400 On Thursday, October 14, 2010 5:09:58 pm Dimitry Andric wrote: On 2010-10-14 21:39, John Baldwin wrote: On Thursday, October 14, 2010 3:19:19 pm Rui Paulo

Re: svn commit: r213845 - head/sys/dev/aic7xxx/aicasm

2010-10-16 Thread Warner Losh
From: Rui Paulo rpa...@freebsd.org Subject: Re: svn commit: r213845 - head/sys/dev/aic7xxx/aicasm Date: Fri, 15 Oct 2010 19:50:46 +0100 On 15 Oct 2010, at 13:45, John Baldwin wrote: On Thursday, October 14, 2010 5:09:58 pm Dimitry Andric wrote: On 2010-10-14 21:39, John Baldwin wrote: On