svn commit: r254132 - head/etc/namedb

2013-08-09 Thread Erwin Lansing
Author: erwin Date: Fri Aug 9 07:57:04 2013 New Revision: 254132 URL: http://svnweb.freebsd.org/changeset/base/254132 Log: Add empty zones for Shared Address Space (RFC 6598) Approved by: delphij (mentor) MFC after:3 days Sponsored by: DK Hostmaster A/S Modified:

svn commit: r254133 - in head/sys: amd64/conf i386/conf ia64/conf powerpc/conf sparc64/conf

2013-08-09 Thread Andriy Gapon
Author: avg Date: Fri Aug 9 08:11:09 2013 New Revision: 254133 URL: http://svnweb.freebsd.org/changeset/base/254133 Log: follow up to r254051 - update powerpc/GENERIC64 as well, suggested by mdf - update comments so that they make sense after the change, suggested by jhb X-MFC

Re: svn commit: r254025 - in head/sys: amd64/amd64 arm/arm arm/at91 arm/mv/armadaxp arm/s3c2xx0 arm/xscale/i80321 arm/xscale/i8134x arm/xscale/ixp425 cddl/compat/opensolaris/kern cddl/compat/opensolar

2013-08-09 Thread Zbigniew Bodek
2013/8/8 Zbyszek Bodek z...@semihalf.com On 07.08.2013 20:55, Jeff Roberson wrote: On Wed, 7 Aug 2013, Zbyszek Bodek wrote: On 07.08.2013 08:21, Jeff Roberson wrote: Author: jeff Date: Wed Aug 7 06:21:20 2013 New Revision: 254025 URL:

svn commit: r254134 - head/bin/pkill

2013-08-09 Thread Edward Tomasz Napierala
Author: trasz Date: Fri Aug 9 08:38:51 2013 New Revision: 254134 URL: http://svnweb.freebsd.org/changeset/base/254134 Log: Add -c flag to pgrep(1) and pkill(1), to match login classes. MFC after:1 month Modified: head/bin/pkill/pkill.1 head/bin/pkill/pkill.c Modified:

svn commit: r254135 - head/sys/kern

2013-08-09 Thread Edward Tomasz Napierala
Author: trasz Date: Fri Aug 9 08:40:31 2013 New Revision: 254135 URL: http://svnweb.freebsd.org/changeset/base/254135 Log: Don't dereference null pointer should acl_alloc() be passed M_NOWAIT and allocation failed. Nothing in the tree passed M_NOWAIT. Obtained from:mjg MFC

svn commit: r254138 - in head: share/man/man9 sys/amd64/amd64 sys/arm/arm sys/cddl/contrib/opensolaris/uts/common/fs/zfs sys/dev/agp sys/dev/drm2/i915 sys/dev/drm2/ttm sys/dev/md sys/fs/fuse sys/fs...

2013-08-09 Thread Attilio Rao
Author: attilio Date: Fri Aug 9 11:11:11 2013 New Revision: 254138 URL: http://svnweb.freebsd.org/changeset/base/254138 Log: The soft and hard busy mechanism rely on the vm object lock to work. Unify the 2 concept into a real, minimal, sxlock where the shared acquisition represent the soft

svn commit: r254139 - in head: share/man/man9 sys/kern

2013-08-09 Thread Attilio Rao
Author: attilio Date: Fri Aug 9 11:24:29 2013 New Revision: 254139 URL: http://svnweb.freebsd.org/changeset/base/254139 Log: Give mutex(9) the ability to recurse on a per-instance basis. Now the MTX_RECURSE flag can be passed to the mtx_*_flag() calls. This helps in cases we want to narrow

svn commit: r254141 - in head/sys: amd64/amd64 dev/drm2/i915 dev/drm2/ttm i386/i386 kern vm

2013-08-09 Thread Attilio Rao
Author: attilio Date: Fri Aug 9 11:28:55 2013 New Revision: 254141 URL: http://svnweb.freebsd.org/changeset/base/254141 Log: On all the architectures, avoid to preallocate the physical memory for nodes used in vm_radix. On architectures supporting direct mapping, also avoid to pre-allocate

svn commit: r254147 - in head: share/man/man4 sys/conf sys/dev/random tools/tools/sysdoc

2013-08-09 Thread David E. O'Brien
Author: obrien Date: Fri Aug 9 15:31:50 2013 New Revision: 254147 URL: http://svnweb.freebsd.org/changeset/base/254147 Log: * Add random_adaptors.[ch] which is basically a store of random_adaptor's. random_adaptor is basically an adapter that plugs in to random(4). random_adaptor can

Re: svn commit: r253996 - in head: . sys/cddl/compat/opensolaris/sys sys/cddl/dev/dtrace sys/conf sys/modules/cyclic sys/modules/dtrace/dtio sys/modules/dtrace/dtmalloc sys/modules/dtrace/dtnfscl sys/

2013-08-09 Thread David O'Brien
On Tue, Aug 06, 2013 at 03:51:56PM +, Andriy Gapon wrote: Log: .. Also, meaning of DEBUG was overloaded to enable WITNESS support for some OpenSolaris (primarily ZFS) locks. Now this overloading is removed and that use of DEBUG is replaced with a new option OPENSOLARIS_WITNESS. You

Re: svn commit: r254141 - in head/sys: amd64/amd64 dev/drm2/i915 dev/drm2/ttm i386/i386 kern vm

2013-08-09 Thread Tijl Coosemans
On Fri, 9 Aug 2013 11:28:56 + (UTC) Attilio Rao wrote: Author: attilio Date: Fri Aug 9 11:28:55 2013 New Revision: 254141 URL: http://svnweb.freebsd.org/changeset/base/254141 Log: On all the architectures, avoid to preallocate the physical memory for nodes used in vm_radix. On

Re: svn commit: r254139 - in head: share/man/man9 sys/kern

2013-08-09 Thread John Baldwin
On Friday, August 09, 2013 7:24:29 am Attilio Rao wrote: Author: attilio Date: Fri Aug 9 11:24:29 2013 New Revision: 254139 URL: http://svnweb.freebsd.org/changeset/base/254139 Log: Give mutex(9) the ability to recurse on a per-instance basis. Now the MTX_RECURSE flag can be passed

svn commit: r254150 - head/sys/vm

2013-08-09 Thread David E. O'Brien
Author: obrien Date: Fri Aug 9 16:43:50 2013 New Revision: 254150 URL: http://svnweb.freebsd.org/changeset/base/254150 Log: Add missing 'VPO_BUSY' from r254141 to fix kernel build break. Modified: head/sys/vm/vm_page.h Modified: head/sys/vm/vm_page.h

svn commit: r254151 - in head: include lib/libc/stdio tools/regression/lib/libc/stdio

2013-08-09 Thread Jilles Tjoelker
Author: jilles Date: Fri Aug 9 17:24:23 2013 New Revision: 254151 URL: http://svnweb.freebsd.org/changeset/base/254151 Log: Add mkostemp() and mkostemps(). These are like mkstemp() and mkstemps() but allow passing open(2) flags like O_CLOEXEC. Added:

Re: svn commit: r253996 - in head: . sys/cddl/compat/opensolaris/sys sys/cddl/dev/dtrace sys/conf sys/modules/cyclic sys/modules/dtrace/dtio sys/modules/dtrace/dtmalloc sys/modules/dtrace/dtnfscl sys/

2013-08-09 Thread Andriy Gapon
on 09/08/2013 18:48 David O'Brien said the following: On Tue, Aug 06, 2013 at 03:51:56PM +, Andriy Gapon wrote: Log: .. Also, meaning of DEBUG was overloaded to enable WITNESS support for some OpenSolaris (primarily ZFS) locks. Now this overloading is removed and that use of DEBUG

svn commit: r254155 - head/sys/boot/ficl

2013-08-09 Thread Marcel Moolenaar
Author: marcel Date: Fri Aug 9 19:10:56 2013 New Revision: 254155 URL: http://svnweb.freebsd.org/changeset/base/254155 Log: Fix the freaddir implementation for the stand-alone interpreter. Bug pointed out by: Jan Beich jbe...@tormail.org Modified: head/sys/boot/ficl/loader.c Modified:

Re: svn commit: r253862 - head/sys/boot/ficl

2013-08-09 Thread Marcel Moolenaar
On Aug 4, 2013, at 9:52 PM, Jan Beich jbe...@tormail.org wrote: It's probably not going to work on any other FS. The alternative is to just not support freaddir due to lack of runtime support. What's the issue with my version in bin/172542 ? It doesn't use d_reclen but relies on a

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

2013-08-09 Thread John Baldwin
On Friday, August 09, 2013 12:43:50 pm David E. O'Brien wrote: Author: obrien Date: Fri Aug 9 16:43:50 2013 New Revision: 254150 URL: http://svnweb.freebsd.org/changeset/base/254150 Log: Add missing 'VPO_BUSY' from r254141 to fix kernel build break. Modified: head/sys/vm/vm_page.h

svn commit: r254159 - head/tools/tools/usbtest

2013-08-09 Thread Hans Petter Selasky
Author: hselasky Date: Fri Aug 9 20:08:42 2013 New Revision: 254159 URL: http://svnweb.freebsd.org/changeset/base/254159 Log: Initial commit of my USB test code which can exercise connected USB devices and the FreeBSD USB stack itself. This program can be used to test compliance against

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

2013-08-09 Thread John Baldwin
On Friday, August 09, 2013 4:34:36 pm Alan Cox wrote: On Aug 9, 2013, at 12:56 PM, John Baldwin wrote: On Friday, August 09, 2013 12:43:50 pm David E. O'Brien wrote: Author: obrien Date: Fri Aug 9 16:43:50 2013 New Revision: 254150 URL:

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

2013-08-09 Thread Alan Cox
On Aug 9, 2013, at 1:34 PM, Alan Cox wrote: On Aug 9, 2013, at 12:56 PM, John Baldwin wrote: On Friday, August 09, 2013 12:43:50 pm David E. O'Brien wrote: Author: obrien Date: Fri Aug 9 16:43:50 2013 New Revision: 254150 URL: http://svnweb.freebsd.org/changeset/base/254150 Log:

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

2013-08-09 Thread Alan Cox
On Aug 9, 2013, at 1:39 PM, John Baldwin wrote: On Friday, August 09, 2013 4:34:36 pm Alan Cox wrote: On Aug 9, 2013, at 12:56 PM, John Baldwin wrote: On Friday, August 09, 2013 12:43:50 pm David E. O'Brien wrote: Author: obrien Date: Fri Aug 9 16:43:50 2013 New Revision: 254150 URL:

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

2013-08-09 Thread Alan Cox
On Aug 9, 2013, at 1:45 PM, John Baldwin wrote: On Friday, August 09, 2013 4:40:10 pm Alan Cox wrote: On Aug 9, 2013, at 1:34 PM, Alan Cox wrote: On Aug 9, 2013, at 12:56 PM, John Baldwin wrote: On Friday, August 09, 2013 12:43:50 pm David E. O'Brien wrote: Author: obrien Date: Fri

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

2013-08-09 Thread Adrian Chadd
... ? Can we please back it all out and then re-test attilio's patch with alan's fix, before committing it all again? I kinda have a vested interest at ${WORK} to be able to test -10 HEAD right now for all these performance investigations and fixes that need to happen for us; having the VM

svn commit: r254163 - head/sys/vm

2013-08-09 Thread John Baldwin
Author: jhb Date: Fri Aug 9 21:14:55 2013 New Revision: 254163 URL: http://svnweb.freebsd.org/changeset/base/254163 Log: Revert the addition of VPO_BUSY and instead update vm_page_replace() to properly unbusy the page. Submitted by: alc Modified: head/sys/vm/vm_page.c

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

2013-08-09 Thread alc
Quoting Adrian Chadd adr...@freebsd.org: ... ? Can we please back it all out and then re-test attilio's patch with alan's fix, before committing it all again? John is doing a sanity check on my patch. He'll commit it shortly. So, I don't think that we need to go as far as backing

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

2013-08-09 Thread Peter Wemm
On Fri, Aug 9, 2013 at 2:13 PM, Adrian Chadd adr...@freebsd.org wrote: ... ? Can we please back it all out and then re-test attilio's patch with alan's fix, before committing it all again? I kinda have a vested interest at ${WORK} to be able to test -10 HEAD right now for all these

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

2013-08-09 Thread Adrian Chadd
No, we should upgrade the cluster, watch it fail, and then let people experience their own handiwork. Sheesh. :( -adrian On 9 August 2013 14:19, Peter Wemm pe...@wemm.org wrote: On Fri, Aug 9, 2013 at 2:13 PM, Adrian Chadd adr...@freebsd.org wrote: ... ? Can we please back it all out and

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

2013-08-09 Thread Scott Long
Yes, at least some of this stuff is coming to light because we're aggressively tracking top-of-tree in both 9 and 10. Which is good. But highly annoying at times. But good in the long run. It means that 9.2 won't suck, and 10.0 won't suck. =-) Scott On Aug 9, 2013, at 3:22 PM, Adrian Chadd

svn commit: r254164 - head/sys/arm/include

2013-08-09 Thread Olivier Houchard
Author: cognet Date: Fri Aug 9 21:53:02 2013 New Revision: 254164 URL: http://svnweb.freebsd.org/changeset/base/254164 Log: Make sure vm_kmem_size is aligned on a page boundary, since that's what vmem expects. Modified: head/sys/arm/include/vmparam.h Modified:

svn commit: r254165 - head/sys/arm/arm

2013-08-09 Thread Olivier Houchard
Author: cognet Date: Fri Aug 9 21:56:28 2013 New Revision: 254165 URL: http://svnweb.freebsd.org/changeset/base/254165 Log: - The address lies in the bus space handle, not in the cookie - Use the right address when calling kva_free() Modified: head/sys/arm/arm/bus_space_generic.c

Re: svn commit: r254164 - head/sys/arm/include

2013-08-09 Thread Alan Cox
On Aug 9, 2013, at 2:53 PM, Olivier Houchard wrote: Author: cognet Date: Fri Aug 9 21:53:02 2013 New Revision: 254164 URL: http://svnweb.freebsd.org/changeset/base/254164 Log: Make sure vm_kmem_size is aligned on a page boundary, since that's what vmem expects. Modified:

svn commit: r254166 - in head/sys: arm/include kern

2013-08-09 Thread Olivier Houchard
Author: cognet Date: Fri Aug 9 22:30:54 2013 New Revision: 254166 URL: http://svnweb.freebsd.org/changeset/base/254166 Log: Instead of just trying to do it for arm, make sure vm_kmem_size is properly aligned in kmeminit(), where it'll work for any arch. Suggested by: alc Modified:

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

2013-08-09 Thread Olivier Houchard
Author: cognet Date: Fri Aug 9 23:13:52 2013 New Revision: 254167 URL: http://svnweb.freebsd.org/changeset/base/254167 Log: Don't call sleepinit() from proc0_init(), make it a SYSINIT instead. vmem needs the sleepq locks to be initialized when free'ing kva, so we want it called as early as

Re: svn commit: r254025 - in head/sys: amd64/amd64 arm/arm arm/at91 arm/mv/armadaxp arm/s3c2xx0 arm/xscale/i80321 arm/xscale/i8134x arm/xscale/ixp425 cddl/compat/opensolaris/kern cddl/compat/opensolar

2013-08-09 Thread Olivier Houchard
On Fri, Aug 09, 2013 at 10:27:48AM +0200, Zbigniew Bodek wrote: 2013/8/8 Zbyszek Bodek z...@semihalf.com On 07.08.2013 20:55, Jeff Roberson wrote: On Wed, 7 Aug 2013, Zbyszek Bodek wrote: On 07.08.2013 08:21, Jeff Roberson wrote: Author: jeff Date: Wed Aug 7 06:21:20 2013

svn commit: r254168 - head/sys/vm

2013-08-09 Thread Andrey Zonov
Author: zont Date: Fri Aug 9 23:47:43 2013 New Revision: 254168 URL: http://svnweb.freebsd.org/changeset/base/254168 Log: Remove unused definition for CTL_VM_NAMES. Suggested by: bde Modified: head/sys/vm/vm_param.h Modified: head/sys/vm/vm_param.h

svn commit: r254171 - head/sys/arm/s3c2xx0

2013-08-09 Thread Olivier Houchard
Author: cognet Date: Sat Aug 10 00:31:49 2013 New Revision: 254171 URL: http://svnweb.freebsd.org/changeset/base/254171 Log: - The address lies in the bus space handle, not in the cookie - Use the right address when calling kva_free() (Is there any reason why the s3c2xx0 comes with its own

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

2013-08-09 Thread Peter Wemm
On Fri, Aug 9, 2013 at 2:22 PM, Adrian Chadd adr...@freebsd.org wrote: No, we should upgrade the cluster, watch it fail, and then let people experience their own handiwork. It could turn out a bit like this:

Re: svn commit: r254171 - head/sys/arm/s3c2xx0

2013-08-09 Thread Alan Cox
On Aug 9, 2013, at 5:31 PM, Olivier Houchard wrote: Author: cognet Date: Sat Aug 10 00:31:49 2013 New Revision: 254171 URL: http://svnweb.freebsd.org/changeset/base/254171 Log: - The address lies in the bus space handle, not in the cookie - Use the right address when calling

Re: svn commit: r254171 - head/sys/arm/s3c2xx0

2013-08-09 Thread Olivier Houchard
On Fri, Aug 09, 2013 at 05:43:37PM -0700, Alan Cox wrote: On Aug 9, 2013, at 5:31 PM, Olivier Houchard wrote: Author: cognet Date: Sat Aug 10 00:31:49 2013 New Revision: 254171 URL: http://svnweb.freebsd.org/changeset/base/254171 Log: - The address lies in the bus space

svn commit: r254172 - head/sys/arm/s3c2xx0

2013-08-09 Thread Olivier Houchard
Author: cognet Date: Sat Aug 10 00:53:22 2013 New Revision: 254172 URL: http://svnweb.freebsd.org/changeset/base/254172 Log: Use the correct address when calling kva_free() Pointy hat to:cognet Spotted out by: alc Modified: head/sys/arm/s3c2xx0/s3c2xx0_space.c Modified:

svn commit: r254173 - head/usr.sbin/watchdogd

2013-08-09 Thread Alfred Perlstein
Author: alfred Date: Sat Aug 10 01:48:15 2013 New Revision: 254173 URL: http://svnweb.freebsd.org/changeset/base/254173 Log: Fix bug in r253719: fix command line watchdog disable. r253719 disallowed watchdog(8) from disabling the watchdog by breaking the ability to pass 0 as a timeout