svn commit: r234369 - head/sys/dev/ath

2012-04-17 Thread Adrian Chadd
Author: adrian Date: Tue Apr 17 06:02:41 2012 New Revision: 234369 URL: http://svn.freebsd.org/changeset/base/234369 Log: Run the fatal proc as a proc, rather than where it currently is. Otherwise the reset path will sleep, which it can't do in this context. Modified:

Re: svn commit: r233296 - head/lib/libc/gen

2012-04-17 Thread Sergey Kandaurov
On 14 April 2012 15:31, Jeremie Le Hen jere...@le-hen.org wrote: Hi Sergey, On Thu, Mar 22, 2012 at 09:42:28AM +, Sergey Kandaurov wrote: Author: pluknet Date: Thu Mar 22 09:42:27 2012 New Revision: 233296 URL: http://svn.freebsd.org/changeset/base/233296 Log:   Prevent fs_file NULL

svn commit: r234370 - in head: contrib/jemalloc contrib/jemalloc/doc contrib/jemalloc/include contrib/jemalloc/include/jemalloc contrib/jemalloc/include/jemalloc/internal contrib/jemalloc/src inclu...

2012-04-17 Thread Jason Evans
Author: jasone Date: Tue Apr 17 07:22:14 2012 New Revision: 234370 URL: http://svn.freebsd.org/changeset/base/234370 Log: Import jemalloc 9ef7f5dc34ff02f50d401e41c8d9a4a928e7c2aa (dev branch, prior to 3.0.0 release) as contrib/jemalloc, and integrate it into libc. The code being imported by

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

2012-04-17 Thread David Xu
Author: davidxu Date: Tue Apr 17 09:02:55 2012 New Revision: 234371 URL: http://svn.freebsd.org/changeset/base/234371 Log: MFC r233912: mtx operation UMTX_OP_MUTEX_WAKE has a side-effect that it accesses a mutex after a thread has unlocked it, it event writes data to the mutex memory

svn commit: r234372 - stable/9/lib/libthr/thread

2012-04-17 Thread David Xu
Author: davidxu Date: Tue Apr 17 09:09:14 2012 New Revision: 234372 URL: http://svn.freebsd.org/changeset/base/234372 Log: Merge 233103, 233912 from head: 233103: Some software think a mutex can be destroyed after it owned it, for example, it uses a serialization point like following:

svn commit: r234373 - stable/8/lib/libthr/thread

2012-04-17 Thread David Xu
Author: davidxu Date: Tue Apr 17 09:18:06 2012 New Revision: 234373 URL: http://svn.freebsd.org/changeset/base/234373 Log: Merge 233103 from head: Some software think a mutex can be destroyed after it owned it, for example, it uses a serialization point like following:

Re: svn commit: r234370 - in head: contrib/jemalloc contrib/jemalloc/doc contrib/jemalloc/include contrib/jemalloc/include/jemalloc contrib/jemalloc/include/jemalloc/internal contrib/jemalloc/src incl

2012-04-17 Thread Bjoern A. Zeeb
On 17. Apr 2012, at 07:22 , Jason Evans wrote: Author: jasone Date: Tue Apr 17 07:22:14 2012 New Revision: 234370 URL: http://svn.freebsd.org/changeset/base/234370 Log: Import jemalloc 9ef7f5dc34ff02f50d401e41c8d9a4a928e7c2aa (dev branch, prior to 3.0.0 release) as contrib/jemalloc,

Re: svn commit: r234370 - in head: contrib/jemalloc contrib/jemalloc/doc contrib/jemalloc/include contrib/jemalloc/include/jemalloc contrib/jemalloc/include/jemalloc/internal contrib/jemalloc/src incl

2012-04-17 Thread Bjoern A. Zeeb
On 17. Apr 2012, at 09:35 , Bjoern A. Zeeb wrote: On 17. Apr 2012, at 07:22 , Jason Evans wrote: Author: jasone Date: Tue Apr 17 07:22:14 2012 New Revision: 234370 URL: http://svn.freebsd.org/changeset/base/234370 Log: Import jemalloc 9ef7f5dc34ff02f50d401e41c8d9a4a928e7c2aa (dev

svn commit: r234374 - head/sys/cam/scsi

2012-04-17 Thread Edward Tomasz Napierala
Author: trasz Date: Tue Apr 17 10:44:28 2012 New Revision: 234374 URL: http://svn.freebsd.org/changeset/base/234374 Log: Fix panic at boot with SD/MMC readers with no media present, introduced at r234177. Note that this is a temporary fix, until I come up with something prettier.

svn commit: r234375 - stable/9/sys/dev/xen/balloon

2012-04-17 Thread Sergey Kandaurov
Author: pluknet Date: Tue Apr 17 11:01:17 2012 New Revision: 234375 URL: http://svn.freebsd.org/changeset/base/234375 Log: MFC r233939: Free ballooned pages with the corresponding malloc type. Modified: stable/9/sys/dev/xen/balloon/balloon.c Directory Properties: stable/9/sys/ (props

svn commit: r234376 - head/share/misc

2012-04-17 Thread Alexander Motin
Author: mav Date: Tue Apr 17 11:13:03 2012 New Revision: 234376 URL: http://svn.freebsd.org/changeset/base/234376 Log: Add some more SCSI mode pages from SPC-4 spec. MFC after:1 week Modified: head/share/misc/scsi_modes Modified: head/share/misc/scsi_modes

svn commit: r234377 - stable/8/sys/dev/xen/balloon

2012-04-17 Thread Sergey Kandaurov
Author: pluknet Date: Tue Apr 17 11:49:21 2012 New Revision: 234377 URL: http://svn.freebsd.org/changeset/base/234377 Log: MFC r233939: Free ballooned pages with the corresponding malloc type. Modified: stable/8/sys/dev/xen/balloon/balloon.c Directory Properties: stable/8/sys/ (props

svn commit: r234378 - stable/9/lib/libc/gen

2012-04-17 Thread Sergey Kandaurov
Author: pluknet Date: Tue Apr 17 11:54:01 2012 New Revision: 234378 URL: http://svn.freebsd.org/changeset/base/234378 Log: MFC 233296,233300: Prevent fs_file NULL pointer dereference. Modified: stable/9/lib/libc/gen/fstab.c Directory Properties: stable/9/lib/libc/ (props changed)

Re: svn commit: r233296 - head/lib/libc/gen

2012-04-17 Thread Sergey Kandaurov
On 14 April 2012 15:31, Jeremie Le Hen jere...@le-hen.org wrote: Hi Sergey, On Thu, Mar 22, 2012 at 09:42:28AM +, Sergey Kandaurov wrote: Author: pluknet Date: Thu Mar 22 09:42:27 2012 New Revision: 233296 URL: http://svn.freebsd.org/changeset/base/233296 Log:   Prevent fs_file NULL

svn commit: r234379 - stable/8/lib/libc/gen

2012-04-17 Thread Sergey Kandaurov
Author: pluknet Date: Tue Apr 17 11:55:19 2012 New Revision: 234379 URL: http://svn.freebsd.org/changeset/base/234379 Log: MFC 233296,233300: Prevent fs_file NULL pointer dereference. Modified: stable/8/lib/libc/gen/fstab.c Directory Properties: stable/8/lib/libc/ (props changed)

svn commit: r234380 - head/sys/kern

2012-04-17 Thread Edward Tomasz Napierala
Author: trasz Date: Tue Apr 17 13:28:14 2012 New Revision: 234380 URL: http://svn.freebsd.org/changeset/base/234380 Log: Enforce upper bound on the input buffer length. Reported by: Mateusz Guzik Modified: head/sys/kern/kern_rctl.c Modified: head/sys/kern/kern_rctl.c

svn commit: r234381 - head/sys/kern

2012-04-17 Thread Edward Tomasz Napierala
Author: trasz Date: Tue Apr 17 13:44:40 2012 New Revision: 234381 URL: http://svn.freebsd.org/changeset/base/234381 Log: Fix panic, triggered like this: int main() { thr_exit(); } Submitted by: Mateusz Guzik Modified: head/sys/kern/kern_thr.c Modified: head/sys/kern/kern_thr.c

svn commit: r234383 - head/sys/kern

2012-04-17 Thread Edward Tomasz Napierala
Author: trasz Date: Tue Apr 17 14:31:02 2012 New Revision: 234383 URL: http://svn.freebsd.org/changeset/base/234383 Log: Stop treating system processes as special. This fixes panics like the one triggered by this: # kldload geom_vinum # pwait `pgrep -S gv_worker` # kldunload

svn commit: r234385 - head/sys/kern

2012-04-17 Thread Edward Tomasz Napierala
Author: trasz Date: Tue Apr 17 14:54:00 2012 New Revision: 234385 URL: http://svn.freebsd.org/changeset/base/234385 Log: Fix bug where NFSv4 ACL enforcement code wouldn't unconditionally allow the owner to read and write ACL and file attributes when there was no entry with subject matching

svn commit: r234386 - in head/sys: fs/coda fs/ext2fs fs/msdosfs fs/nfsclient kern nfsclient sys ufs/ffs ufs/ufs

2012-04-17 Thread Kirk McKusick
Author: mckusick Date: Tue Apr 17 16:28:22 2012 New Revision: 234386 URL: http://svn.freebsd.org/changeset/base/234386 Log: Replace the MNT_VNODE_FOREACH interface with MNT_VNODE_FOREACH_ALL. The primary changes are that the user of the interface no longer needs to manage the mount-mutex

Re: svn commit: r234370 - in head: contrib/jemalloc contrib/jemalloc/doc contrib/jemalloc/include contrib/jemalloc/include/jemalloc contrib/jemalloc/include/jemalloc/internal contrib/jemalloc/src incl

2012-04-17 Thread Adrian Chadd
On 17 April 2012 02:43, Bjoern A. Zeeb b...@freebsd.org wrote: Actually it seems these failed: arm.armeb buildworld failed, check _.arm.armeb.buildworld for details arm.arm buildworld failed, check _.arm.arm.buildworld for details mips.mips64 buildworld failed, check _.mips.mips64.buildworld

Re: svn commit: r234370 - in head: contrib/jemalloc contrib/jemalloc/doc contrib/jemalloc/include contrib/jemalloc/include/jemalloc contrib/jemalloc/include/jemalloc/internal contrib/jemalloc/src incl

2012-04-17 Thread Jason Evans
On Apr 17, 2012, at 11:05 AM, Adrian Chadd wrote: On 17 April 2012 02:43, Bjoern A. Zeeb b...@freebsd.org wrote: Actually it seems these failed: arm.armeb buildworld failed, check _.arm.armeb.buildworld for details arm.arm buildworld failed, check _.arm.arm.buildworld for details

Re: svn commit: r234370 - in head: contrib/jemalloc contrib/jemalloc/doc contrib/jemalloc/include contrib/jemalloc/include/jemalloc contrib/jemalloc/include/jemalloc/internal contrib/jemalloc/src incl

2012-04-17 Thread Adrian Chadd
I can ship you some mips hardware if you'd like. :-) Adrian ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to svn-src-all-unsubscr...@freebsd.org

svn commit: r234391 - in stable/9/sys: amd64/amd64 amd64/include i386/conf i386/i386 i386/include kern

2012-04-17 Thread John Baldwin
Author: jhb Date: Tue Apr 17 19:55:31 2012 New Revision: 234391 URL: http://svn.freebsd.org/changeset/base/234391 Log: MFC 234059: Recognize the RDRAND instruction feature. Modified: stable/9/sys/amd64/amd64/identcpu.c stable/9/sys/amd64/include/specialreg.h

svn commit: r234392 - in stable/8/sys: amd64/amd64 amd64/include i386/conf i386/i386 i386/include

2012-04-17 Thread John Baldwin
Author: jhb Date: Tue Apr 17 19:55:55 2012 New Revision: 234392 URL: http://svn.freebsd.org/changeset/base/234392 Log: MFC 234059: Recognize the RDRAND instruction feature. Modified: stable/8/sys/amd64/amd64/identcpu.c stable/8/sys/amd64/include/specialreg.h

svn commit: r234395 - head

2012-04-17 Thread Jason Evans
/etc/malloc.conf.) +20120417: + The malloc(3) implementation embedded in libc now uses sources imported + as contrib/jemalloc. The most disruptive API change is to + /etc/malloc.conf. If your system has an old-style /etc/malloc.conf, + delete it prior to installworld

Re: svn commit: r234395 - head

2012-04-17 Thread John Nielsen
performance. (To disable malloc debugging, run ln -s aj /etc/malloc.conf.) Thanks! Note also the above (which I wouldn't have thought of if it hadn't been in this diff). Want to omit or modify the malloc.conf advice at the top of the file? +20120417: + The malloc(3) implementation embedded

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

2012-04-17 Thread Dimitry Andric
On 2012-04-02 13:52, John Baldwin wrote: ... It seems the for loop walks the list until the end, then tacks 'sc' onto it. So to 'fix' the warning, and make the meaning more explicit, we should probably rewrite that fragment as: LIST_INIT((sc-ha_ccb)); /* Link us into the HA

Re: svn commit: r234395 - head

2012-04-17 Thread Ivan Klymenko
machines to maximize performance. (To disable malloc debugging, run ln -s aj /etc/malloc.conf.) +20120417: + The malloc(3) implementation embedded in libc now uses sources imported + as contrib/jemalloc. The most disruptive API change is to + /etc/malloc.conf. If your

svn commit: r234396 - head

2012-04-17 Thread Jason Evans
disable malloc + debugging, define MALLOC_PRODUCTION in /etc/make.conf, or to merely + disable the most expensive debugging functionality run + ln -s 'abort:false,junk:false' /etc/malloc.conf.) 20120417: The malloc(3) implementation embedded in libc now uses sources

Re: svn commit: r234396 - head

2012-04-17 Thread Ivan Klymenko
/etc/malloc.conf.) + machines to maximize performance. (To completely disable malloc + debugging, define MALLOC_PRODUCTION in /etc/make.conf, or to merely + disable the most expensive debugging functionality run + ln -s 'abort:false,junk:false' /etc/malloc.conf.) 20120417

Re: svn commit: r234396 - head

2012-04-17 Thread Ivan Klymenko
/etc/malloc.conf.) + machines to maximize performance. (To completely disable malloc + debugging, define MALLOC_PRODUCTION in /etc/make.conf, or to merely + disable the most expensive debugging functionality run + ln -s 'abort:false,junk:false' /etc/malloc.conf.) 20120417

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

2012-04-17 Thread Kirk McKusick
Author: mckusick Date: Tue Apr 17 21:46:59 2012 New Revision: 234400 URL: http://svn.freebsd.org/changeset/base/234400 Log: Drop export of vdestroy() function from kern/vfs_subr.c as it is used only as a helper function in that file. Replace sole call to vbusy() with inline code in

svn commit: r234402 - in head/contrib/jemalloc: . doc include/jemalloc include/jemalloc/internal

2012-04-17 Thread Jason Evans
Author: jasone Date: Tue Apr 17 22:05:55 2012 New Revision: 234402 URL: http://svn.freebsd.org/changeset/base/234402 Log: Import jemalloc b57d3ec571c6551231be62b7bf92c084a8c8291c (dev branch, prior to 3.0.0 release), which supports atomic operations based on atomic(9). This should fix build

Re: svn commit: r234370 - in head: contrib/jemalloc contrib/jemalloc/doc contrib/jemalloc/include contrib/jemalloc/include/jemalloc contrib/jemalloc/include/jemalloc/internal contrib/jemalloc/src incl

2012-04-17 Thread Doug Barton
On 04/17/2012 00:22, Jason Evans wrote: Import jemalloc 9ef7f5dc34ff02f50d401e41c8d9a4a928e7c2aa (dev branch, prior to 3.0.0 release) as contrib/jemalloc Isn't stuff in src/contrib supposed to have a vendor/ branch? I think obrien mentioned this to you ... See

svn commit: r234403 - head/sys/net

2012-04-17 Thread Andrew Thompson
Author: thompsa Date: Wed Apr 18 01:39:14 2012 New Revision: 234403 URL: http://svn.freebsd.org/changeset/base/234403 Log: Remove KASSERTS, they do not add any value here since the pointer is about to be derefernced anyway. Modified: head/sys/net/if.c Modified: head/sys/net/if.c

Re: svn commit: r234403 - head/sys/net

2012-04-17 Thread Peter Jeremy
On 2012-Apr-18 01:39:14 +, Andrew Thompson thom...@freebsd.org wrote: Log: Remove KASSERTS, they do not add any value here since the pointer is about to be derefernced anyway. Could you give a bit more background to this commit. You get a crash in both cases but the KASSERT() at least

Re: svn commit: r234403 - head/sys/net

2012-04-17 Thread Andrew Thompson
On 18 April 2012 14:16, Peter Jeremy peterjer...@acm.org wrote: On 2012-Apr-18 01:39:14 +, Andrew Thompson thom...@freebsd.org wrote: Log:  Remove KASSERTS, they do not add any value here since the pointer is about to  be derefernced anyway. Could you give a bit more background to this

Re: svn commit: r234400 - in head/sys: kern sys

2012-04-17 Thread Bruce Evans
On Tue, 17 Apr 2012, Kirk McKusick wrote: Log: Drop export of vdestroy() function from kern/vfs_subr.c as it is used only as a helper function in that file. Replace sole call to vbusy() with inline code in vholdl(). Replace sole calls to vfree() and vdestroy() with inline code in vdropl().

svn commit: r234405 - stable/8/sys/geom/part

2012-04-17 Thread Andrey V. Elsukov
Author: ae Date: Wed Apr 18 04:39:37 2012 New Revision: 234405 URL: http://svn.freebsd.org/changeset/base/234405 Log: MFC r233175: Make kern.geom.part node not static. Also add CTLFLAG_TUN to the check_integrity sysctl. Modified: stable/8/sys/geom/part/g_part.c Directory Properties:

svn commit: r234404 - stable/9/sys/geom/part

2012-04-17 Thread Andrey V. Elsukov
Author: ae Date: Wed Apr 18 04:39:12 2012 New Revision: 234404 URL: http://svn.freebsd.org/changeset/base/234404 Log: MFC r233175: Make kern.geom.part node not static. Also add CTLFLAG_TUN to the check_integrity sysctl. Modified: stable/9/sys/geom/part/g_part.c Directory Properties:

svn commit: r234406 - in stable/9/sys: conf geom/part modules/geom/geom_part modules/geom/geom_part/geom_part_ldm

2012-04-17 Thread Andrey V. Elsukov
Author: ae Date: Wed Apr 18 04:59:47 2012 New Revision: 234406 URL: http://svn.freebsd.org/changeset/base/234406 Log: MFC r233176: Add new GEOM_PART_LDM module that implements the Logical Disk Manager scheme. The LDM is a logical volume manager for MS Windows NT and it is also known

svn commit: r234407 - in stable/8/sys: conf geom/part modules/geom/geom_part modules/geom/geom_part/geom_part_ldm

2012-04-17 Thread Andrey V. Elsukov
Author: ae Date: Wed Apr 18 05:00:25 2012 New Revision: 234407 URL: http://svn.freebsd.org/changeset/base/234407 Log: MFC r233176: Add new GEOM_PART_LDM module that implements the Logical Disk Manager scheme. The LDM is a logical volume manager for MS Windows NT and it is also known

svn commit: r234408 - stable/9/sbin/geom/class/part

2012-04-17 Thread Andrey V. Elsukov
Author: ae Date: Wed Apr 18 05:11:52 2012 New Revision: 234408 URL: http://svn.freebsd.org/changeset/base/234408 Log: MFC r233179: Document GEOM_PART_LDM scheme and partition types. Modified: stable/9/sbin/geom/class/part/gpart.8 Directory Properties: stable/9/sbin/geom/class/part/

svn commit: r234409 - stable/8/sbin/geom/class/part

2012-04-17 Thread Andrey V. Elsukov
Author: ae Date: Wed Apr 18 05:12:17 2012 New Revision: 234409 URL: http://svn.freebsd.org/changeset/base/234409 Log: MFC r233179: Document GEOM_PART_LDM scheme and partition types. Modified: stable/8/sbin/geom/class/part/gpart.8 Directory Properties: stable/8/sbin/geom/class/part/

svn commit: r234410 - stable/9/sbin/bsdlabel

2012-04-17 Thread Andrey V. Elsukov
Author: ae Date: Wed Apr 18 05:16:02 2012 New Revision: 234410 URL: http://svn.freebsd.org/changeset/base/234410 Log: MFC r234122: It seems that libdisk(3) incorrectly sets d_secperunit value. Automatically fix it like GEOM_PART_BSD does. PR: bin/165789 Modified:

svn commit: r234411 - stable/8/sbin/bsdlabel

2012-04-17 Thread Andrey V. Elsukov
Author: ae Date: Wed Apr 18 05:16:20 2012 New Revision: 234411 URL: http://svn.freebsd.org/changeset/base/234411 Log: MFC r234122: It seems that libdisk(3) incorrectly sets d_secperunit value. Automatically fix it like GEOM_PART_BSD does. PR: bin/165789 Modified: