Re: svn commit: r209119 - head/sys/sys

2010-06-17 Thread Kostik Belousov
On Thu, Jun 17, 2010 at 12:38:08PM +1000, Lawrence Stewart wrote: On 06/14/10 20:43, Kostik Belousov wrote: On Mon, Jun 14, 2010 at 08:34:15PM +1000, Lawrence Stewart wrote: On 06/14/10 18:52, Kostik Belousov wrote: On Mon, Jun 14, 2010 at 11:52:49AM +1000, Lawrence Stewart wrote: On 06/13/10

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

2010-06-17 Thread Kostik Belousov
On Thu, Jun 17, 2010 at 12:16:12AM +0200, Ed Schouten wrote: Hi Kostik, * Konstantin Belousov k...@freebsd.org wrote: Log: Add another variation of make_dev(9), make_dev_p(9), that is allowed to fail and can return useful error code. While we're at it, couldn't we consider

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

2010-06-17 Thread Ed Schouten
Author: ed Date: Thu Jun 17 08:49:31 2010 New Revision: 209244 URL: http://svn.freebsd.org/changeset/base/209244 Log: Remove the unit argument from the recently added make_dev_p(). New code that creates character devices shouldn't use device unit numbers, but only si_drv[12] to hold

Re: svn commit: r209221 - head/bin/sh

2010-06-17 Thread Brian Somers
On Wed, 16 Jun 2010 03:30:45 +0200 Dag-Erling Smørgrav d...@des.no wrote: Jilles Tjoelker jil...@freebsd.org writes: Log: sh: Add filename completion. Wonderful! Now I'll never have to use csh again :) Is there a plan to change root's shell from csh to sh? If not, should there be?

svn commit: r209247 - head/sys/kern

2010-06-17 Thread Andriy Gapon
Author: avg Date: Thu Jun 17 10:15:13 2010 New Revision: 209247 URL: http://svn.freebsd.org/changeset/base/209247 Log: lock_profile_release_lock: do not compare unsigned with zero Found by: Coverity Prevent CID: 3660 Reviewed by: jhb MFC after:2 weeks Modified:

svn commit: r209248 - in head/sys: amd64/amd64 amd64/conf amd64/include conf i386/i386

2010-06-17 Thread Alexander Motin
Author: mav Date: Thu Jun 17 11:54:49 2010 New Revision: 209248 URL: http://svn.freebsd.org/changeset/base/209248 Log: Merge COUNT_XINVLTLB_HITS and COUNT_IPIS kernel options from i386 to amd64. This information can be very valuable for CPU sleep-time (and respectively idle power

svn commit: r209249 - head/share/man/man7

2010-06-17 Thread Gabor Kovesdan
Author: gabor Date: Thu Jun 17 12:05:47 2010 New Revision: 209249 URL: http://svn.freebsd.org/changeset/base/209249 Log: - Add c99(7) manual page - Add MLINKS to c.7, c79.7, c89.7, c90.7 Added: head/share/man/man7/c99.7 (contents, props changed) Modified: head/share/man/man7/Makefile

Re: svn commit: r209249 - head/share/man/man7

2010-06-17 Thread pluknet
On 17 June 2010 16:05, Gabor Kovesdan ga...@freebsd.org wrote: Author: gabor Date: Thu Jun 17 12:05:47 2010 New Revision: 209249 URL: http://svn.freebsd.org/changeset/base/209249 Log:  - Add c99(7) manual page  - Add MLINKS to c.7, c79.7, c89.7, c90.7 Added:  head/share/man/man7/c99.7  

svn commit: r209250 - head/etc/periodic/daily

2010-06-17 Thread Alexander Leidinger
Author: netchild Date: Thu Jun 17 12:25:47 2010 New Revision: 209250 URL: http://svn.freebsd.org/changeset/base/209250 Log: - add the zfs scrub script - move the zfs status script into the MK_ZFS conditional to respect WITHOUT_ZFS Noticed by: Andrzej Tobola a...@iem.pw.edu.pl

svn commit: r209252 - head/sys/amd64/ia32

2010-06-17 Thread Konstantin Belousov
Author: kib Date: Thu Jun 17 12:35:17 2010 New Revision: 209252 URL: http://svn.freebsd.org/changeset/base/209252 Log: In the ia32_{get,set}_fpcontext(), use fpu{get,set}userregs instead of fpu{get,set}regs. Noted by: bde MFC after:1 month Modified:

svn commit: r209253 - head/tools/build/mk

2010-06-17 Thread Alexander Leidinger
Author: netchild Date: Thu Jun 17 12:37:50 2010 New Revision: 209253 URL: http://svn.freebsd.org/changeset/base/209253 Log: Add the ZFS periodic daily scripts to the ZFS part. Modified: head/tools/build/mk/OptionalObsoleteFiles.inc Modified: head/tools/build/mk/OptionalObsoleteFiles.inc

Re: svn commit: r209119 - head/sys/sys

2010-06-17 Thread Bruce Evans
On Thu, 17 Jun 2010, Kostik Belousov wrote: On Thu, Jun 17, 2010 at 12:38:08PM +1000, Lawrence Stewart wrote: I've tested the above and it works. I also prefer the idea of having DPCPU_SUM return the sum so that you can do var = DPCPU_SUM(...). My only concern with this method is that the

svn commit: r209254 - head/share/man/man7

2010-06-17 Thread Gabor Kovesdan
Author: gabor Date: Thu Jun 17 13:59:41 2010 New Revision: 209254 URL: http://svn.freebsd.org/changeset/base/209254 Log: - Fix typo, it should have been c78.7 Submitted by: pluknet pluk...@gmail.com Modified: head/share/man/man7/Makefile Modified: head/share/man/man7/Makefile

Re: svn commit: r209249 - head/share/man/man7

2010-06-17 Thread Gabor Kovesdan
Hi, should it be MLINKS+= c99.7 c78.7 instead? You cite c78 in manpage, but link to c79 here in Makefile. Oh, yes, I just made a typo. Fixed, thanks. -- Gabor Kovesdan FreeBSD Volunteer EMAIL: ga...@freebsd.org .:|:. ga...@kovesdan.org WEB: http://people.FreeBSD.org/~gabor .:|:.

svn commit: r209255 - head/usr.bin/c99

2010-06-17 Thread Gabor Kovesdan
Author: gabor Date: Thu Jun 17 14:37:47 2010 New Revision: 209255 URL: http://svn.freebsd.org/changeset/base/209255 Log: - Update GCC reference from 3.3 to 4.2 [1] - Add reference to c99(7) Submitted by: stefanf Modified: head/usr.bin/c99/c99.1 Modified: head/usr.bin/c99/c99.1

svn commit: r209256 - head/sys/kern

2010-06-17 Thread Jaakko Heinonen
Author: jh Date: Thu Jun 17 16:12:06 2010 New Revision: 209256 URL: http://svn.freebsd.org/changeset/base/209256 Log: - Fix compilation of the subr_unit.c user space test program. - Use %zu for size_t in a few format strings. Modified: head/sys/kern/subr_unit.c Modified:

svn commit: r209257 - svnadmin/conf

2010-06-17 Thread Ken Smith
Author: kensmith Date: Thu Jun 17 17:06:52 2010 New Revision: 209257 URL: http://svn.freebsd.org/changeset/base/209257 Log: Release the code freeze on stable/8. Approved by: core (implicit) Modified: svnadmin/conf/approvers Modified: svnadmin/conf/approvers

svn commit: r209259 - head/sys/dev/e1000

2010-06-17 Thread Jack F Vogel
Author: jfv Date: Thu Jun 17 17:38:39 2010 New Revision: 209259 URL: http://svn.freebsd.org/changeset/base/209259 Log: Two stats were duplicated, thanks to Andrew Boyer for pointing this out. Modified: head/sys/dev/e1000/if_em.c Modified: head/sys/dev/e1000/if_em.c

svn commit: r209260 - head/sys/kern

2010-06-17 Thread Pawel Jakub Dawidek
Author: pjd Date: Thu Jun 17 17:39:51 2010 New Revision: 209260 URL: http://svn.freebsd.org/changeset/base/209260 Log: Backout r207970 for now, it can lead to deadlocks. Reported by: kan MFC after:3 days Modified: head/sys/kern/vfs_subr.c Modified: head/sys/kern/vfs_subr.c

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

2010-06-17 Thread Pawel Jakub Dawidek
Author: pjd Date: Thu Jun 17 17:41:42 2010 New Revision: 209261 URL: http://svn.freebsd.org/changeset/base/209261 Log: Turn off UMA allocations on all archs by default. It isn't stable even on amd64. Reported by: many MFC after:3 days Modified:

Re: svn commit: r209259 - head/sys/dev/e1000

2010-06-17 Thread George Neville-Neil
On Jun 17, 2010, at 13:38 , Jack F Vogel wrote: Author: jfv Date: Thu Jun 17 17:38:39 2010 New Revision: 209259 URL: http://svn.freebsd.org/changeset/base/209259 Log: Two stats were duplicated, thanks to Andrew Boyer for pointing this out. And thanks to you for fixing it! Best,

svn commit: r209262 - stable/8/sys/geom/gate

2010-06-17 Thread Pawel Jakub Dawidek
Author: pjd Date: Thu Jun 17 19:06:11 2010 New Revision: 209262 URL: http://svn.freebsd.org/changeset/base/209262 Log: MFC r209186,r209187: r209186: BIO_DELETE contains range we want to delete and doesn't provide any useful data, so there is no need to copy it to userland.

svn commit: r209263 - stable/8/sbin/hastd

2010-06-17 Thread Pawel Jakub Dawidek
Author: pjd Date: Thu Jun 17 19:17:31 2010 New Revision: 209263 URL: http://svn.freebsd.org/changeset/base/209263 Log: MFC r209175,r209177,r209179,r209180,r209181,r209182,r209183,r209184,r209185: r209175: Eliminate dead code. Found by: Coverity Prevent CID: 5158

svn commit: r209264 - stable/8/sys/netinet

2010-06-17 Thread Michael Tuexen
Author: tuexen Date: Thu Jun 17 19:17:50 2010 New Revision: 209264 URL: http://svn.freebsd.org/changeset/base/209264 Log: MFC 209178 * Fix a bug where the length of the ASCONF-ACK was calculated wrong due to using an uninitialized variable. * Fix a bug where a NULL pointer was

svn commit: r209265 - in stable/8/sys: cddl/contrib/opensolaris/uts/common/fs/zfs kern

2010-06-17 Thread Pawel Jakub Dawidek
Author: pjd Date: Thu Jun 17 19:25:05 2010 New Revision: 209265 URL: http://svn.freebsd.org/changeset/base/209265 Log: MFC r209260,r209261: r209260: Backout r207970 for now, it can lead to deadlocks. Reported by: kan r209261: Turn off UMA allocations on all archs by

svn commit: r209266 - head/usr.sbin/mptutil

2010-06-17 Thread Sean Bruno
Author: sbruno Date: Thu Jun 17 19:28:56 2010 New Revision: 209266 URL: http://svn.freebsd.org/changeset/base/209266 Log: Expand man page to document the fact that mptutil/mpt doesn't support RAID volumes in excess of 2TB. Document workaround via geom or zfs Modified submitter's original

Re: svn commit: r209221 - head/bin/sh

2010-06-17 Thread Doug Barton
On 06/17/10 03:03, Andrey Chernov wrote: On Thu, Jun 17, 2010 at 02:34:41AM -0700, Brian Somers wrote: On Wed, 16 Jun 2010 03:30:45 +0200 Dag-Erling Sm??rgravd...@des.no wrote: Jilles Tjoelkerjil...@freebsd.org writes: Log: sh: Add filename completion. Wonderful! Now I'll never have

svn commit: r209267 - stable/8/usr.sbin/arp

2010-06-17 Thread Max Laier
Author: mlaier Date: Thu Jun 17 19:46:36 2010 New Revision: 209267 URL: http://svn.freebsd.org/changeset/base/209267 Log: MFC r209063: Cache the last result from if_indextoname for printing. This speeds up arp -an when using a lot of aliases (on a single interface). A better fix

svn commit: r209269 - stable/8/sys/sparc64/sparc64

2010-06-17 Thread Marius Strobl
Author: marius Date: Thu Jun 17 20:10:39 2010 New Revision: 209269 URL: http://svn.freebsd.org/changeset/base/209269 Log: MFC: r209138 Update a branch missed in r207537 (committed to stable/8 in r207890). Modified: stable/8/sys/sparc64/sparc64/mp_locore.S Directory Properties:

svn commit: r209271 - stable/7/usr.sbin/arp

2010-06-17 Thread Max Laier
Author: mlaier Date: Thu Jun 17 20:38:18 2010 New Revision: 209271 URL: http://svn.freebsd.org/changeset/base/209271 Log: MFC r209063: Cache the last result from if_indextoname for printing. This speeds up arp -an when using a lot of aliases (on a single interface). A better fix

svn commit: r209272 - releng/8.1/sys/sparc64/sparc64

2010-06-17 Thread Marius Strobl
Author: marius Date: Thu Jun 17 20:53:56 2010 New Revision: 209272 URL: http://svn.freebsd.org/changeset/base/209272 Log: MFC: r209138 Update a branch missed in r207537 (committed to stable/8 in r207890). Approved by: re (kib) Modified: releng/8.1/sys/sparc64/sparc64/mp_locore.S

svn commit: r209273 - stable/8/usr.sbin/sysinstall

2010-06-17 Thread Randi Harper
Author: randi Date: Thu Jun 17 21:17:35 2010 New Revision: 209273 URL: http://svn.freebsd.org/changeset/base/209273 Log: MFC r209004: Fix uninitialized variables that cause a crash when the network is initialized and sysinstall is not running as init. Submitted by: Nick Mills

Re: svn commit: r209271 - stable/7/usr.sbin/arp

2010-06-17 Thread Max Laier
On Thursday 17 June 2010 22:38:18 Max Laier wrote: Author: mlaier Date: Thu Jun 17 20:38:18 2010 New Revision: 209271 URL: http://svn.freebsd.org/changeset/base/209271 Log: MFC r209063: Cache the last result from if_indextoname for printing. This speeds up arp -an when using a

Re: svn commit: r209221 - head/bin/sh

2010-06-17 Thread M. Warner Losh
In message: 4c1a7953.4080...@freebsd.org Doug Barton do...@freebsd.org writes: : I've been very supportive of Jilles work up to this point, and I think : he's done a great job of making our sh functional and compliant as a : scripting shell. However in my mind adding completion (and

Re: svn commit: r209221 - head/bin/sh

2010-06-17 Thread Jilles Tjoelker
On Thu, Jun 17, 2010 at 12:36:51PM -0700, Doug Barton wrote: On 06/17/10 03:03, Andrey Chernov wrote: Jilles Tjoelkerjil...@freebsd.org writes: Log: sh: Add filename completion. FWIW, what I actually do is set the shell for both root and my unprivileged user to sh, compile bash

svn commit: r209274 - stable/8/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2010-06-17 Thread Martin Matuska
Author: mm Date: Thu Jun 17 22:38:23 2010 New Revision: 209274 URL: http://svn.freebsd.org/changeset/base/209274 Log: MFC r209093-r209101: MFC r209093: Fix unable to remove a file over NFS after hitting refquota limit OpenSolaris onnv rev: 8890:8c2bd5f17bf2 OpenSolaris Bug ID:

Re: svn commit: r209221 - head/bin/sh

2010-06-17 Thread Mark Linimon
On Thu, Jun 17, 2010 at 12:36:51PM -0700, Doug Barton wrote: every time this is discussed it's the bikeshed from $CULTURALLY_RELEVANT_PLACE_OF_TORMENT. On occasion I'm attempted to close incoming PRs with the following text: Administer your system. The upside of FreeBSD being so

svn commit: r209276 - head/lib/libkvm

2010-06-17 Thread Sean Bruno
Author: sbruno Date: Fri Jun 18 01:17:16 2010 New Revision: 209276 URL: http://svn.freebsd.org/changeset/base/209276 Log: Much closer approximation of the kernel's calculation of this value. Reviewed by: alc Obtained from:Yahoo Inc. Modified: head/lib/libkvm/kvm_proc.c

Re: svn commit: r209119 - head/sys/sys

2010-06-17 Thread Lawrence Stewart
On 06/17/10 17:13, Kostik Belousov wrote: On Thu, Jun 17, 2010 at 12:38:08PM +1000, Lawrence Stewart wrote: On 06/14/10 20:43, Kostik Belousov wrote: [snip] Or, you could ditch the sum at all, indeed using ({}) and returning the result. __typeof is your friend to select proper type of

svn commit: r209277 - in stable/8/sys: net netinet

2010-06-17 Thread Qing Li
Author: qingli Date: Fri Jun 18 03:31:33 2010 New Revision: 209277 URL: http://svn.freebsd.org/changeset/base/209277 Log: MFC r208553 This patch fixes the problem where proxy ARP entries cannot be added over the if_ng interface. Modified: stable/8/sys/net/if.c

svn commit: r209278 - stable/8/sys/geom/multipath

2010-06-17 Thread Matt Jacob
Author: mjacob Date: Fri Jun 18 03:59:07 2010 New Revision: 209278 URL: http://svn.freebsd.org/changeset/base/209278 Log: This is an MFC of 208082 Make sure to check that the active provider pointer points to something before dereferencing the pointer. Modified:

svn commit: r209279 - stable/8/sys/geom/multipath

2010-06-17 Thread Matt Jacob
Author: mjacob Date: Fri Jun 18 04:01:59 2010 New Revision: 209279 URL: http://svn.freebsd.org/changeset/base/209279 Log: This is an MFC of 208101 Yet another potential dereference of a dead provider. Modified: stable/8/sys/geom/multipath/g_multipath.c Directory Properties:

svn commit: r209280 - stable/8/sys/cam/scsi

2010-06-17 Thread Matt Jacob
Author: mjacob Date: Fri Jun 18 04:43:22 2010 New Revision: 209280 URL: http://svn.freebsd.org/changeset/base/209280 Log: This is an MFC of 207933 Deal sensibly with more than 26 sg devices. It isn't a complete solution. Modified: stable/8/sys/cam/scsi/scsi_sg.c Directory Properties:

svn commit: r209281 - stable/8/sys/cam/scsi

2010-06-17 Thread Matt Jacob
Author: mjacob Date: Fri Jun 18 04:45:06 2010 New Revision: 209281 URL: http://svn.freebsd.org/changeset/base/209281 Log: This is an MFC of 207938 Pick up the right change, not it's close cousin. The one previously submitted was wrong. Modified: stable/8/sys/cam/scsi/scsi_sg.c

svn commit: r209282 - stable/8/sys/dev/mpt

2010-06-17 Thread Matt Jacob
Author: mjacob Date: Fri Jun 18 04:51:17 2010 New Revision: 209282 URL: http://svn.freebsd.org/changeset/base/209282 Log: This is an MFC of 207543 Print IR_RESYNC updates informatively. Obtained from:pluknet Modified: stable/8/sys/dev/mpt/mpt_cam.c Directory Properties: