Re: svn commit: r236489 - head/sys/dev/iwn

2012-06-11 Thread Marius Strobl
On Mon, Jun 11, 2012 at 11:16:15PM -0700, Adrian Chadd wrote: > Hi, > > The reason I hadn't (yet) looked at updating this for wireless devices > is because I do most of my testing of -HEAD drivers on -9. > > nitems() isn't there. > > I was kind of hoping I wouldn't need to introduce a compat-wir

Re: svn commit: r236489 - head/sys/dev/iwn

2012-06-11 Thread Adrian Chadd
Hi, The reason I hadn't (yet) looked at updating this for wireless devices is because I do most of my testing of -HEAD drivers on -9. nitems() isn't there. I was kind of hoping I wouldn't need to introduce a compat-wireless style layer.. :) Adrian _

Re: svn commit: r236909 - head/sbin/hastd

2012-06-11 Thread Bruce Evans
On Mon, 11 Jun 2012, Hans Petter Selasky wrote: On Monday 11 June 2012 22:21:51 Hans Petter Selasky wrote: On Monday 11 June 2012 22:05:07 Pawel Jakub Dawidek wrote: On Mon, Jun 11, 2012 at 07:21:00PM +, Hans Petter Selasky wrote: Author: hselasky Date: Mon Jun 11 19:20:59 2012 New Revisi

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

2012-06-11 Thread Bruce Evans
On Mon, 11 Jun 2012, Pawel Jakub Dawidek wrote: Log: Use consistent way of checking if descriptor number is valid. MFC after: 1 month Modified: head/sys/kern/kern_descrip.c Modified: head/sys/kern/kern_descrip.c ==

Re: svn commit: r236909 - head/sbin/hastd

2012-06-11 Thread Bruce Evans
On Mon, 11 Jun 2012, Hans Petter Selasky wrote: On Monday 11 June 2012 22:05:07 Pawel Jakub Dawidek wrote: On Mon, Jun 11, 2012 at 07:21:00PM +, Hans Petter Selasky wrote: Log: Use the correct clock source when computing timeouts. Could you please explain why? As you can see some lines

svn commit: r236938 - in head/sys: amd64/amd64 amd64/include i386/i386 i386/include x86/acpica

2012-06-11 Thread Mitsuru IWASAKI
Author: iwasaki Date: Tue Jun 12 00:14:54 2012 New Revision: 236938 URL: http://svn.freebsd.org/changeset/base/236938 Log: Share IPI init and startup code of mp_machdep.c with acpi_wakeup.c as ipi_startup(). Modified: head/sys/amd64/amd64/mp_machdep.c head/sys/amd64/include/smp.h head/s

svn commit: r236937 - head/sys/ufs/ffs

2012-06-11 Thread Kirk McKusick
Author: mckusick Date: Mon Jun 11 23:07:21 2012 New Revision: 236937 URL: http://svn.freebsd.org/changeset/base/236937 Log: In softdep_setup_inomapdep() we may have to allocate both inodedep and bmsafemap dependency structures in inodedep_lookup() and bmsafemap_lookup() respectively. The set

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

2012-06-11 Thread Xin LI
Author: delphij Date: Mon Jun 11 22:25:20 2012 New Revision: 236936 URL: http://svn.freebsd.org/changeset/base/236936 Log: Switch from 4-clause to 2-clause BSD license. (OpenBSD r1.22) No functional change. Obtained from:NetBSD via OpenBSD Modified: head/lib/libc/stdlib/getopt_

svn commit: r236935 - head/sys/kern

2012-06-11 Thread Pawel Jakub Dawidek
Author: pjd Date: Mon Jun 11 22:05:26 2012 New Revision: 236935 URL: http://svn.freebsd.org/changeset/base/236935 Log: fdgrowtable() no longer drops the filedesc lock so it is enough to retry finding free file descriptor only once after fdgrowtable(). Spotted by: pluknet MFC after:

Re: svn commit: r236909 - head/sbin/hastd

2012-06-11 Thread Hans Petter Selasky
On Monday 11 June 2012 22:21:51 Hans Petter Selasky wrote: > On Monday 11 June 2012 22:05:07 Pawel Jakub Dawidek wrote: > > On Mon, Jun 11, 2012 at 07:21:00PM +, Hans Petter Selasky wrote: > > > Author: hselasky > > > Date: Mon Jun 11 19:20:59 2012 > > > New Revision: 236909 > > > URL: http://s

svn commit: r236933 - stable/9/sys/dev/drm2/i915

2012-06-11 Thread Konstantin Belousov
Author: kib Date: Mon Jun 11 21:44:24 2012 New Revision: 236933 URL: http://svn.freebsd.org/changeset/base/236933 Log: MFC r236183: Disable end of buffer fixup by default. Modified: stable/9/sys/dev/drm2/i915/i915_gem_execbuffer.c Directory Properties: stable/9/sys/ (props changed) st

svn commit: r236932 - stable/9/sys/dev/drm2/i915

2012-06-11 Thread Konstantin Belousov
Author: kib Date: Mon Jun 11 21:43:17 2012 New Revision: 236932 URL: http://svn.freebsd.org/changeset/base/236932 Log: MFC r236182: Fix calculation of the execution buffer end in the mapped pages when it is spilled into the next page. Modified: stable/9/sys/dev/drm2/i915/i915_gem_execbuff

svn commit: r236930 - head/sys/amd64/amd64

2012-06-11 Thread Alan Cox
Author: alc Date: Mon Jun 11 21:41:16 2012 New Revision: 236930 URL: http://svn.freebsd.org/changeset/base/236930 Log: Avoid unnecessary atomic operations for clearing PGA_WRITEABLE in pmap_remove_pages(). This reduces pmap_remove_pages()'s running time by 4 to 11% in my tests. MFC aft

svn commit: r236931 - stable/9/sys/dev/drm2/i915

2012-06-11 Thread Konstantin Belousov
Author: kib Date: Mon Jun 11 21:41:45 2012 New Revision: 236931 URL: http://svn.freebsd.org/changeset/base/236931 Log: MFC r235925 (by dim): Fix a clang warning in drm2. Modified: stable/9/sys/dev/drm2/i915/intel_display.c Directory Properties: stable/9/sys/ (props changed) stable/9/s

svn commit: r236929 - stable/9/sys/modules/drm2

2012-06-11 Thread Konstantin Belousov
Author: kib Date: Mon Jun 11 21:40:02 2012 New Revision: 236929 URL: http://svn.freebsd.org/changeset/base/236929 Log: MFC r235847: The drm2 modules makefiles commit. Added: stable/9/sys/modules/drm2/ - copied from r235847, head/sys/modules/drm2/ Modified: Directory Properties: stabl

svn commit: r236928 - stable/9/sys/dev/pci

2012-06-11 Thread Konstantin Belousov
Author: kib Date: Mon Jun 11 21:38:36 2012 New Revision: 236928 URL: http://svn.freebsd.org/changeset/base/236928 Log: MFC r235846: Add 'drmn' device as another drm child, to allow drm2 drivers to live in parallel with drm1. Modified: stable/9/sys/dev/pci/vga_pci.c Directory Properties:

svn commit: r236927 - stable/9/sys/dev/drm2

2012-06-11 Thread Konstantin Belousov
Author: kib Date: Mon Jun 11 21:35:27 2012 New Revision: 236927 URL: http://svn.freebsd.org/changeset/base/236927 Log: MFC r235783: Add the code for new Intel GPU driver, which supports GEM, KMS and works with new generations of GPUs (IronLake, SandyBridge and supposedly IvyBridge). T

svn commit: r236926 - in stable/9/sys: dev/agp modules/agp sys

2012-06-11 Thread Konstantin Belousov
Author: kib Date: Mon Jun 11 21:33:02 2012 New Revision: 236926 URL: http://svn.freebsd.org/changeset/base/236926 Log: MFC r235782: A rewrite of the i810 bits of the agp(4) driver. New driver supports operations required by GEMified i915.ko. It also attaches to SandyBridge and IvyBridge C

svn commit: r236925 - stable/9/sys/vm

2012-06-11 Thread Konstantin Belousov
Author: kib Date: Mon Jun 11 21:25:20 2012 New Revision: 236925 URL: http://svn.freebsd.org/changeset/base/236925 Log: MFC r235375: Add new pager type, OBJT_MGTDEVICE. It provides the device pager which carries fictitous managed pges. In particular, the consumers of the new object type can

svn commit: r236924 - stable/9/sys/vm

2012-06-11 Thread Konstantin Belousov
Author: kib Date: Mon Jun 11 21:19:59 2012 New Revision: 236924 URL: http://svn.freebsd.org/changeset/base/236924 Log: MFC r235372: Add a facility to register a range of physical addresses to be used for allocation of fictitious pages, for which PHYS_TO_VM_PAGE() returns proper fictitious

svn commit: r236923 - stable/9/sys/vm

2012-06-11 Thread Konstantin Belousov
Author: kib Date: Mon Jun 11 21:12:52 2012 New Revision: 236923 URL: http://svn.freebsd.org/changeset/base/236923 Log: MFC r235366: Split the code from vm_page_getfake() to initialize the fake page struct vm_page into new interface vm_page_initfake(). Handle the case of fake page re-initia

svn commit: r236922 - stable/9/sys/vm

2012-06-11 Thread Konstantin Belousov
Author: kib Date: Mon Jun 11 21:08:52 2012 New Revision: 236922 URL: http://svn.freebsd.org/changeset/base/236922 Log: MFC r235365: Assert that the page passed to vm_page_putfake() is unmanaged. Modified: stable/9/sys/vm/vm_page.c Directory Properties: stable/9/sys/ (props changed) Mod

svn commit: r236921 - stable/9/sys/vm

2012-06-11 Thread Konstantin Belousov
Author: kib Date: Mon Jun 11 21:06:10 2012 New Revision: 236921 URL: http://svn.freebsd.org/changeset/base/236921 Log: MFC r235362: Assert that fictitious or unmanaged pages do not appear on active/inactive lists. Modified: stable/9/sys/vm/vm_pageout.c Directory Properties: stable/9/sys

svn commit: r236920 - stable/9/sys/vm

2012-06-11 Thread Konstantin Belousov
Author: kib Date: Mon Jun 11 20:58:23 2012 New Revision: 236920 URL: http://svn.freebsd.org/changeset/base/236920 Log: MFC r235356: Make the vm_page_array_size long. Remove redundand zero initialization for vm_page_array_size and nearby variables. MFC r235359: Commit the change forgot

svn commit: r236919 - head/sbin/hastd

2012-06-11 Thread Hans Petter Selasky
Author: hselasky Date: Mon Jun 11 20:27:52 2012 New Revision: 236919 URL: http://svn.freebsd.org/changeset/base/236919 Log: Revert: r236909 Pointyhat: me Modified: head/sbin/hastd/synch.h Modified: head/sbin/hastd/synch.h =

Re: svn commit: r236909 - head/sbin/hastd

2012-06-11 Thread Hans Petter Selasky
On Monday 11 June 2012 22:05:07 Pawel Jakub Dawidek wrote: > On Mon, Jun 11, 2012 at 07:21:00PM +, Hans Petter Selasky wrote: > > Author: hselasky > > Date: Mon Jun 11 19:20:59 2012 > > New Revision: 236909 > > URL: http://svn.freebsd.org/changeset/base/236909 > > > > Log: > > Use the correc

svn commit: r236918 - head/sys/sys

2012-06-11 Thread Pawel Jakub Dawidek
Author: pjd Date: Mon Jun 11 20:19:24 2012 New Revision: 236918 URL: http://svn.freebsd.org/changeset/base/236918 Log: Use consistent way of checking if descriptor number is valid. MFC after:1 month Modified: head/sys/sys/filedesc.h Modified: head/sys/sys/filedesc.h

svn commit: r236917 - head/sys/kern

2012-06-11 Thread Pawel Jakub Dawidek
Author: pjd Date: Mon Jun 11 20:17:20 2012 New Revision: 236917 URL: http://svn.freebsd.org/changeset/base/236917 Log: Use consistent way of checking if descriptor number is valid. MFC after:1 month Modified: head/sys/kern/kern_descrip.c Modified: head/sys/kern/kern_descrip.c ==

svn commit: r236916 - head/sys/net

2012-06-11 Thread Andrew Thompson
Author: thompsa Date: Mon Jun 11 20:12:13 2012 New Revision: 236916 URL: http://svn.freebsd.org/changeset/base/236916 Log: Fix a panic I introduced in r234487, the bridge softc pointer is set to null early in the detach so rearrange things not to explode. Reported by: David Roffiaen, Gus

Re: svn commit: r236909 - head/sbin/hastd

2012-06-11 Thread Pawel Jakub Dawidek
On Mon, Jun 11, 2012 at 07:21:00PM +, Hans Petter Selasky wrote: > Author: hselasky > Date: Mon Jun 11 19:20:59 2012 > New Revision: 236909 > URL: http://svn.freebsd.org/changeset/base/236909 > > Log: > Use the correct clock source when computing timeouts. Could you please explain why? As y

svn commit: r236915 - head/sys/kern

2012-06-11 Thread Pawel Jakub Dawidek
Author: pjd Date: Mon Jun 11 20:01:50 2012 New Revision: 236915 URL: http://svn.freebsd.org/changeset/base/236915 Log: Be consistent with white spaces. MFC after:1 month Modified: head/sys/kern/kern_descrip.c Modified: head/sys/kern/kern_descrip.c ===

svn commit: r236914 - head/sys/kern

2012-06-11 Thread Pawel Jakub Dawidek
Author: pjd Date: Mon Jun 11 20:00:44 2012 New Revision: 236914 URL: http://svn.freebsd.org/changeset/base/236914 Log: Remove code duplicated in kern_close() and do_dup() and use closefp() function introduced a minute ago. This code duplication was responsible for the bug fixed in r236853

svn commit: r236913 - head/sys/kern

2012-06-11 Thread Pawel Jakub Dawidek
Author: pjd Date: Mon Jun 11 19:57:31 2012 New Revision: 236913 URL: http://svn.freebsd.org/changeset/base/236913 Log: Introduce closefp() function that we will be able to use to eliminate code duplication in kern_close() and do_dup(). This is committed separately from the actual removal

svn commit: r236912 - head/sys/kern

2012-06-11 Thread Pawel Jakub Dawidek
Author: pjd Date: Mon Jun 11 19:53:41 2012 New Revision: 236912 URL: http://svn.freebsd.org/changeset/base/236912 Log: Merge two ifs into one to make the code almost identical to the code in kern_close(). Discussed with: kib Tested by:pho MFC after:1 month Modified: h

svn commit: r236911 - head/sys/kern

2012-06-11 Thread Pawel Jakub Dawidek
Author: pjd Date: Mon Jun 11 19:51:27 2012 New Revision: 236911 URL: http://svn.freebsd.org/changeset/base/236911 Log: Move the code around a bit to move two parts of code duplicated from kern_close() close together. Discussed with: kib Tested by:pho MFC after:1 month M

svn commit: r236910 - head/sys/kern

2012-06-11 Thread Pawel Jakub Dawidek
Author: pjd Date: Mon Jun 11 19:48:55 2012 New Revision: 236910 URL: http://svn.freebsd.org/changeset/base/236910 Log: Now that fdgrowtable() doesn't drop the filedesc lock we don't need to check if descriptor changed from under us. Replace the check with an assert. Discussed with:

Re: svn commit: r236908 - stable/8/gnu/usr.bin/man/man

2012-06-11 Thread Sergey Kandaurov
On 11 June 2012 23:14, Isabell Long wrote: > On Mon, Jun 11, 2012 at 8:09 PM, Isabell Long wrote: >>  PR:           docs/158973 >>  Merge help:   bz >>  Approved by:  gabor (mentor) > > Sorry, in this and my previous commit messages, I can never seem to > get the indentation right!  This time, I

svn commit: r236909 - head/sbin/hastd

2012-06-11 Thread Hans Petter Selasky
Author: hselasky Date: Mon Jun 11 19:20:59 2012 New Revision: 236909 URL: http://svn.freebsd.org/changeset/base/236909 Log: Use the correct clock source when computing timeouts. MFC after:1 week Modified: head/sbin/hastd/synch.h Modified: head/sbin/hastd/synch.h

Re: svn commit: r236908 - stable/8/gnu/usr.bin/man/man

2012-06-11 Thread Isabell Long
On Mon, Jun 11, 2012 at 8:09 PM, Isabell Long wrote: >  PR:           docs/158973 >  Merge help:   bz >  Approved by:  gabor (mentor) Sorry, in this and my previous commit messages, I can never seem to get the indentation right! This time, I explicitly set vi's tab length to 8 characters, and it

svn commit: r236908 - stable/8/gnu/usr.bin/man/man

2012-06-11 Thread Isabell Long
Author: issyl0 (doc committer) Date: Mon Jun 11 19:09:55 2012 New Revision: 236908 URL: http://svn.freebsd.org/changeset/base/236908 Log: Partial merge of r213507 from head: In r178993, the ability to view a man page by giving a path to the man page itself was added, but never documented.

svn commit: r236907 - stable/7/gnu/usr.bin/man/man

2012-06-11 Thread Isabell Long
Author: issyl0 (doc committer) Date: Mon Jun 11 19:05:10 2012 New Revision: 236907 URL: http://svn.freebsd.org/changeset/base/236907 Log: Partial merge of r213507 from head: In r178993, the ability to view a man page by giving a path to the man page itself was added, but never documented.

svn commit: r236906 - head/sys/kern

2012-06-11 Thread Mitsuru IWASAKI
Author: iwasaki Date: Mon Jun 11 18:47:26 2012 New Revision: 236906 URL: http://svn.freebsd.org/changeset/base/236906 Log: Another fixe for r236772. - Adjust correct cpuset (stopped_cpus/suspended_cpus) for cpu_spinwait() in generic_stop_cpus(). Modified: head/sys/kern/subr_smp.c Mo

svn commit: r236904 - stable/8/sbin/mount

2012-06-11 Thread Jaakko Heinonen
Author: jh Date: Mon Jun 11 18:22:04 2012 New Revision: 236904 URL: http://svn.freebsd.org/changeset/base/236904 Log: MFC r230377: Don't print the nmount(2) provided error message if it is empty. Modified: stable/8/sbin/mount/mount_fs.c Directory Properties: stable/8/sbin/mount/ (pro

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

2012-06-11 Thread Mateusz Guzik
Author: mjg Date: Mon Jun 11 18:10:12 2012 New Revision: 236903 URL: http://svn.freebsd.org/changeset/base/236903 Log: MFC r236738: Plug socket refcount leak on error in sys_sctp_peeloff. Modified: stable/8/sys/kern/uipc_syscalls.c Directory Properties: stable/8/sys/ (props change

svn commit: r236901 - stable/8/sbin/mount

2012-06-11 Thread Jaakko Heinonen
Author: jh Date: Mon Jun 11 18:02:30 2012 New Revision: 236901 URL: http://svn.freebsd.org/changeset/base/236901 Log: MFC r230373: Change mount_fs() to not exit on error. The "failok" mount option requires that errors are passed to the caller. PR: 163668 Modified: stable

svn commit: r236900 - stable/9/sys/kern

2012-06-11 Thread Mateusz Guzik
Author: mjg Date: Mon Jun 11 17:54:40 2012 New Revision: 236900 URL: http://svn.freebsd.org/changeset/base/236900 Log: MFC r236738: Plug socket refcount leak on error in sys_sctp_peeloff. Modified: stable/9/sys/kern/uipc_syscalls.c Directory Properties: stable/9/sys/ (props change

svn commit: r236899 - head/sys/libkern

2012-06-11 Thread Mateusz Guzik
Author: mjg Date: Mon Jun 11 17:42:39 2012 New Revision: 236899 URL: http://svn.freebsd.org/changeset/base/236899 Log: Fix unloading of libiconv module. Previously it would either loop infinitely or exit with error leaking a lock. Reported by: Will DeVries Approved by: trasz (mento

svn commit: r236898 - stable/9/sys/dev/usb

2012-06-11 Thread Hans Petter Selasky
Author: hselasky Date: Mon Jun 11 17:27:53 2012 New Revision: 236898 URL: http://svn.freebsd.org/changeset/base/236898 Log: MFC r233771: Add definitions and structures for USB 2.0 Link Power Management, LPM. Modified: stable/9/sys/dev/usb/usb.h stable/9/sys/dev/usb/usb_request.c stable/

svn commit: r236897 - stable/9/sys/dev/usb/wlan

2012-06-11 Thread Hans Petter Selasky
Author: hselasky Date: Mon Jun 11 17:23:24 2012 New Revision: 236897 URL: http://svn.freebsd.org/changeset/base/236897 Log: MFC r236439: Add appropriate checks for ic_bsschan being set to IEEE80211_CHAN_ANYC in some of the USB WLAN drivers. This fixes a panic when using monitor mode. Modifi

svn commit: r236896 - stable/8/sys/dev/usb

2012-06-11 Thread Hans Petter Selasky
Author: hselasky Date: Mon Jun 11 17:22:27 2012 New Revision: 236896 URL: http://svn.freebsd.org/changeset/base/236896 Log: MFC r236407: Improve support for detaching kernel drivers on a per interface basis. Modified: stable/8/sys/dev/usb/usb_device.c stable/8/sys/dev/usb/usb_generic.c Di

svn commit: r236895 - stable/9/sys/dev/usb

2012-06-11 Thread Hans Petter Selasky
Author: hselasky Date: Mon Jun 11 17:18:31 2012 New Revision: 236895 URL: http://svn.freebsd.org/changeset/base/236895 Log: MFC r236407: Improve support for detaching kernel drivers on a per interface basis. Modified: stable/9/sys/dev/usb/usb_device.c stable/9/sys/dev/usb/usb_generic.c Di

Re: svn commit: r236439 - head/sys/dev/usb/wlan

2012-06-11 Thread Hans Petter Selasky
On Monday 11 June 2012 06:39:49 Adrian Chadd wrote: > On 2 June 2012 02:10, Hans Petter Selasky wrote: > > Author: hselasky > > Date: Sat Jun 2 09:10:51 2012 > > New Revision: 236439 > > URL: http://svn.freebsd.org/changeset/base/236439 > > > > Log: > > Add appropriate checks for ic_bsschan bei

svn commit: r236892 - in head: bin/rcp libexec/rshd usr.bin/login usr.bin/passwd usr.bin/rlogin usr.bin/rsh

2012-06-11 Thread Dag-Erling Smorgrav
Author: des Date: Mon Jun 11 16:18:39 2012 New Revision: 236892 URL: http://svn.freebsd.org/changeset/base/236892 Log: None of these programs actually use auth.conf. MFC after:1 week Modified: head/bin/rcp/rcp.1 head/libexec/rshd/rshd.8 head/usr.bin/login/login.1 head/usr.bin/p

svn commit: r236891 - head/sys/kern

2012-06-11 Thread Pawel Jakub Dawidek
Author: pjd Date: Mon Jun 11 16:08:03 2012 New Revision: 236891 URL: http://svn.freebsd.org/changeset/base/236891 Log: Style fixes and simplifications. MFC after:1 month Modified: head/sys/kern/uipc_syscalls.c head/sys/kern/vfs_syscalls.c Modified: head/sys/kern/uipc_syscalls.c ==

svn commit: r236890 - in head: gnu/lib/libsupc++ lib/libcxxrt

2012-06-11 Thread David Chisnall
Author: theraven Date: Mon Jun 11 15:40:57 2012 New Revision: 236890 URL: http://svn.freebsd.org/changeset/base/236890 Log: Clean up some symbol versions for libsupc++ / libcxxrt. MFC after:1 week Reviewed by: kan Modified: head/gnu/lib/libsupc++/Version.map head/lib/libcxxrt/Ve

svn commit: r236889 - head/lib/libc/locale

2012-06-11 Thread David Chisnall
Author: theraven Date: Mon Jun 11 14:02:02 2012 New Revision: 236889 URL: http://svn.freebsd.org/changeset/base/236889 Log: Fix a leak when setting the global character locale to "C" from something else. Reported by: mm Modified: head/lib/libc/locale/setrunelocale.c Modified: head/lib

svn commit: r236888 - stable/8/sys/fs/nfsserver

2012-06-11 Thread Rick Macklem
Author: rmacklem Date: Mon Jun 11 13:17:45 2012 New Revision: 236888 URL: http://svn.freebsd.org/changeset/base/236888 Log: MFC: r235381 Fix two cases in the new NFS server where a tsleep() is used, when the code should actually protect the tested variable with a mutex. Since the tsleep()s

svn commit: r236887 - stable/9/sys/fs/nfsserver

2012-06-11 Thread Rick Macklem
Author: rmacklem Date: Mon Jun 11 12:34:14 2012 New Revision: 236887 URL: http://svn.freebsd.org/changeset/base/236887 Log: MFC: r235381 Fix two cases in the new NFS server where a tsleep() is used, when the code should actually protect the tested variable with a mutex. Since the tsleep()s

svn commit: r236886 - head/sys/dev/ath

2012-06-11 Thread Adrian Chadd
Author: adrian Date: Mon Jun 11 12:26:23 2012 New Revision: 236886 URL: http://svn.freebsd.org/changeset/base/236886 Log: Fix uninitialised reference. Noticed by: John Hay Modified: head/sys/dev/ath/if_ath_tx.c Modified: head/sys/dev/ath/if_ath_tx.c ==

svn commit: r236885 - stable/9/lib/libc/stdlib

2012-06-11 Thread Andrey A. Chernov
Author: ache Date: Mon Jun 11 11:59:29 2012 New Revision: 236885 URL: http://svn.freebsd.org/changeset/base/236885 Log: MFC 236582,236618 - remove unused serrno variable Modified: stable/9/lib/libc/stdlib/realpath.c (contents, props changed) Modified: stable/9/lib/libc/stdlib/realpath.c ==

svn commit: r236884 - in head: . cddl/contrib/opensolaris/cmd/zdb cddl/contrib/opensolaris/cmd/zhack cddl/contrib/opensolaris/cmd/zpool cddl/contrib/opensolaris/cmd/ztest cddl/contrib/opensolaris/l...

2012-06-11 Thread Martin Matuska
disable the most expensive debugging functionality run "ln -s 'abort:false,junk:false' /etc/malloc.conf".) +20120611: + A new version of ZFS (pool version 5000) has been merged to -HEAD. + Starting with this version the old system of ZFS pool versioning

svn commit: r236880 - head/sys/dev/ath

2012-06-11 Thread Adrian Chadd
Author: adrian Date: Mon Jun 11 07:44:16 2012 New Revision: 236880 URL: http://svn.freebsd.org/changeset/base/236880 Log: Wrap the whole (software) TX path from ifnet dequeue to software queue (or direct dispatch) behind the TXQ lock (which, remember, is doubling as the TID lock too for now.

svn commit: r236879 - head/sys/dev/ath

2012-06-11 Thread Adrian Chadd
Author: adrian Date: Mon Jun 11 07:35:24 2012 New Revision: 236879 URL: http://svn.freebsd.org/changeset/base/236879 Log: Add another TID lock. Modified: head/sys/dev/ath/if_ath_tx.c Modified: head/sys/dev/ath/if_ath_tx.c ==

svn commit: r236878 - head/sys/dev/ath

2012-06-11 Thread Adrian Chadd
Author: adrian Date: Mon Jun 11 07:31:50 2012 New Revision: 236878 URL: http://svn.freebsd.org/changeset/base/236878 Log: Make sure the frames are queued to the head of the list, not the tail. See previous commit. PR: kern/166190 Modified: head/sys/dev/ath/if_ath_tx.c Modifi

svn commit: r236877 - head/sys/dev/ath

2012-06-11 Thread Adrian Chadd
Author: adrian Date: Mon Jun 11 07:29:25 2012 New Revision: 236877 URL: http://svn.freebsd.org/changeset/base/236877 Log: When scheduling frames in an aggregate session, the frames should be scheduled from the head of the software queue rather than trying to queue the newly given frame.

svn commit: r236876 - head/sys/dev/ath

2012-06-11 Thread Adrian Chadd
Author: adrian Date: Mon Jun 11 07:15:48 2012 New Revision: 236876 URL: http://svn.freebsd.org/changeset/base/236876 Log: Retried frames need to be inserted in the head of the list, not the tail. This is an unfortunate byproduct of how the routine is used - it's called with the head frame

svn commit: r236875 - in stable: 7/usr.sbin/inetd 8/usr.sbin/inetd 9/usr.sbin/inetd

2012-06-11 Thread Xin LI
Author: delphij Date: Mon Jun 11 07:11:34 2012 New Revision: 236875 URL: http://svn.freebsd.org/changeset/base/236875 Log: MFC r236572: Replace the use of wall clock time with monotonically increasing clock. In general, gettimeofday() is not appropriate interface when accounting for el

svn commit: r236875 - in stable: 7/usr.sbin/inetd 8/usr.sbin/inetd 9/usr.sbin/inetd

2012-06-11 Thread Xin LI
Author: delphij Date: Mon Jun 11 07:11:34 2012 New Revision: 236875 URL: http://svn.freebsd.org/changeset/base/236875 Log: MFC r236572: Replace the use of wall clock time with monotonically increasing clock. In general, gettimeofday() is not appropriate interface when accounting for el

svn commit: r236875 - in stable: 7/usr.sbin/inetd 8/usr.sbin/inetd 9/usr.sbin/inetd

2012-06-11 Thread Xin LI
Author: delphij Date: Mon Jun 11 07:11:34 2012 New Revision: 236875 URL: http://svn.freebsd.org/changeset/base/236875 Log: MFC r236572: Replace the use of wall clock time with monotonically increasing clock. In general, gettimeofday() is not appropriate interface when accounting for el

svn commit: r236874 - head/sys/dev/ath

2012-06-11 Thread Adrian Chadd
Author: adrian Date: Mon Jun 11 07:08:40 2012 New Revision: 236874 URL: http://svn.freebsd.org/changeset/base/236874 Log: Finish undoing the previous commit - this part of the code is no longer required. PR: kern/166190 Modified: head/sys/dev/ath/if_ath_tx.c Modified: head/s

svn commit: r236873 - head/sys/dev/ath

2012-06-11 Thread Adrian Chadd
Author: adrian Date: Mon Jun 11 07:06:49 2012 New Revision: 236873 URL: http://svn.freebsd.org/changeset/base/236873 Log: Introduce a new lock debug which is specifically for making sure the _TID_ lock is held. For now the TID lock is also the TXQ lock. This is just to make sure that th

svn commit: r236872 - head/sys/dev/ath

2012-06-11 Thread Adrian Chadd
Author: adrian Date: Mon Jun 11 06:59:28 2012 New Revision: 236872 URL: http://svn.freebsd.org/changeset/base/236872 Log: Revert r233227 and followup commits as it breaks CCMP PN replay detection. This showed up when doing heavy UDP throughput on SMP machines. The problem with this is