svn commit: r233769 - stable/9/sys/fs/tmpfs

2012-04-02 Thread Xin LI
Author: delphij Date: Mon Apr 2 07:18:31 2012 New Revision: 233769 URL: http://svn.freebsd.org/changeset/base/233769 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: r233770 - head/lib/libc/net

2012-04-02 Thread Xin LI
Author: delphij Date: Mon Apr 2 07:42:17 2012 New Revision: 233770 URL: http://svn.freebsd.org/changeset/base/233770 Log: Eliminate two cases of unwanted strncpy(). The name is not required by the current code, and the results would get overwritten anyway by subsequent memset(). Revie

svn commit: r233771 - head/sys/dev/usb

2012-04-02 Thread Hans Petter Selasky
Author: hselasky Date: Mon Apr 2 07:51:30 2012 New Revision: 233771 URL: http://svn.freebsd.org/changeset/base/233771 Log: Add definitions and structures for USB 2.0 Link Power Management, LPM. MFC after:2 weeks Modified: head/sys/dev/usb/usb.h head/sys/dev/usb/usb_request.c hea

Re: svn commit: r233749 - in head/gnu/lib: libstdc++ libsupc++

2012-04-02 Thread David Chisnall
On 2 Apr 2012, at 02:03, Alexander Kabaev wrote: > there are reports of this commit breaking complex C++ binaries such as > build as part of KDE4. This is being looked at. Do you have any more information about what is broken? (Run-time failures, linker failures?) David_

Re: svn commit: r233768 - head/sys/dev/mfi

2012-04-02 Thread Garrett Cooper
On Sun, Apr 1, 2012 at 7:22 PM, Doug Ambrisko wrote: > Author: ambrisko > Date: Mon Apr  2 02:22:22 2012 > New Revision: 233768 > URL: http://svn.freebsd.org/changeset/base/233768 > > Log: >  Change typedef atomic_t to struct mfi_atomic to avoid name space >  collision and some couple more style c

svn commit: r233772 - stable/9/etc

2012-04-02 Thread Ivan Voras
Author: ivoras Date: Mon Apr 2 10:24:50 2012 New Revision: 233772 URL: http://svn.freebsd.org/changeset/base/233772 Log: Merge r233506: MySQL port 3306 in /etc/services Modified: stable/9/etc/services Directory Properties: stable/9/etc/ (props changed) Modified: stable/9/etc/services ==

svn commit: r233773 - head/usr.sbin/arp

2012-04-02 Thread Gleb Smirnoff
Author: glebius Date: Mon Apr 2 10:44:25 2012 New Revision: 233773 URL: http://svn.freebsd.org/changeset/base/233773 Log: Historically arp(8) did a route lookup for the entry it is about to add, and failed if it exist and had invalid data link type. Later on, in r201282, this check mor

svn commit: r233774 - in head/sys: dev/sound/usb dev/usb dev/usb/controller dev/usb/input dev/usb/misc dev/usb/net dev/usb/serial dev/usb/storage dev/usb/template dev/usb/wlan netgraph/bluetooth/dr...

2012-04-02 Thread Hans Petter Selasky
Author: hselasky Date: Mon Apr 2 10:50:42 2012 New Revision: 233774 URL: http://svn.freebsd.org/changeset/base/233774 Log: Fix compiler warnings, mostly signed issues, when USB modules are compiled with WARNS=9. MFC after:1 weeks Modified: head/sys/dev/sound/usb/uaudio.c head/sy

svn commit: r233775 - in stable/9/sys: amd64/amd64 i386/i386

2012-04-02 Thread Konstantin Belousov
Author: kib Date: Mon Apr 2 11:27:20 2012 New Revision: 233775 URL: http://svn.freebsd.org/changeset/base/233775 Log: MFC r233168: If we ever allow for managed fictitious pages, the pages shall be excluded from superpage promotions. At least one of the reason is that pv_table is sized fo

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

2012-04-02 Thread Jayachandran C.
Author: jchandra Date: Mon Apr 2 11:41:33 2012 New Revision: 233776 URL: http://svn.freebsd.org/changeset/base/233776 Log: Reinstate the XTLB handler for CPU_NLM and CPU_RMI These platforms set the KX bit even when booted in 32 bit mode. So the XLTB handler is needed even when __mips_n64

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

2012-04-02 Thread Alexander Kabaev
Author: kan Date: Mon Apr 2 11:50:14 2012 New Revision: 233777 URL: http://svn.freebsd.org/changeset/base/233777 Log: Do not try to adjust stacks if dlopen_object is called too early. This is a follow-up to r233231, which fixed similar issue with object initialization code. Reviewed

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

2012-04-02 Thread Alexander Kabaev
Author: kan Date: Mon Apr 2 11:59:13 2012 New Revision: 233778 URL: http://svn.freebsd.org/changeset/base/233778 Log: Remove extra blank line from revious commit. Submitted by: trema Modified: head/libexec/rtld-elf/rtld.c Modified: head/libexec/rtld-elf/rtld.c =

svn commit: r233779 - stable/9/sys/powerpc/conf

2012-04-02 Thread Nathan Whitehorn
Author: nwhitehorn Date: Mon Apr 2 12:00:35 2012 New Revision: 233779 URL: http://svn.freebsd.org/changeset/base/233779 Log: Turn off WITNESS, etc. for GENERIC64. This was missed in the stable/9 branch in r226405. Modified: stable/9/sys/powerpc/conf/GENERIC64 Modified: stable/9/sys/powerp

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

2012-04-02 Thread John Baldwin
On Sunday, April 01, 2012 8:05:00 am Mikolaj Golub wrote: > Hi, > > On 12/29/11, John Baldwin wrote: > > Author: jhb > > Date: Thu Dec 29 20:41:16 2011 > > New Revision: 228969 > > URL: http://svn.freebsd.org/changeset/base/228969 > > > > Log: > > Defer the work of freeing IPv4 multicast option

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

2012-04-02 Thread John Baldwin
On Friday, March 30, 2012 3:49:51 pm Dimitry Andric wrote: > On 2012-03-30 15:30, Stefan Farfeleder wrote: > > here are a few similar cases. > > Hm, what about this one that clang warns about: > >sys/dev/asr/asr.c:2420:57: warning: for loop has empty body [-Wempty- body] > for (ha = &

svn commit: r233780 - in stable/7/sys: amd64/amd64 amd64/conf conf

2012-04-02 Thread John Baldwin
Author: jhb Date: Mon Apr 2 14:52:28 2012 New Revision: 233780 URL: http://svn.freebsd.org/changeset/base/233780 Log: MFC 233256: Eliminate vm.pmap.shpgperproc and vm.pmap.pv_entry_max because they no longer serve any purpose. Modified: stable/7/sys/amd64/amd64/pmap.c stable/7/sys/amd6

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

2012-04-02 Thread John Baldwin
Author: jhb Date: Mon Apr 2 15:07:22 2012 New Revision: 233781 URL: http://svn.freebsd.org/changeset/base/233781 Log: Make machine check exception logging more readable. On newer Intel systems, an uncorrected ECC error tends to fire on all CPUs in a package simultaneously and the current p

Re: svn commit: r233768 - head/sys/dev/mfi

2012-04-02 Thread Doug Ambrisko
Garrett Cooper writes: | On Sun, Apr 1, 2012 at 7:22 PM, Doug Ambrisko wrote: | > Author: ambrisko | > Date: Mon Apr ?2 02:22:22 2012 | > New Revision: 233768 | > URL: http://svn.freebsd.org/changeset/base/233768 | > | > Log: | > Change typedef atomic_t to struct mfi_atomic to avoid name space | >

svn commit: r233783 - head/usr.sbin/makefs/cd9660

2012-04-02 Thread Andreas Tobler
Author: andreast Date: Mon Apr 2 16:26:32 2012 New Revision: 233783 URL: http://svn.freebsd.org/changeset/base/233783 Log: - Write the ISO9660 descriptor after the apm partition entries. - Fill the needed pmPartStatus flags. At least the OpenBIOS implementation relies on these flags.

svn commit: r233784 - stable/9/sys/dev/isci

2012-04-02 Thread Jim Harris
Author: jimharris Date: Mon Apr 2 16:30:13 2012 New Revision: 233784 URL: http://svn.freebsd.org/changeset/base/233784 Log: MFC r233622: Ensure consistent target IDs for direct-attached devices. Sponsored by: Intel Reported by: sbruno, Ravi Pokala Tested by: Ravi Pokala Approv

svn commit: r233785 - stable/8/sys/dev/isci

2012-04-02 Thread Jim Harris
Author: jimharris Date: Mon Apr 2 16:31:53 2012 New Revision: 233785 URL: http://svn.freebsd.org/changeset/base/233785 Log: MFC r233622: Ensure consistent target IDs for direct-attached devices. Sponsored by: Intel Reported by: sbruno, Ravi Pokala Tested by: Ravi Pokala Approv

svn commit: r233786 - stable/7/sys/dev/isci

2012-04-02 Thread Jim Harris
Author: jimharris Date: Mon Apr 2 16:33:07 2012 New Revision: 233786 URL: http://svn.freebsd.org/changeset/base/233786 Log: MFC r233622: Ensure consistent target IDs for direct-attached devices. Sponsored by: Intel Reported by: sbruno, Ravi Pokala Tested by: Ravi Pokala Approv

svn commit: r233787 - head/sys/ufs/ufs

2012-04-02 Thread Jaakko Heinonen
Author: jh Date: Mon Apr 2 16:33:21 2012 New Revision: 233787 URL: http://svn.freebsd.org/changeset/base/233787 Log: - Use more natural ip->i_flags instead of vap->va_flags in the final flags check. - Add a comment for the immutable/append check done after handling of the flags. - S

svn commit: r233788 - stable/9/sys/dev/isci/scil

2012-04-02 Thread Jim Harris
Author: jimharris Date: Mon Apr 2 16:35:42 2012 New Revision: 233788 URL: http://svn.freebsd.org/changeset/base/233788 Log: MFC r233663: Fix bug where isci(4) would report only 15 bytes of returned data on a READ_CAP_16 command to a SATA target. Sponsored by: Intel Approved by: sb

svn commit: r233789 - stable/8/sys/dev/isci/scil

2012-04-02 Thread Jim Harris
Author: jimharris Date: Mon Apr 2 16:36:44 2012 New Revision: 233789 URL: http://svn.freebsd.org/changeset/base/233789 Log: MFC r233663: Fix bug where isci(4) would report only 15 bytes of returned data on a READ_CAP_16 comnmand to a SATA target. Sponsored by: Intel Approved by: s

svn commit: r233790 - stable/7/sys/dev/isci/scil

2012-04-02 Thread Jim Harris
Author: jimharris Date: Mon Apr 2 16:37:46 2012 New Revision: 233790 URL: http://svn.freebsd.org/changeset/base/233790 Log: MFC r233663: Fix bug where isci(4) would report only 15 bytes of returned data on a READ_CAP_16 command to a SATA target. Sponsored by: Intel Approved by: sb

svn commit: r233791 - stable/8/sys/dev/xen/blkfront

2012-04-02 Thread Justin T. Gibbs
Author: gibbs Date: Mon Apr 2 16:50:48 2012 New Revision: 233791 URL: http://svn.freebsd.org/changeset/base/233791 Log: MFC Revision 233465 Correct failure to attach the PV block front device on Citrix XenServer configurations that advertise the multi-page ring extension, but only allo

svn commit: r233792 - head/bin/sh

2012-04-02 Thread Jilles Tjoelker
Author: jilles Date: Mon Apr 2 17:16:24 2012 New Revision: 233792 URL: http://svn.freebsd.org/changeset/base/233792 Log: sh: Fix build with -DDEBUG=2. Reported by: Kristof Provost MFC after:1 week Modified: head/bin/sh/jobs.c Modified: head/bin/sh/jobs.c

svn commit: r233793 - head/sys/x86/x86

2012-04-02 Thread John Baldwin
Author: jhb Date: Mon Apr 2 17:26:21 2012 New Revision: 233793 URL: http://svn.freebsd.org/changeset/base/233793 Log: Further tweak the changes made in r233709. The kernel doesn't permit sleeping from a swi handler (even though in this case it would be ok), so switch the refill and scannin

svn commit: r233794 - stable/9/sys/dev/atkbdc

2012-04-02 Thread Jung-uk Kim
Author: jkim Date: Mon Apr 2 17:33:46 2012 New Revision: 233794 URL: http://svn.freebsd.org/changeset/base/233794 Log: MFC: r233619 Add a PNP ID for Japanese 106-key keyboard. Modified: stable/9/sys/dev/atkbdc/atkbdc_isa.c Directory Properties: stable/9/sys/ (props changed) Modifi

svn commit: r233795 - stable/8/sys/dev/atkbdc

2012-04-02 Thread Jung-uk Kim
Author: jkim Date: Mon Apr 2 17:34:50 2012 New Revision: 233795 URL: http://svn.freebsd.org/changeset/base/233795 Log: MFC: r233619 Add a PNP ID for Japanese 106-key keyboard. Modified: stable/8/sys/dev/atkbdc/atkbdc_isa.c Directory Properties: stable/8/sys/ (props changed) Modifi

svn commit: r233796 - stable/7/sys/dev/atkbdc

2012-04-02 Thread Jung-uk Kim
Author: jkim Date: Mon Apr 2 17:35:26 2012 New Revision: 233796 URL: http://svn.freebsd.org/changeset/base/233796 Log: MFC: r233619 Add a PNP ID for Japanese 106-key keyboard. Modified: stable/7/sys/dev/atkbdc/atkbdc_isa.c Directory Properties: stable/7/sys/ (props changed) Modifi

svn commit: r233797 - in stable/9/sys: amd64/conf i386/conf

2012-04-02 Thread Jung-uk Kim
Author: jkim Date: Mon Apr 2 18:13:29 2012 New Revision: 233797 URL: http://svn.freebsd.org/changeset/base/233797 Log: MFC: r232416, r232561 Add VESA option to GENERIC for amd64 and i386. Modified: stable/9/sys/amd64/conf/GENERIC stable/9/sys/i386/conf/GENERIC Directory Properties:

svn commit: r233798 - stable/9/sys/amd64/amd64

2012-04-02 Thread Jung-uk Kim
Author: jkim Date: Mon Apr 2 18:17:51 2012 New Revision: 233798 URL: http://svn.freebsd.org/changeset/base/233798 Log: MFC: r233702 Work around Erratum 721 for AMD Family 10h and 12h processors. Modified: stable/9/sys/amd64/amd64/initcpu.c Directory Properties: stable/9/sys/ (props

svn commit: r233799 - stable/8/sys/amd64/amd64

2012-04-02 Thread Jung-uk Kim
Author: jkim Date: Mon Apr 2 18:27:06 2012 New Revision: 233799 URL: http://svn.freebsd.org/changeset/base/233799 Log: MFC: r233702 Work around Erratum 721 for AMD Family 10h and 12h processors. Modified: stable/8/sys/amd64/amd64/initcpu.c Directory Properties: stable/8/sys/ (props

svn commit: r233800 - stable/7/sys/amd64/amd64

2012-04-02 Thread Jung-uk Kim
Author: jkim Date: Mon Apr 2 18:31:01 2012 New Revision: 233800 URL: http://svn.freebsd.org/changeset/base/233800 Log: MFC: r233702 Work around Erratum 721 for AMD Family 10h and 12h processors. Modified: stable/7/sys/amd64/amd64/initcpu.c Directory Properties: stable/7/sys/ (props

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

2012-04-02 Thread Mikolaj Golub
Author: trociny Date: Mon Apr 2 18:52:52 2012 New Revision: 233801 URL: http://svn.freebsd.org/changeset/base/233801 Log: MFC r231976: unp_connect() may use a shared lock on the vnode to fetch the socket. Suggested by: jhb Reviewed by: jhb, kib, rwatson Modified: stable/9/sys/ke

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

2012-04-02 Thread Mikolaj Golub
Author: trociny Date: Mon Apr 2 18:54:10 2012 New Revision: 233802 URL: http://svn.freebsd.org/changeset/base/233802 Log: MFC r231976: unp_connect() may use a shared lock on the vnode to fetch the socket. Suggested by: jhb Reviewed by: jhb, kib, rwatson Modified: stable/8/sys/ke

svn commit: r233803 - in stable/9/sys: kern sys

2012-04-02 Thread Mikolaj Golub
Author: trociny Date: Mon Apr 2 19:01:32 2012 New Revision: 233803 URL: http://svn.freebsd.org/changeset/base/233803 Log: MFC r232152: When detaching a unix domain socket, uipc_detach() checks unp->unp_vnode pointer to detect if there is a vnode associated with (binded to) this socket

svn commit: r233804 - stable/9/sys/tools

2012-04-02 Thread Mikolaj Golub
Author: trociny Date: Mon Apr 2 19:06:28 2012 New Revision: 233804 URL: http://svn.freebsd.org/changeset/base/233804 Log: MFC r231975: Make vnode_if.awk parse vnode operations with underscores, like VOP_FOO_BAR. Reviewed by: kib Modified: stable/9/sys/tools/vnode_if.awk Directory

svn commit: r233805 - head/sys/dev/mfi

2012-04-02 Thread Doug Ambrisko
Author: ambrisko Date: Mon Apr 2 19:13:02 2012 New Revision: 233805 URL: http://svn.freebsd.org/changeset/base/233805 Log: Move struct megasas_sge from mfi_ioctl.h to mfivar.h so we can remove including machine/bus.h. Add some more mfi_ prefixes to avoid name space pollution. This sho

svn commit: r233806 - in stable/9/sys: kern sys

2012-04-02 Thread Mikolaj Golub
Author: trociny Date: Mon Apr 2 19:15:32 2012 New Revision: 233806 URL: http://svn.freebsd.org/changeset/base/233806 Log: MFC r232181, r232455: r232181: Add sysctl to retrieve or set umask of another process. Submitted by: Dmitry Banschikov Discussed with: kib, rwatson

svn commit: r233807 - stable/9/usr.bin/procstat

2012-04-02 Thread Mikolaj Golub
Author: trociny Date: Mon Apr 2 19:17:01 2012 New Revision: 233807 URL: http://svn.freebsd.org/changeset/base/233807 Log: MFC r232182: When displaying security credential information show also process umask. Submitted by: Dmitry Banschikov Discussed with: rwatson Modified: sta

svn commit: r233808 - head/sys/kern

2012-04-02 Thread Konstantin Belousov
Author: kib Date: Mon Apr 2 19:34:56 2012 New Revision: 233808 URL: http://svn.freebsd.org/changeset/base/233808 Log: Add helper function to remove the process from the orphans list and use it instead of inlined code. Tested by:pho MFC after:3 days Modified: head/sys/kern/ke

svn commit: r233809 - head/sys/kern

2012-04-02 Thread Konstantin Belousov
Author: kib Date: Mon Apr 2 19:35:36 2012 New Revision: 233809 URL: http://svn.freebsd.org/changeset/base/233809 Log: When process exists, not only the children shall be reparented to init, but also the orphans shall be removed from the orphan list, because the list header is destroyed.

svn commit: r233810 - in stable/9/sys: dev/hwpmc i386/conf

2012-04-02 Thread George V. Neville-Neil
Author: gnn Date: Mon Apr 2 20:10:50 2012 New Revision: 233810 URL: http://svn.freebsd.org/changeset/base/233810 Log: MFC: 232612 Properly mask off bits that are not supported in the IAP counters. This fixes a bug where users would see massively large counts, near to 2**64 -1, due to t

svn commit: r233811 - in stable/9/sys: i386/conf sparc64/pci

2012-04-02 Thread Marius Strobl
Author: marius Date: Mon Apr 2 20:14:32 2012 New Revision: 233811 URL: http://svn.freebsd.org/changeset/base/233811 Log: MFC: r233701 - Remove erroneous trailing semicolon. [1] - Correctly determine the maximum payload size for setting the TX link frequent NACK latency and replay tim

svn commit: r233812 - in stable/8/sys: i386/conf sparc64/pci

2012-04-02 Thread Marius Strobl
Author: marius Date: Mon Apr 2 20:14:40 2012 New Revision: 233812 URL: http://svn.freebsd.org/changeset/base/233812 Log: MFC: r233701 - Remove erroneous trailing semicolon. [1] - Correctly determine the maximum payload size for setting the TX link frequent NACK latency and replay tim

svn commit: r233813 - stable/7/sys/sparc64/pci

2012-04-02 Thread Marius Strobl
Author: marius Date: Mon Apr 2 20:14:51 2012 New Revision: 233813 URL: http://svn.freebsd.org/changeset/base/233813 Log: MFC: r233701 - Remove erroneous trailing semicolon. [1] - Correctly determine the maximum payload size for setting the TX link frequent NACK latency and replay tim

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

2012-04-02 Thread John Baldwin
Author: jhb Date: Mon Apr 2 20:34:15 2012 New Revision: 233814 URL: http://svn.freebsd.org/changeset/base/233814 Log: MFC 232700: Add a new sched_clear_name() method to the scheduler interface to clear the cached name used for KTR_SCHED traces when a thread's name changes. This way KTR_SC

svn commit: r233815 - in stable/8/sys: i386/conf kern sys

2012-04-02 Thread John Baldwin
Author: jhb Date: Mon Apr 2 20:34:41 2012 New Revision: 233815 URL: http://svn.freebsd.org/changeset/base/233815 Log: MFC 232700: Add a new sched_clear_name() method to the scheduler interface to clear the cached name used for KTR_SCHED traces when a thread's name changes. This way KTR_SC

svn commit: r233816 - in stable/9/sys: . i386/conf

2012-04-02 Thread John Baldwin
Author: jhb Date: Mon Apr 2 20:36:35 2012 New Revision: 233816 URL: http://svn.freebsd.org/changeset/base/233816 Log: MFC 233236: Add sys/ofed to the 'make cscope' target. Modified: stable/9/sys/Makefile Directory Properties: stable/9/sys/ (props changed) stable/9/sys/amd64/include/xen

Re: svn commit: r233674 - head/libexec/rtld-elf

2012-04-02 Thread Marcel Moolenaar
On Mar 29, 2012, at 11:11 AM, Konstantin Belousov wrote: > While this band-aid fixes the build, the change is obviously bad. > The reason to have this #ifdef is that ia64 is the only architecture > that declares __tls_get_addr() as > > void *__tls_get_addr(unsigned long module, unsigned long off

svn commit: r233817 - in head/sys/ufs: ffs ufs

2012-04-02 Thread Kirk McKusick
Author: mckusick Date: Mon Apr 2 21:58:37 2012 New Revision: 233817 URL: http://svn.freebsd.org/changeset/base/233817 Log: A file cannot be deallocated until its last name has been removed and it is no longer referenced by a user process. The inode for a file whose name has been removed, bu

svn commit: r233818 - svnadmin/conf

2012-04-02 Thread Olivier Houchard
Author: cognet Date: Mon Apr 2 21:59:40 2012 New Revision: 233818 URL: http://svn.freebsd.org/changeset/base/233818 Log: dmarion and gber are big boys, release them from mentorship. Modified: svnadmin/conf/mentors Modified: svnadmin/conf/mentors =

Re: svn commit: r233805 - head/sys/dev/mfi

2012-04-02 Thread Garrett Cooper
On Mon, Apr 2, 2012 at 12:13 PM, Doug Ambrisko wrote: > Author: ambrisko > Date: Mon Apr  2 19:13:02 2012 > New Revision: 233805 > URL: http://svn.freebsd.org/changeset/base/233805 > > Log: >  Move struct megasas_sge from mfi_ioctl.h to mfivar.h so we can >  remove including machine/bus.h.  Add so