svn commit: r216791 - in head/sys: kern sys

2010-12-29 Thread David Xu
Author: davidxu Date: Wed Dec 29 09:26:46 2010 New Revision: 216791 URL: http://svn.freebsd.org/changeset/base/216791 Log: - Follow r216313, the sched_unlend_user_prio is no longer needed, always use sched_lend_user_prio to set lent priority. - Improve pthread priority-inherit mutex, when

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

2010-12-29 Thread Konstantin Belousov
Author: kib Date: Wed Dec 29 11:19:39 2010 New Revision: 216792 URL: http://svn.freebsd.org/changeset/base/216792 Log: Use a proper type for the variable holding the summary size of the inode data. Otherwise, on 32bit systems, unlinked inode which size is the multiple of 4GB was not

svn commit: r216793 - head/sys/dev/md

2010-12-29 Thread Konstantin Belousov
Author: kib Date: Wed Dec 29 11:39:15 2010 New Revision: 216793 URL: http://svn.freebsd.org/changeset/base/216793 Log: Add sysctl vm.md_malloc_wait, non-zero value of which switches malloc-backed md(4) to using M_WAITOK malloc calls. M_NOWAITOK allocations may fail when enough memory

Re: svn commit: r216746 - head/sys/conf

2010-12-29 Thread Garrett Cooper
On Tue, Dec 28, 2010 at 9:31 AM, Warner Losh i...@bsdimp.com wrote: On 12/27/2010 19:09, Steve Kargl wrote: On Mon, Dec 27, 2010 at 06:02:57PM -0800, Colin Percival wrote: On 12/27/10 17:59, Steve Kargl wrote: On Mon, Dec 27, 2010 at 11:52:40PM +, Colin Percival wrote:   Make it

Re: svn commit: r216746 - head/sys/conf

2010-12-29 Thread Colin Percival
On 12/29/10 04:00, Garrett Cooper wrote: Wouldn't it be better to have MODULES_EXCLUDE and MODULES_INCLUDE or something along those lines? MODULES_OVERRIDE doesn't really have a nice clean antonym to go with it according to my friendly neighborhood thesaurus. Sounds like a great idea.

svn commit: r216794 - in head/sys: dev/md geom

2010-12-29 Thread Konstantin Belousov
Author: kib Date: Wed Dec 29 12:11:07 2010 New Revision: 216794 URL: http://svn.freebsd.org/changeset/base/216794 Log: Add reporting of GEOM::candelete BIO_GETATTR for md(4) and geom_disk(4). Non-zero value of attribute means that device supports BIO_DELETE. Suggested and reviewed by:

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

2010-12-29 Thread Konstantin Belousov
Author: kib Date: Wed Dec 29 12:16:06 2010 New Revision: 216795 URL: http://svn.freebsd.org/changeset/base/216795 Log: Move the definition of mkdirlisthd from header to C file. Reviewed by: mckusick Tested by:pho Modified: head/sys/ufs/ffs/ffs_softdep.c

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

2010-12-29 Thread Konstantin Belousov
Author: kib Date: Wed Dec 29 12:25:28 2010 New Revision: 216796 URL: http://svn.freebsd.org/changeset/base/216796 Log: Add kernel side support for BIO_DELETE/TRIM on UFS. The FS_TRIM fs flag indicates that administrator requested issuing of TRIM commands for the volume. UFS will only

svn commit: r216797 - stable/8/sbin/mount_nfs

2010-12-29 Thread Simon L. Nielsen
Author: simon Date: Wed Dec 29 12:25:45 2010 New Revision: 216797 URL: http://svn.freebsd.org/changeset/base/216797 Log: MFC r216725: Fix deprecated warning about -L which said -i was deprecated. Modified: stable/8/sbin/mount_nfs/mount_nfs.c Directory Properties:

svn commit: r216798 - in head/sbin: dumpfs newfs tunefs

2010-12-29 Thread Konstantin Belousov
Author: kib Date: Wed Dec 29 12:31:18 2010 New Revision: 216798 URL: http://svn.freebsd.org/changeset/base/216798 Log: Add support for FS_TRIM to user-mode UFS utilities. Reviewed by: mckusick, pjd, pho Tested by:pho MFC after:1 month Modified: head/sbin/dumpfs/dumpfs.c

svn commit: r216799 - head/sys/vm

2010-12-29 Thread Konstantin Belousov
Author: kib Date: Wed Dec 29 12:53:53 2010 New Revision: 216799 URL: http://svn.freebsd.org/changeset/base/216799 Log: Move the increment of vm object generation count into vm_object_set_writeable_dirty(). Fix an issue where restart of the scan in vm_object_page_clean() did not removed

svn commit: r216800 - releng/8.2/sbin/mount_nfs

2010-12-29 Thread Simon L. Nielsen
Author: simon Date: Wed Dec 29 14:06:20 2010 New Revision: 216800 URL: http://svn.freebsd.org/changeset/base/216800 Log: MFS r216725: Fix deprecated warning about -L which said -i was deprecated. Approved by: re (kib) Modified: releng/8.2/sbin/mount_nfs/mount_nfs.c Directory

svn commit: r216801 - head/sys/sparc64/include

2010-12-29 Thread Marius Strobl
Author: marius Date: Wed Dec 29 14:11:46 2010 New Revision: 216801 URL: http://svn.freebsd.org/changeset/base/216801 Log: Rename the xor parameter to xorval as the former is a reserved keyword in C++. Submitted by: gahr Modified: head/sys/sparc64/include/cpufunc.h Modified:

svn commit: r216803 - in head/sys/sparc64: include sparc64

2010-12-29 Thread Marius Strobl
Author: marius Date: Wed Dec 29 16:59:33 2010 New Revision: 216803 URL: http://svn.freebsd.org/changeset/base/216803 Log: On UltraSPARC-III+ and greater take advantage of ASI_ATOMIC_QUAD_LDD_PHYS, which takes an physical address instead of an virtual one, for loading TTEs of the kernel TSB

svn commit: r216805 - head/sys/kern

2010-12-29 Thread Attilio Rao
Author: attilio Date: Wed Dec 29 18:17:36 2010 New Revision: 216805 URL: http://svn.freebsd.org/changeset/base/216805 Log: Fix several callout migration races: - Problem1: Hypothesis: thread1 is doing a callout_reset_on(), within his callout handler, willing to implicitly or

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

2010-12-29 Thread Attilio Rao
2010/12/29 Attilio Rao atti...@freebsd.org: Author: attilio Date: Wed Dec 29 18:17:36 2010 New Revision: 216805 URL: http://svn.freebsd.org/changeset/base/216805 Log:  Fix several callout migration races: ...  Reported by:  Nicholas Esborn nick at desert dot net, DesertNet  In

svn commit: r216806 - head/bin/sh

2010-12-29 Thread Jilles Tjoelker
Author: jilles Date: Wed Dec 29 19:39:51 2010 New Revision: 216806 URL: http://svn.freebsd.org/changeset/base/216806 Log: sh: Properly restore exception handler in fc. If SIGINT arrived at exactly the right moment (unlikely), an exception handler in a no longer active stack frame would

Re: svn commit: r216746 - head/sys/conf

2010-12-29 Thread Warner Losh
On 12/29/2010 05:00, Garrett Cooper wrote: On Tue, Dec 28, 2010 at 9:31 AM, Warner Loshi...@bsdimp.com wrote: On 12/27/2010 19:09, Steve Kargl wrote: On Mon, Dec 27, 2010 at 06:02:57PM -0800, Colin Percival wrote: On 12/27/10 17:59, Steve Kargl wrote: On Mon, Dec 27, 2010 at 11:52:40PM

svn commit: r216807 - head/sys/vm

2010-12-29 Thread Alan Cox
Author: alc Date: Wed Dec 29 20:35:36 2010 New Revision: 216807 URL: http://svn.freebsd.org/changeset/base/216807 Log: There is no point in vm_contig_launder{,_page}() flushing held pages, instead skip over them. As long as a page is held, it can't be reclaimed by contigmalloc(M_WAITOK).

svn commit: r216808 - releng/8.2/sys/fs/nfsserver

2010-12-29 Thread Rick Macklem
Author: rmacklem Date: Wed Dec 29 21:04:10 2010 New Revision: 216808 URL: http://svn.freebsd.org/changeset/base/216808 Log: MFC: r216691 Since VOP_READDIR() for ZFS does not return monotonically increasing directory offset cookies, disable the UFS related loop that skips over directory

svn commit: r216809 - head/usr.bin/printf

2010-12-29 Thread Jilles Tjoelker
Author: jilles Date: Wed Dec 29 21:38:00 2010 New Revision: 216809 URL: http://svn.freebsd.org/changeset/base/216809 Log: printf: Do not use sh memory functions in sh builtin. These functions throw exceptions if they fail, possibly causing memory leaks. The normal out-of-memory handling

svn commit: r216810 - in head/sys: kern vm

2010-12-29 Thread Konstantin Belousov
Author: kib Date: Wed Dec 29 22:26:49 2010 New Revision: 216810 URL: http://svn.freebsd.org/changeset/base/216810 Log: Remove OBJ_CLEANING flag. The vfs_setdirty_locked_object() is the only consumer of the flag, and it used the flag because OBJ_MIGHTBEDIRTY was cleared early in

svn commit: r216811 - head/etc

2010-12-29 Thread Colin Percival
Author: cperciva Date: Thu Dec 30 01:13:42 2010 New Revision: 216811 URL: http://svn.freebsd.org/changeset/base/216811 Log: Remove INDEX-6 from the default portsnap configuration file; the 6.x index bits haven't been built since December 1st, although the mirrors are still distributing the

svn commit: r216812 - head/sys/xen/evtchn

2010-12-29 Thread Colin Percival
Author: cperciva Date: Thu Dec 30 01:28:56 2010 New Revision: 216812 URL: http://svn.freebsd.org/changeset/base/216812 Log: Add xenpic_dynirq_disable_intr and set it as the .pic_disable_intr method for xenpic_dynirq_template. This fixes a panic when a virtual disk is removed, since that

svn commit: r216813 - head/sys/compat/linux

2010-12-29 Thread Sean Farley
Author: scf Date: Thu Dec 30 02:18:04 2010 New Revision: 216813 URL: http://svn.freebsd.org/changeset/base/216813 Log: Fix the LINUX_SOUND_MIXER_INFO ioctl to return success after the information is set to FreeBSD. It had been falling through to the end of linux_ioctl_sound() and returning