svn commit: r234482 - in head/sys: fs/msdosfs fs/nfsserver kern sys

2012-04-20 Thread Kirk McKusick
Author: mckusick Date: Fri Apr 20 06:50:44 2012 New Revision: 234482 URL: http://svn.freebsd.org/changeset/base/234482 Log: This change creates a new list of active vnodes associated with a mount point. Active vnodes are those with a non-zero use or hold count, e.g., those vnodes that are

svn commit: r234485 - head/sys/mips/atheros

2012-04-20 Thread Adrian Chadd
Author: adrian Date: Fri Apr 20 08:26:05 2012 New Revision: 234485 URL: http://svn.freebsd.org/changeset/base/234485 Log: Introduce the matching PCI ath(4) fixup code from ar71xx_pci into ar724x_pci.c. * Move out the code which populates the firmware into ar71xx_fixup.c * Shuffle

Re: svn commit: r233937 - in head/sys: kern net security/mac

2012-04-20 Thread Alexander V. Chernikov
On 17.04.2012 01:29, Adrian Chadd wrote: On 15 April 2012 23:33, Alexander V. Chernikovmelif...@freebsd.org wrote: On 16.04.2012 01:17, Adrian Chadd wrote: Hi, This has broken (at least) net80211 and bpf, with LOR: Yes, it is. Please try the attached patch Hi, Hello! Sorry for the late

svn commit: r234487 - head/sys/net

2012-04-20 Thread Andrew Thompson
Author: thompsa Date: Fri Apr 20 09:55:50 2012 New Revision: 234487 URL: http://svn.freebsd.org/changeset/base/234487 Log: Add linkstate to bridge(4), set the link to up when at least one underlying interface is up, otherwise the link is down. This, among other things, allows carp to

svn commit: r234488 - head/sys/net

2012-04-20 Thread Andrew Thompson
Author: thompsa Date: Fri Apr 20 10:06:28 2012 New Revision: 234488 URL: http://svn.freebsd.org/changeset/base/234488 Log: Move the interface media check to a taskqueue, some interfaces (usb) sleep during SIOCGIFMEDIA and we were holding locks. Modified: head/sys/net/bridgestp.c

svn commit: r234489 - head/sys/kern

2012-04-20 Thread Jaakko Heinonen
Author: jh Date: Fri Apr 20 10:08:30 2012 New Revision: 234489 URL: http://svn.freebsd.org/changeset/base/234489 Log: The value of flags matching VNOVAL can't be supported. Return EOPNOTSUPP from setfflags() in this case. This fixes the return value of chflags(path, -1). Discussed

Re: svn commit: r234370 - in head: contrib/jemalloc contrib/jemalloc/doc contrib/jemalloc/include contrib/jemalloc/include/jemalloc contrib/jemalloc/include/jemalloc/internal contrib/jemalloc/src incl

2012-04-20 Thread Dimitry Andric
On 2012-04-20 00:23, Jason Evans wrote: ... With /etc/make.conf as: CFLAGS+=-g STRIP= CC=clang CXX=clang++ CPP=clang-cpp I got this buildworld failure: --- clang -O2 -pipe -g -I/usr/src/lib/csu/amd64/../common

svn commit: r234490 - in stable/9/sys: i386/conf kern sparc64/sparc64

2012-04-20 Thread Marius Strobl
Author: marius Date: Fri Apr 20 13:47:22 2012 New Revision: 234490 URL: http://svn.freebsd.org/changeset/base/234490 Log: MFC: r234247 Merge from x86: r233961: Fix interrupt load balancing regression, introduced in revision 222813, that left all un-pinned interrupts assigned to

svn commit: r234491 - head/lib/libusb

2012-04-20 Thread Hans Petter Selasky
Author: hselasky Date: Fri Apr 20 14:29:45 2012 New Revision: 234491 URL: http://svn.freebsd.org/changeset/base/234491 Log: Fix some compile warnings. MFC after:1 week Modified: head/lib/libusb/libusb10.c head/lib/libusb/libusb10_desc.c head/lib/libusb/libusb10_io.c

svn commit: r234492 - in stable/8/sys: dev/mmc dev/sdhci i386/conf

2012-04-20 Thread Marius Strobl
Author: marius Date: Fri Apr 20 14:45:57 2012 New Revision: 234492 URL: http://svn.freebsd.org/changeset/base/234492 Log: MFC: r222475 Fix read_ivar implementation for MMC and SD. 1. Both mmc_read_ivar() and sdhci_read_ivar() use the expression '*(int *)result = val' to assign to

svn commit: r234494 - in head: sys/kern sys/sys usr.bin/kdump

2012-04-20 Thread John Baldwin
Author: jhb Date: Fri Apr 20 15:32:36 2012 New Revision: 234494 URL: http://svn.freebsd.org/changeset/base/234494 Log: Include the associated wait channel message for context switch ktrace records. kdump supports both the old and new messages. Submitted by: Andrey Zonov andrey zonov

svn commit: r234495 - in stable/7/sys/dev: mmc sdhci

2012-04-20 Thread Marius Strobl
Author: marius Date: Fri Apr 20 15:56:51 2012 New Revision: 234495 URL: http://svn.freebsd.org/changeset/base/234495 Log: MFC: r222475 Fix read_ivar implementation for MMC and SD. 1. Both mmc_read_ivar() and sdhci_read_ivar() use the expression '*(int *)result = val' to assign to

svn commit: r234496 - stable/8/cddl/contrib/opensolaris/lib/libdtrace/common

2012-04-20 Thread George V. Neville-Neil
Author: gnn Date: Fri Apr 20 16:09:28 2012 New Revision: 234496 URL: http://svn.freebsd.org/changeset/base/234496 Log: MFC: 234234 Change SIGUSR1 to SIGTHR to properly wake up a process that is being traced. The use of SIGUSR1 caused traced processes (those attached to with dtrace -p)

svn commit: r234497 - stable/9/cddl/contrib/opensolaris/lib/libdtrace/common

2012-04-20 Thread George V. Neville-Neil
Author: gnn Date: Fri Apr 20 16:20:16 2012 New Revision: 234497 URL: http://svn.freebsd.org/changeset/base/234497 Log: MFC: 234234 Change SIGUSR1 to SIGTHR to properly wake up a process that is being traced. The use of SIGUSR1 caused traced processes (those attached to with dtrace -p)

svn commit: r234501 - head/sys/dev/amr

2012-04-20 Thread John Baldwin
Author: jhb Date: Fri Apr 20 20:27:31 2012 New Revision: 234501 URL: http://svn.freebsd.org/changeset/base/234501 Log: The amr(4) firmware contains a rather dubious feature where it assumes for small buffers ( 64k) that the OS driver is actually using a buffer rounded up to the next power

svn commit: r234502 - in head/lib/csu: amd64 arm i386-elf ia64 mips powerpc powerpc64

2012-04-20 Thread Dimitry Andric
Author: dim Date: Fri Apr 20 21:00:39 2012 New Revision: 234502 URL: http://svn.freebsd.org/changeset/base/234502 Log: After r217375, some startup objects under lib/csu are built in a special way: first they are compiled to assembly, then some sed'ing is done on the assembly, and lastly the

svn commit: r234503 - head/sys/dev/asr

2012-04-20 Thread Dimitry Andric
Author: dim Date: Fri Apr 20 21:17:33 2012 New Revision: 234503 URL: http://svn.freebsd.org/changeset/base/234503 Log: Replace homegrown list implementation in sys/dev/asr/asr.c with STAILQ(). While here, fix another clang warning about a switch which tests an enum type for a regular

svn commit: r234504 - in head/sys: amd64/conf i386/conf

2012-04-20 Thread Brooks Davis
Author: brooks Date: Fri Apr 20 21:37:42 2012 New Revision: 234504 URL: http://svn.freebsd.org/changeset/base/234504 Log: Enable DTrace hooks in GENERIC. Reviewed by: gnn Approved by: core (jhb, imp) Requested by: a cast of thousands MFC after:3 days Modified:

svn commit: r234505 - in stable/9/sys: conf kern

2012-04-20 Thread Davide Italiano
Author: davide Date: Fri Apr 20 21:40:31 2012 New Revision: 234505 URL: http://svn.freebsd.org/changeset/base/234505 Log: MFC: r233045, r234302 r233045: Add rudimentary profiling of the hash table used in the umtx code to hold active lock queues. r234302: Fix some style bugs

svn commit: r234506 - head/sys/dev/nxge

2012-04-20 Thread Dimitry Andric
Author: dim Date: Fri Apr 20 21:43:19 2012 New Revision: 234506 URL: http://svn.freebsd.org/changeset/base/234506 Log: Fix the following compilation warnings in nxge(4): sys/dev/nxge/if_nxge.c:1276:11: error: case value not in enumerated type 'xge_hal_event_e' (aka 'enum

svn commit: r234507 - head/sys/contrib/rdma

2012-04-20 Thread Dimitry Andric
Author: dim Date: Fri Apr 20 21:52:57 2012 New Revision: 234507 URL: http://svn.freebsd.org/changeset/base/234507 Log: Fix the following compilation warnings in sys/contrib/rdma/rdma_cma.c: sys/contrib/rdma/rdma_cma.c:1259:8: error: case value not in enumerated type 'enum

svn commit: r234508 - in head/sys/dev/ath/ath_hal: . ar9002

2012-04-20 Thread Adrian Chadd
Author: adrian Date: Fri Apr 20 21:56:13 2012 New Revision: 234508 URL: http://svn.freebsd.org/changeset/base/234508 Log: Upgrade the AR9285 code to support PCI/ART EEPROM on flash. I've just verified that this boots on an Atheros AP91. I haven't verified it with traffic though, so YMMV.

svn commit: r234509 - in stable/8/sys: conf kern

2012-04-20 Thread Davide Italiano
Author: davide Date: Fri Apr 20 22:01:12 2012 New Revision: 234509 URL: http://svn.freebsd.org/changeset/base/234509 Log: MFC: r233045, r234302 r233045: Add rudimentary profiling of the hash table used in the umtx code to hold active lock queues. r234302: Fix some style bugs

svn commit: r234510 - head/sys/dev/ath/ath_hal/ar9002

2012-04-20 Thread Adrian Chadd
Author: adrian Date: Fri Apr 20 22:07:21 2012 New Revision: 234510 URL: http://svn.freebsd.org/changeset/base/234510 Log: .. oops. Modified: head/sys/dev/ath/ath_hal/ar9002/ar9280_attach.c Modified: head/sys/dev/ath/ath_hal/ar9002/ar9280_attach.c

svn commit: r234511 - in stable/9/sys: fs/tmpfs i386/conf kern

2012-04-20 Thread Robert Millan
Author: rmh Date: Fri Apr 20 22:14:26 2012 New Revision: 234511 URL: http://svn.freebsd.org/changeset/base/234511 Log: MFC of r227310: Don astbestos garment and remove the warning about TMPFS being experimental -- highly experimental even. So far the closest to a bug in TMPFS that people

svn commit: r234512 - in stable/8/sys: fs/tmpfs i386/conf

2012-04-20 Thread Robert Millan
Author: rmh Date: Fri Apr 20 22:16:08 2012 New Revision: 234512 URL: http://svn.freebsd.org/changeset/base/234512 Log: MFC of r227310: Don astbestos garment and remove the warning about TMPFS being experimental -- highly experimental even. So far the closest to a bug in TMPFS that people

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

2012-04-20 Thread Xin LI
Author: delphij Date: Fri Apr 20 22:27:10 2012 New Revision: 234513 URL: http://svn.freebsd.org/changeset/base/234513 Log: MFC r227802: Improve the way to calculate available pages in tmpfs: - Don't deduct wired pages from total usable counts because it does not make any sense.

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

2012-04-20 Thread Davide Italiano
Author: davide Date: Fri Apr 20 22:43:04 2012 New Revision: 234514 URL: http://svn.freebsd.org/changeset/base/234514 Log: MFC: r234303 Fix a typo. Approved by: gnn (mentor) Modified: stable/9/sys/kern/subr_turnstile.c Directory Properties: stable/9/sys/ (props changed)

svn commit: r234515 - head/sys/mips/atheros

2012-04-20 Thread Adrian Chadd
Author: adrian Date: Fri Apr 20 22:44:00 2012 New Revision: 234515 URL: http://svn.freebsd.org/changeset/base/234515 Log: Allow for a default GPIO pin high, which is required for some boards which tie the USB device enable to a GPIO line. Submitted by: Stefan Bethke s...@lassitu.de

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

2012-04-20 Thread Davide Italiano
Author: davide Date: Fri Apr 20 23:00:37 2012 New Revision: 234516 URL: http://svn.freebsd.org/changeset/base/234516 Log: MFC: r234303 Fix a typo. Approved by: gnn (mentor) Modified: stable/8/sys/kern/subr_turnstile.c Directory Properties: stable/8/sys/ (props changed)

svn commit: r234517 - head/sys/powerpc/aim

2012-04-20 Thread Nathan Whitehorn
Author: nwhitehorn Date: Fri Apr 20 23:01:36 2012 New Revision: 234517 URL: http://svn.freebsd.org/changeset/base/234517 Log: Make sure all pending operations have completed on the existing thread before (potentially) migrating it to a different CPU. MFC after:5 days Modified:

svn commit: r234518 - in vendor-sys/acpica/dist: . generate/unix/iasl source/compiler source/components/debugger source/components/events source/components/executer source/components/hardware sourc...

2012-04-20 Thread Jung-uk Kim
Author: jkim Date: Fri Apr 20 23:39:48 2012 New Revision: 234518 URL: http://svn.freebsd.org/changeset/base/234518 Log: Import ACPICA 20120420. Added: vendor-sys/acpica/dist/source/compiler/aslsupport.l Modified: vendor-sys/acpica/dist/changes.txt vendor-sys/acpica/dist/generate/unix

svn commit: r234519 - vendor-sys/acpica/20120420

2012-04-20 Thread Jung-uk Kim
Author: jkim Date: Fri Apr 20 23:40:43 2012 New Revision: 234519 URL: http://svn.freebsd.org/changeset/base/234519 Log: Tag ACPICA 20120420. Added: vendor-sys/acpica/20120420/ - copied from r234518, vendor-sys/acpica/dist/ ___ svn-src-all

svn commit: r234520 - in stable/9: lib/libc/powerpc/gen lib/libc/powerpc64/gen sys/powerpc/powerpc

2012-04-20 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sat Apr 21 00:26:03 2012 New Revision: 234520 URL: http://svn.freebsd.org/changeset/base/234520 Log: MFC r234115: Do not restore the register holding the TLS pointer when doing various usermode context switches (long jumps and ucontext operations). If these are

svn commit: r234521 - stable/7/sys/dev/mmc

2012-04-20 Thread Marius Strobl
Author: marius Date: Sat Apr 21 00:28:29 2012 New Revision: 234521 URL: http://svn.freebsd.org/changeset/base/234521 Log: MFC: r189727 read_ivar takes a uintptr_t * not a u_char *. Modified: stable/7/sys/dev/mmc/mmc.c Directory Properties: stable/7/sys/ (props changed)

svn commit: r234524 - in head/sys: dev/mmc modules/mmcsd

2012-04-20 Thread Marius Strobl
Author: marius Date: Sat Apr 21 01:51:16 2012 New Revision: 234524 URL: http://svn.freebsd.org/changeset/base/234524 Log: o Fixes: - When switching to 4-bit operation, send a SET_CLR_CARD_DETECT command to disconnect the card-detect pull-up resistor from the DAT3 line before

svn commit: r234525 - head/sys/mips/mips

2012-04-20 Thread Adrian Chadd
Author: adrian Date: Sat Apr 21 04:17:30 2012 New Revision: 234525 URL: http://svn.freebsd.org/changeset/base/234525 Log: Allow for MIPS devices to have a specific probe/attach order. The default priority is now '1000' rather than '0'. This may cause some unforseen regressions.