svn commit: r239882 - in stable/9/sys/amd64: acpica amd64 include

2012-08-29 Thread John Baldwin
Author: jhb Date: Wed Aug 29 21:12:19 2012 New Revision: 239882 URL: http://svn.freebsd.org/changeset/base/239882 Log: MFC 238142,238179: Now that our assembler supports the xsave family of instructions, use them natively rather than hand-assembled versions. For xgetbv/xsetbv, add a wrapp

svn commit: r239880 - in stable/9/sys: amd64/amd64 i386/i386 pc98/pc98

2012-08-29 Thread John Baldwin
Author: jhb Date: Wed Aug 29 20:49:36 2012 New Revision: 239880 URL: http://svn.freebsd.org/changeset/base/239880 Log: MFC 238310: Partially revert r217515 so that the mem_range_softc variable is always present on x86 kernels. This fixes the build of kernels that include 'device acpi' but

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

2012-08-29 Thread John Baldwin
Author: jhb Date: Wed Aug 29 19:47:19 2012 New Revision: 239879 URL: http://svn.freebsd.org/changeset/base/239879 Log: MFC 238109,238166: Several fixes to the amd64 disassembler: - Decode the 'xsave', 'xrstor', 'xsaveopt', 'xgetbv', 'xsetbv', and 'rdtscp' instructions. - Add generic su

svn commit: r239878 - in stable/9/contrib/binutils: gas/config opcodes

2012-08-29 Thread John Baldwin
Author: jhb Date: Wed Aug 29 19:34:46 2012 New Revision: 239878 URL: http://svn.freebsd.org/changeset/base/239878 Log: MFC 238123,238167: - Add support for the 'xsave', 'xrstor', 'xsaveopt', 'xgetbv', and 'xsetbv' instructions. I reimplemented this from scratch based on the Intel manu

svn commit: r239876 - stable/9/usr.sbin/cron/crontab

2012-08-29 Thread John Baldwin
Author: jhb Date: Wed Aug 29 19:17:29 2012 New Revision: 239876 URL: http://svn.freebsd.org/changeset/base/239876 Log: MFC 238024: Add a one second sleep before touching the spool directory. If the touch occurs in the same second as the earlier operations to create the temporary file and

svn commit: r239874 - in stable/9/sys: kern vm

2012-08-29 Thread John Baldwin
Author: jhb Date: Wed Aug 29 19:12:33 2012 New Revision: 239874 URL: http://svn.freebsd.org/changeset/base/239874 Log: MFC 238000,239584: Honor db_pager_quit in 'show malloc', 'show uma', and 'show witness'. Modified: stable/9/sys/kern/kern_malloc.c stable/9/sys/kern/subr_witness.c stab

svn commit: r239866 - stable/9/sys/dev/mfi

2012-08-29 Thread John Baldwin
Author: jhb Date: Wed Aug 29 17:36:12 2012 New Revision: 239866 URL: http://svn.freebsd.org/changeset/base/239866 Log: MFC 238077: Fix panics triggered by older mfiutil binaries run on the new mfi(4) driver. The new driver changed the size of the mfi_dcmd_frame structure in such a way that

svn commit: r239859 - stable/9/lib/libc/sys

2012-08-29 Thread Konstantin Belousov
Author: kib Date: Wed Aug 29 16:26:41 2012 New Revision: 239859 URL: http://svn.freebsd.org/changeset/base/239859 Log: MFC r238835: Document F_DUP2FD_CLOEXEC. Modified: stable/9/lib/libc/sys/fcntl.2 Directory Properties: stable/9/lib/libc/ (props changed) stable/9/lib/libc/sys/ (pro

svn commit: r239858 - stable/9/lib/libc/sys

2012-08-29 Thread Konstantin Belousov
Author: kib Date: Wed Aug 29 16:25:33 2012 New Revision: 239858 URL: http://svn.freebsd.org/changeset/base/239858 Log: MFC r238615: Document F_DUPFD_CLOEXEC. Modified: stable/9/lib/libc/sys/fcntl.2 Directory Properties: stable/9/lib/libc/ (props changed) Modified: stable/9/lib/libc/sys

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

2012-08-29 Thread Konstantin Belousov
Author: kib Date: Wed Aug 29 16:23:29 2012 New Revision: 239857 URL: http://svn.freebsd.org/changeset/base/239857 Log: MFC r238834: Add F_DUP2FD_CLOEXEC. PR: standards/169962 Modified: stable/9/sys/kern/kern_descrip.c stable/9/sys/sys/fcntl.h Directory Properties: stable/9/sys/

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

2012-08-29 Thread Konstantin Belousov
Author: kib Date: Wed Aug 29 16:17:02 2012 New Revision: 239856 URL: http://svn.freebsd.org/changeset/base/239856 Log: MFC r238614: Implement F_DUPFD_CLOEXEC command for fcntl(2), specified by SUSv4. MFC r238627: Remove line which was accidentally kept in r238614. PR: standards/1

svn commit: r239854 - stable/9/usr.sbin/jail

2012-08-29 Thread Jamie Gritton
Author: jamie Date: Wed Aug 29 16:11:03 2012 New Revision: 239854 URL: http://svn.freebsd.org/changeset/base/239854 Log: MFC r239601: Remember that I'm using length-defined strings in parameters: Remove a bogus null terminator when stripping the netmask from IP addresses. This

svn commit: r239853 - stable/9/tools/test/upsdl

2012-08-29 Thread Konstantin Belousov
Author: kib Date: Wed Aug 29 16:00:26 2012 New Revision: 239853 URL: http://svn.freebsd.org/changeset/base/239853 Log: MFC r238374: Add a test program, written by Stephan Uphoff, which demonstrates the deadlock due to i/o performed over the buffers backed by file mappings. Added: stable/9

svn commit: r239852 - stable/9/sys/fs/nfsclient

2012-08-29 Thread Konstantin Belousov
Author: kib Date: Wed Aug 29 15:58:44 2012 New Revision: 239852 URL: http://svn.freebsd.org/changeset/base/239852 Log: MFC r237367: Enable deadlock avoidance code for NFS client. Modified: stable/9/sys/fs/nfsclient/nfs_clbio.c stable/9/sys/fs/nfsclient/nfs_clvfsops.c Directory Properties:

svn commit: r239850 - stable/9/sys/ufs/ffs

2012-08-29 Thread Konstantin Belousov
Author: kib Date: Wed Aug 29 15:56:13 2012 New Revision: 239850 URL: http://svn.freebsd.org/changeset/base/239850 Log: MFC r236322: Enable vn_io_fault() lock avoidance for UFS. Modified: stable/9/sys/ufs/ffs/ffs_vfsops.c stable/9/sys/ufs/ffs/ffs_vnops.c Directory Properties: stable/9/sy

svn commit: r239848 - stable/9/sys/fs/nfsclient

2012-08-29 Thread Konstantin Belousov
Author: kib Date: Wed Aug 29 15:53:27 2012 New Revision: 239848 URL: http://svn.freebsd.org/changeset/base/239848 Log: MFC r237987: Do not override an error from uiomove() with (non-)error result from bwrite(). Modified: stable/9/sys/fs/nfsclient/nfs_clbio.c Directory Properties: stable

svn commit: r239845 - stable/9/sys/fs/nfsclient

2012-08-29 Thread Konstantin Belousov
Author: kib Date: Wed Aug 29 15:50:09 2012 New Revision: 239845 URL: http://svn.freebsd.org/changeset/base/239845 Log: MFC r236687: Improve handling of uiomove(9) errors for the NFS client. Modified: stable/9/sys/fs/nfsclient/nfs_clbio.c Directory Properties: stable/9/sys/ (props change

svn commit: r239843 - in stable/9/sys: compat/linux fs/devfs kern sys ufs/ffs

2012-08-29 Thread Konstantin Belousov
Author: kib Date: Wed Aug 29 15:45:58 2012 New Revision: 239843 URL: http://svn.freebsd.org/changeset/base/239843 Log: MFC r238029: Extend the KPI to lock and unlock f_offset member of struct file. It now fully encapsulates all accesses to f_offset, and extends f_offset locking to other c

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

2012-08-29 Thread Konstantin Belousov
Author: kib Date: Wed Aug 29 15:41:17 2012 New Revision: 239842 URL: http://svn.freebsd.org/changeset/base/239842 Log: MFC r237365: Fix locking for f_offset, vn_read() and vn_write() cases only. Modified: stable/9/sys/kern/vfs_vnops.c Directory Properties: stable/9/sys/ (props changed)

svn commit: r239841 - in stable/9/sys: amd64/conf arm/conf i386/conf pc98/conf sparc64/conf

2012-08-29 Thread Glen Barber
Author: gjb (doc,ports committer) Date: Wed Aug 29 15:38:18 2012 New Revision: 239841 URL: http://svn.freebsd.org/changeset/base/239841 Log: MFC r239699: - Grammar fix: s/NIC's/NICs/ Modified: stable/9/sys/amd64/conf/GENERIC stable/9/sys/arm/conf/AVILA stable/9/sys/arm/conf/AVILA.hi

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

2012-08-29 Thread Konstantin Belousov
Author: kib Date: Wed Aug 29 15:34:26 2012 New Revision: 239839 URL: http://svn.freebsd.org/changeset/base/239839 Log: MFC r236517: Add a knob to disable vn_io_fault. MFC note: by default, vn_io_fault for stable/9 is disabled. Modified: stable/9/sys/kern/vfs_vnops.c Directory Propertie

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

2012-08-29 Thread Konstantin Belousov
Author: kib Date: Wed Aug 29 15:28:38 2012 New Revision: 239838 URL: http://svn.freebsd.org/changeset/base/239838 Log: MFC r236516: Count and export the number of prefaulting happen. Modified: stable/9/sys/kern/vfs_vnops.c Directory Properties: stable/9/sys/ (props changed) Modified: s

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

2012-08-29 Thread Konstantin Belousov
Author: kib Date: Wed Aug 29 15:21:27 2012 New Revision: 239837 URL: http://svn.freebsd.org/changeset/base/239837 Log: MFC r236321: Add vn_io_fault(), which is a facility to prevent page faults while filesystems perform copyin/copyout of the file data into the usermode buffer. Modified:

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

2012-08-29 Thread Konstantin Belousov
Author: kib Date: Wed Aug 29 15:13:13 2012 New Revision: 239835 URL: http://svn.freebsd.org/changeset/base/239835 Log: MFC r236317: Add a rangelock implementation, intended to be used to range-locking the i/o regions of the vnode data space. The implementation is quite simple-minded, it us

Re: svn commit: r239817 - in stable/9: share/man/man4 share/syscons/keymaps sys/dev/usb sys/dev/usb/serial

2012-08-29 Thread Alexey Dokuchaev
On Wed, Aug 29, 2012 at 02:27:53PM +0100, Gavin Atkinson wrote: > Indeed it was, and it's not clear why this happened at all (it didn't show > up in "svn diff", and I've never knowingly touched that file). Luckily, > it apparently hasn't broken the SVN-CVS exporter. I would not trust "svn diff"

svn commit: r239834 - stable/9/sbin/geom/class/sched

2012-08-29 Thread Isabell Long
Author: issyl0 (doc committer) Date: Wed Aug 29 14:06:58 2012 New Revision: 239834 URL: http://svn.freebsd.org/changeset/base/239834 Log: MFC r238813 from HEAD: - The ad(4) driver no longer exists in FreeBSD CURRENT or 9, so change the references to it in gsched(8) to the existing ada(

svn commit: r239833 - stable/9/lib/libc/locale

2012-08-29 Thread Isabell Long
Author: issyl0 (doc committer) Date: Wed Aug 29 13:28:25 2012 New Revision: 239833 URL: http://svn.freebsd.org/changeset/base/239833 Log: MFC r238781, r238919 from HEAD: r238781: - Add a new man page containing details of new locale-specific functions for wctype.h, iswalnum_

Re: svn commit: r239817 - in stable/9: share/man/man4 share/syscons/keymaps sys/dev/usb sys/dev/usb/serial

2012-08-29 Thread Gavin Atkinson
On Wed, 29 Aug 2012, John Baldwin wrote: > On Wednesday, August 29, 2012 7:23:20 am Gavin Atkinson wrote: > > Author: gavin > > Date: Wed Aug 29 11:23:20 2012 > > New Revision: 239817 > > URL: http://svn.freebsd.org/changeset/base/239817 > > > > Log: > > Merge r238803, r238804 from head: > >

svn commit: r239832 - stable/9/sys/netinet6

2012-08-29 Thread Bjoern A. Zeeb
Author: bz Date: Wed Aug 29 13:19:27 2012 New Revision: 239832 URL: http://svn.freebsd.org/changeset/base/239832 Log: MFC r238960: In case of IPsec he have to do delayed checksum calculations before adding any extension header, or rather before calling into IPsec processing as we

svn commit: r239831 - stable/9/sys/netinet6

2012-08-29 Thread Bjoern A. Zeeb
Author: bz Date: Wed Aug 29 13:14:39 2012 New Revision: 239831 URL: http://svn.freebsd.org/changeset/base/239831 Log: MFC r238935: Properly apply #ifdef INET and leave a comment that we are (will) apply delayed IPv6 checksum processing in ip6_output.c when doing IPsec. PR: kern

svn commit: r239830 - stable/9/sys/netinet6

2012-08-29 Thread Bjoern A. Zeeb
Author: bz Date: Wed Aug 29 13:10:34 2012 New Revision: 239830 URL: http://svn.freebsd.org/changeset/base/239830 Log: MFC 238934: Improve the should-never-hit printf to ease debugging in case we'd ever hit it again when doing the delayed IPv6 checksum calculations. Modified: stable

svn commit: r239826 - in stable/9: share/man/man4 sys/dev/usb/serial

2012-08-29 Thread Gavin Atkinson
Author: gavin Date: Wed Aug 29 12:46:53 2012 New Revision: 239826 URL: http://svn.freebsd.org/changeset/base/239826 Log: Merge r239037,239050 from head: Support multiple interface devices. The driver had previously hardcoded support for only the first port, but the CP2105 can have multi

svn commit: r239823 - stable/9/sys/netinet6

2012-08-29 Thread Bjoern A. Zeeb
Author: bz Date: Wed Aug 29 12:44:13 2012 New Revision: 239823 URL: http://svn.freebsd.org/changeset/base/239823 Log: MFC r238878: For consistency put the IPsec comment iside the #fidef section. Modified: stable/9/sys/netinet6/ip6_output.c Directory Properties: stable/9/sys/ (props

svn commit: r239821 - stable/9/sys/boot/common

2012-08-29 Thread John Baldwin
Author: jhb Date: Wed Aug 29 12:34:43 2012 New Revision: 239821 URL: http://svn.freebsd.org/changeset/base/239821 Log: MFC 237338: Don't return an error if a kld does not contain any modules (e.g. a kld that only contained a sysctl). The kernel linker allows such modules, so the boot load

Re: svn commit: r239817 - in stable/9: share/man/man4 share/syscons/keymaps sys/dev/usb sys/dev/usb/serial

2012-08-29 Thread John Baldwin
On Wednesday, August 29, 2012 7:23:20 am Gavin Atkinson wrote: > Author: gavin > Date: Wed Aug 29 11:23:20 2012 > New Revision: 239817 > URL: http://svn.freebsd.org/changeset/base/239817 > > Log: > Merge r238803, r238804 from head: > > Add support for more devices to uslcom(4). This comm

svn commit: r239817 - in stable/9: share/man/man4 share/syscons/keymaps sys/dev/usb sys/dev/usb/serial

2012-08-29 Thread Gavin Atkinson
Author: gavin Date: Wed Aug 29 11:23:20 2012 New Revision: 239817 URL: http://svn.freebsd.org/changeset/base/239817 Log: Merge r238803, r238804 from head: Add support for more devices to uslcom(4). This commit syncronises the list of supported devices with the union of: NetBSD

svn commit: r239815 - stable/9/sys/dev/acpica

2012-08-29 Thread Andriy Gapon
Author: avg Date: Wed Aug 29 09:00:57 2012 New Revision: 239815 URL: http://svn.freebsd.org/changeset/base/239815 Log: MFC r238229: acpi_cpu: we are able to handle _CST change notifications Modified: stable/9/sys/dev/acpica/acpi_cpu.c Directory Properties: stable/9/sys/ (props changed)

svn commit: r239813 - stable/9/sys/dev/acpica

2012-08-29 Thread Andriy Gapon
Author: avg Date: Wed Aug 29 08:58:10 2012 New Revision: 239813 URL: http://svn.freebsd.org/changeset/base/239813 Log: MFC r238194: acpi_cpu_generic_cx_probe: for consistency set cpu_non_c3 here too Modified: stable/9/sys/dev/acpica/acpi_cpu.c Directory Properties: stable/9/sys/ (props

svn commit: r239812 - stable/9/sys/dev/acpica

2012-08-29 Thread Andriy Gapon
Author: avg Date: Wed Aug 29 08:47:43 2012 New Revision: 239812 URL: http://svn.freebsd.org/changeset/base/239812 Log: MFC r238193: acpi_cpu_cx_list: there is no need to re-evaluate cpu_non_c3 here Modified: stable/9/sys/dev/acpica/acpi_cpu.c Directory Properties: stable/9/sys/ (props c

svn commit: r239809 - stable/9/sys/dev/acpica

2012-08-29 Thread Andriy Gapon
Author: avg Date: Wed Aug 29 08:39:58 2012 New Revision: 239809 URL: http://svn.freebsd.org/changeset/base/239809 Log: MFC r238192: acpi_cpu_cx_cst: consistently use cpu_cx_count during state enumeration Modified: stable/9/sys/dev/acpica/acpi_cpu.c Directory Properties: stable/9/sys/ (p

svn commit: r239807 - stable/9/sys/dev/acpica

2012-08-29 Thread Andriy Gapon
Author: avg Date: Wed Aug 29 08:14:16 2012 New Revision: 239807 URL: http://svn.freebsd.org/changeset/base/239807 Log: MFC r238418: acpi_cpu: separate a notion of current deepest allowed+available Cx level from a user-set persistent limit on the said level Modified: stable/9/sys/dev/acpica/