Re: svn commit: r212281 - head/sys/vm

2010-09-14 Thread Alan Cox
Kostik Belousov wrote: On Mon, Sep 13, 2010 at 12:30:29PM -0500, Alan Cox wrote: Kostik Belousov wrote: On Tue, Sep 07, 2010 at 12:23:45AM +, Ryan Stone wrote: Author: rstone Date: Tue Sep 7 00:23:45 2010 New Revision: 212281 URL:

svn commit: r212604 - head/sys/kern

2010-09-14 Thread Alexander Motin
Author: mav Date: Tue Sep 14 10:26:49 2010 New Revision: 212604 URL: http://svn.freebsd.org/changeset/base/212604 Log: Fix panic on NULL dereference possible after r212541. Modified: head/sys/kern/kern_timeout.c Modified: head/sys/kern/kern_timeout.c

svn commit: r212605 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2010-09-14 Thread Martin Matuska
Author: mm Date: Tue Sep 14 10:27:32 2010 New Revision: 212605 URL: http://svn.freebsd.org/changeset/base/212605 Log: Add missing vop_vector zfsctl_ops_shares Add missing locks around VOP_READDIR and VOP_GETATTR with z_shares_dir PR: kern/150544 Approved by: delphij (mentor)

Re: svn commit: r212281 - head/sys/vm

2010-09-14 Thread Kostik Belousov
On Tue, Sep 14, 2010 at 01:48:12AM -0500, Alan Cox wrote: Kostik Belousov wrote: Did you noted the thread on current@ about r212281 ? The submitter claims that the rev. causes panics in unrelated code pathes when vnode_create_vobject() locks vm object lock. I cannot understand how this can

svn commit: r212606 - in head/sbin/geom: class/part core

2010-09-14 Thread Pawel Jakub Dawidek
Author: pjd Date: Tue Sep 14 11:13:46 2010 New Revision: 212606 URL: http://svn.freebsd.org/changeset/base/212606 Log: Introduce special G_VAL_OPTIONAL define, which when given in value field tells geom(8) to ignore it when it is not given and don't try to obtain default value. Modified:

svn commit: r212607 - head/sbin/geom/core

2010-09-14 Thread Pawel Jakub Dawidek
Author: pjd Date: Tue Sep 14 11:19:21 2010 New Revision: 212607 URL: http://svn.freebsd.org/changeset/base/212607 Log: Remove dot which shouldn't be here, as err(3) will attach error message at the end of the string. Modified: head/sbin/geom/core/geom.c Modified:

Re: svn commit: r212554 - in head: sbin/geom/class/cache sbin/geom/class/concat sbin/geom/class/eli sbin/geom/class/journal sbin/geom/class/label sbin/geom/class/mirror sbin/geom/class/mountver sbin/g

2010-09-14 Thread Pawel Jakub Dawidek
On Mon, Sep 13, 2010 at 03:06:55PM +, Alexander Best wrote: hi there, could you take a quick peek at PR #150239 to see if the patch for g_part.c is a reasonable change? Yes, the current output was confusing to me as well. -- Pawel Jakub Dawidek

svn commit: r212610 - head/sbin/newfs

2010-09-14 Thread Glen Barber
Author: gjb (doc committer) Date: Tue Sep 14 12:12:07 2010 New Revision: 212610 URL: http://svn.freebsd.org/changeset/base/212610 Log: Synchronize newfs(8) manual with code. PR: 61716 Submitted by: Radim Kolar hsn at netmag cz Patch by: arundel Approved by: keramida

svn commit: r212611 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2010-09-14 Thread Martin Matuska
Author: mm Date: Tue Sep 14 12:12:18 2010 New Revision: 212611 URL: http://svn.freebsd.org/changeset/base/212611 Log: Remove duplicated VFS_HOLD due to a mismerge. PR: kern/150544 Approved by: delphij (mentor) MFC after:1 day Modified:

svn commit: r212609 - head/sys/geom/part

2010-09-14 Thread Pawel Jakub Dawidek
Author: pjd Date: Tue Sep 14 11:42:07 2010 New Revision: 212609 URL: http://svn.freebsd.org/changeset/base/212609 Log: Simplify the code a bit. Modified: head/sys/geom/part/g_part.c Modified: head/sys/geom/part/g_part.c

Re: svn commit: r212607 - head/sbin/geom/core

2010-09-14 Thread Bruce Evans
On Tue, 14 Sep 2010, Pawel Jakub Dawidek wrote: Log: Remove dot which shouldn't be here, as err(3) will attach error message at the end of the string. In KNF, error messages are neither capitalized or terminated by a dot, partly because of this. Modified: head/sbin/geom/core/geom.c

svn commit: r212613 - head/sbin/geom/class/part

2010-09-14 Thread Pawel Jakub Dawidek
Author: pjd Date: Tue Sep 14 16:19:09 2010 New Revision: 212613 URL: http://svn.freebsd.org/changeset/base/212613 Log: Update two last places where arg0 should be used instead of geom. Modified: head/sbin/geom/class/part/geom_part.c Modified: head/sbin/geom/class/part/geom_part.c

svn commit: r212614 - in head: sbin/geom/class/part sys/geom/part

2010-09-14 Thread Pawel Jakub Dawidek
Author: pjd Date: Tue Sep 14 16:21:13 2010 New Revision: 212614 URL: http://svn.freebsd.org/changeset/base/212614 Log: - Change all places where G_TYPE_ASCNUM is used to G_TYPE_NUMBER. It turns out the new type wasn't really needed. - Reorganize code a little bit. Modified:

svn commit: r212615 - head/sbin/geom/core

2010-09-14 Thread Pawel Jakub Dawidek
Author: pjd Date: Tue Sep 14 16:22:22 2010 New Revision: 212615 URL: http://svn.freebsd.org/changeset/base/212615 Log: Remove now unused G_TYPE_ASCNUM. Modified: head/sbin/geom/core/geom.c head/sbin/geom/core/geom.h Modified: head/sbin/geom/core/geom.c

svn commit: r212616 - head/sys/dev/mps

2010-09-14 Thread Kenneth D. Merry
Author: ken Date: Tue Sep 14 17:22:06 2010 New Revision: 212616 URL: http://svn.freebsd.org/changeset/base/212616 Log: MFp4: (//depot/projects/mps/...) Report data overruns properly. Submitted by: scottl Modified: head/sys/dev/mps/mps_sas.c Modified: head/sys/dev/mps/mps_sas.c

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

2010-09-14 Thread Kirk McKusick
Author: mckusick Date: Tue Sep 14 18:04:05 2010 New Revision: 212617 URL: http://svn.freebsd.org/changeset/base/212617 Log: Update comments in soft updates code to more fully describe the addition of journalling. Only functional change is to tighten a KASSERT. Reviewed by: jeff

svn commit: r212618 - head/sys/sys

2010-09-14 Thread Konstantin Belousov
Author: kib Date: Tue Sep 14 18:58:51 2010 New Revision: 212618 URL: http://svn.freebsd.org/changeset/base/212618 Log: Rename the field to not confuse readers. The bytes are actually used. Discussed with: rmacklem MFC after:1 week Modified: head/sys/sys/mount.h Modified:

svn commit: r212619 - head/sys/sparc64/sparc64

2010-09-14 Thread Marius Strobl
Author: marius Date: Tue Sep 14 19:35:43 2010 New Revision: 212619 URL: http://svn.freebsd.org/changeset/base/212619 Log: Remove redundant raising of the PIL to PIL_TICK as the respective locore code already did that. Modified: head/sys/sparc64/sparc64/machdep.c

svn commit: r212620 - in head/sys: sparc64/sparc64 sun4v/sun4v

2010-09-14 Thread Marius Strobl
Author: marius Date: Tue Sep 14 20:31:09 2010 New Revision: 212620 URL: http://svn.freebsd.org/changeset/base/212620 Log: Remove a KASSERT which will also trigger for perfectly valid combinations of small maxsize and large (including BUS_SPACE_UNRESTRICTED) nsegments parameters. Generally

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

2010-09-14 Thread Marius Strobl
Author: marius Date: Tue Sep 14 20:41:06 2010 New Revision: 212621 URL: http://svn.freebsd.org/changeset/base/212621 Log: Use saner nsegments and maxsegsz parameters when creating certain DMA tags; tags for 1-byte allocations cannot possibly be split across 2 segments and maxsegsz must not

svn commit: r212622 - head/sbin/geom/core

2010-09-14 Thread Pawel Jakub Dawidek
Author: pjd Date: Tue Sep 14 20:54:22 2010 New Revision: 212622 URL: http://svn.freebsd.org/changeset/base/212622 Log: Remove dead code. Modified: head/sbin/geom/core/geom.c Modified: head/sbin/geom/core/geom.c ==

svn commit: r212623 - head/sbin/geom/core

2010-09-14 Thread Pawel Jakub Dawidek
Author: pjd Date: Tue Sep 14 20:55:25 2010 New Revision: 212623 URL: http://svn.freebsd.org/changeset/base/212623 Log: Force commit to note, than the previous change was... Submitted by: ae Modified: head/sbin/geom/core/geom.c Modified: head/sbin/geom/core/geom.c

svn commit: r212624 - head/share/man/man4

2010-09-14 Thread Kenneth D. Merry
Author: ken Date: Tue Sep 14 21:40:29 2010 New Revision: 212624 URL: http://svn.freebsd.org/changeset/base/212624 Log: MFp4 (//depot/projects/mps/...) Add a man page for the mps(4) driver, and reference it in the mpt(4) driver man page. Sponsored by: Spectra Logic Corporation

svn commit: r212625 - head/share/man/man4

2010-09-14 Thread Weongyo Jeong
Author: weongyo Date: Tue Sep 14 23:27:06 2010 New Revision: 212625 URL: http://svn.freebsd.org/changeset/base/212625 Log: Fixes spellings and uses the better sentence. While I'm here bumps date. Pointed by: imp, Ruslan Mahmatkhanov cvs-src at yandex dot ru Modified:

svn commit: r212627 - in head/sys/powerpc: aim booke include

2010-09-14 Thread Peter Grehan
Author: grehan Date: Wed Sep 15 00:17:52 2010 New Revision: 212627 URL: http://svn.freebsd.org/changeset/base/212627 Log: Introduce inheritance into the PowerPC MMU kobj interface. include/mmuvar.h - Change the MMU_DEF macro to also create the class definition as well as define the

svn commit: r212628 - head/sys/dev/aac

2010-09-14 Thread Ed Maste
Author: emaste Date: Wed Sep 15 01:19:11 2010 New Revision: 212628 URL: http://svn.freebsd.org/changeset/base/212628 Log: Add some enums and constants from Adaptec's latest driver (build 17911). Modified: head/sys/dev/aac/aacreg.h Modified: head/sys/dev/aac/aacreg.h

svn commit: r212629 - head/lib/libthr/thread

2010-09-14 Thread David Xu
Author: davidxu Date: Wed Sep 15 01:21:30 2010 New Revision: 212629 URL: http://svn.freebsd.org/changeset/base/212629 Log: Move back IN_GCLIST flag into field tlflags, since thread list and gc list still share same lock. Modified: head/lib/libthr/thread/thr_private.h Modified:

Re: svn commit: r212558 - head/usr.bin

2010-09-14 Thread Doug Barton
On 9/13/2010 8:30 AM, Warner Losh wrote: Author: imp Date: Mon Sep 13 15:30:09 2010 New Revision: 212558 URL: http://svn.freebsd.org/changeset/base/212558 Log: Move to using Makefile.arch to include the proper target-specific programs. Modified: head/usr.bin/Makefile Modified:

Re: svn commit: r212558 - head/usr.bin

2010-09-14 Thread M. Warner Losh
In message: 4c9020c5.90...@freebsd.org Doug Barton do...@freebsd.org writes: : On 9/13/2010 8:30 AM, Warner Losh wrote: : Author: imp : Date: Mon Sep 13 15:30:09 2010 : New Revision: 212558 : URL: http://svn.freebsd.org/changeset/base/212558 : : Log: : Move to using

svn commit: r212630 - in head/lib/libthr: . thread

2010-09-14 Thread David Xu
Author: davidxu Date: Wed Sep 15 02:56:32 2010 New Revision: 212630 URL: http://svn.freebsd.org/changeset/base/212630 Log: add code to support stack unwinding when thread exits. note that only defer-mode cancellation works, asynchrnous mode does not work because it lacks of libuwind's

Re: svn commit: r212630 - in head/lib/libthr: . thread

2010-09-14 Thread David Xu
David Xu wrote: Author: davidxu Date: Wed Sep 15 02:56:32 2010 New Revision: 212630 URL: http://svn.freebsd.org/changeset/base/212630 Log: add code to support stack unwinding when thread exits. note that only defer-mode cancellation works, asynchrnous mode does not work because it lacks

Re: svn commit: r212630 - in head/lib/libthr: . thread

2010-09-14 Thread Alexander Kabaev
On Wed, 15 Sep 2010 02:56:33 + (UTC) David Xu davi...@freebsd.org wrote: Author: davidxu Date: Wed Sep 15 02:56:32 2010 New Revision: 212630 URL: http://svn.freebsd.org/changeset/base/212630 Log: add code to support stack unwinding when thread exits. note that only defer-mode

Re: svn commit: r212630 - in head/lib/libthr: . thread

2010-09-14 Thread David Xu
Alexander Kabaev wrote: On Wed, 15 Sep 2010 02:56:33 + (UTC) David Xu davi...@freebsd.org wrote: Author: davidxu Date: Wed Sep 15 02:56:32 2010 New Revision: 212630 URL: http://svn.freebsd.org/changeset/base/212630 Log: add code to support stack unwinding when thread exits. note that

Re: svn commit: r212614 - in head: sbin/geom/class/part sys/geom/part

2010-09-14 Thread Marcel Moolenaar
On Sep 14, 2010, at 9:21 AM, Pawel Jakub Dawidek wrote: Author: pjd Date: Tue Sep 14 16:21:13 2010 New Revision: 212614 URL: http://svn.freebsd.org/changeset/base/212614 Log: - Change all places where G_TYPE_ASCNUM is used to G_TYPE_NUMBER. It turns out the new type wasn't really

svn commit: r212631 - head/share/man/man4

2010-09-14 Thread Alexander Motin
Author: mav Date: Wed Sep 15 04:51:07 2010 New Revision: 212631 URL: http://svn.freebsd.org/changeset/base/212631 Log: Add hpet(4) man page. Added: head/share/man/man4/hpet.4 (contents, props changed) Modified: head/share/man/man4/Makefile Modified: head/share/man/man4/Makefile

svn commit: r212632 - in head/sys/mips: cavium include mips sibyte

2010-09-14 Thread Neel Natu
Author: neel Date: Wed Sep 15 05:10:50 2010 New Revision: 212632 URL: http://svn.freebsd.org/changeset/base/212632 Log: Make the meaning of the 'mask' argument to 'set_intr_mask(mask)' consistent with the meaning of IM bits in the status register. Reviewed by: jmallett, jchandra

svn commit: r212633 - head/sys/mips/conf

2010-09-14 Thread Neel Natu
Author: neel Date: Wed Sep 15 05:29:13 2010 New Revision: 212633 URL: http://svn.freebsd.org/changeset/base/212633 Log: Factor out the common parts of the swarm board in SWARM_COMMON and start including that in SWARM and SWARM_SMP kernel configs. Added: head/sys/mips/conf/SWARM_COMMON

svn commit: r212634 - in head/sys: conf mips/conf

2010-09-14 Thread Neel Natu
Author: neel Date: Wed Sep 15 05:32:10 2010 New Revision: 212634 URL: http://svn.freebsd.org/changeset/base/212634 Log: Add 64-bit SWARM board kernel configs. Added: head/sys/conf/ldscript.mips.64.cfe (contents, props changed) head/sys/mips/conf/SWARM64 (contents, props changed)