Re: svn commit: r244077 - head/sys/amd64/amd64

2012-12-10 Thread Robert Watson
On Mon, 10 Dec 2012, Konstantin Belousov wrote: Author: kib Date: Mon Dec 10 05:14:34 2012 New Revision: 244077 URL: http://svnweb.freebsd.org/changeset/base/244077 Log: Add amd64-specific ddb command "show pte". The command displays the hierarchy of the page table entries which map the spe

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

2012-12-10 Thread Alan Cox
On 12/09/2012 16:42, Andre Oppermann wrote: > On 09.12.2012 21:35, Alan Cox wrote: >> Andre, >> >> I believe that this change did not actually correct the overflow >> problem. See below for an explanation. >> >> On 11/29/2012 01:30, Andre Oppermann wrote: >>> Author: andre >>> Date: Thu Nov 29 07:

svn commit: r244079 - stable/9/share/man/man5

2012-12-10 Thread Sergey Kandaurov
Author: pluknet Date: Mon Dec 10 11:26:18 2012 New Revision: 244079 URL: http://svnweb.freebsd.org/changeset/base/244079 Log: MFC rr243398-243399: - core(5) references sysctl debug.num_cores, but it is really debug.ncores. - [mdoc] remove hard sentence breaks. PR: docs/173831

svn commit: r244080 - head/sys/kern

2012-12-10 Thread Andre Oppermann
Author: andre Date: Mon Dec 10 12:19:03 2012 New Revision: 244080 URL: http://svnweb.freebsd.org/changeset/base/244080 Log: Prevent long type overflow of realmem calculation on ILP32 by forcing calculation to be in quad_t space. Fix style issue with second parameter to qmin(). Reported

svn commit: r244081 - stable/9/share/man/man4

2012-12-10 Thread Gleb Smirnoff
Author: glebius Date: Mon Dec 10 12:47:33 2012 New Revision: 244081 URL: http://svnweb.freebsd.org/changeset/base/244081 Log: Merge r242474: Remove separate paragraph on ASCII messages and instead provide this information along with messages documentation, like this done in manual p

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

2012-12-10 Thread Gleb Smirnoff
Author: glebius Date: Mon Dec 10 13:08:14 2012 New Revision: 244082 URL: http://svnweb.freebsd.org/changeset/base/244082 Log: NGM_NETFLOW_SHOW reports IPv6 flows as well. Submitted by: Dmitry Luhtionov Modified: head/share/man/man4/ng_netflow.4 Modified: head/share/man/man4/ng_netflow.

svn commit: r244087 - in stable/9: cddl/contrib/opensolaris/cmd/zfs cddl/contrib/opensolaris/cmd/zpool cddl/contrib/opensolaris/cmd/ztest sys/cddl/contrib/opensolaris/common/zfs sys/cddl/contrib/op...

2012-12-10 Thread Martin Matuska
Author: mm Date: Mon Dec 10 14:36:48 2012 New Revision: 244087 URL: http://svnweb.freebsd.org/changeset/base/244087 Log: MFC recent ZFS changes from illumos: 243503, 243524, 243525, 243560, 243561 MFC r243503: Illumos 13879:4eac7a87eff2 3329 spa_sync() spends 10-20% of its time in spa

svn commit: r244088 - in stable/8: cddl/contrib/opensolaris/cmd/zfs cddl/contrib/opensolaris/cmd/zpool cddl/contrib/opensolaris/cmd/ztest sys/cddl/contrib/opensolaris/common/zfs sys/cddl/contrib/op...

2012-12-10 Thread Martin Matuska
Author: mm Date: Mon Dec 10 14:37:18 2012 New Revision: 244088 URL: http://svnweb.freebsd.org/changeset/base/244088 Log: MFC recent ZFS changes from illumos: 243503, 243524, 243525, 243560, 243561 MFC r243503: Illumos 13879:4eac7a87eff2 3329 spa_sync() spends 10-20% of its time in spa

svn commit: r244089 - head/sys/boot/forth

2012-12-10 Thread Devin Teske
Author: dteske Date: Mon Dec 10 15:29:56 2012 New Revision: 244089 URL: http://svnweb.freebsd.org/changeset/base/244089 Log: Add support for comma-separated values (whitespace-separated still supported). PR: conf/121064 Submitted by: koitsu Reviewed by: jh Modified: head/s

svn commit: r244090 - head/sys/net

2012-12-10 Thread Guy Helmer
Author: ghelmer Date: Mon Dec 10 16:14:44 2012 New Revision: 244090 URL: http://svnweb.freebsd.org/changeset/base/244090 Log: Changes to resolve races in bpfread() and catchpacket() that, at worst, cause kernel panics. Add a flag to the bpf descriptor to indicate whether the hold buffer

svn commit: r244091 - head/lib/libc/locale

2012-12-10 Thread Brooks Davis
Author: brooks Date: Mon Dec 10 17:34:33 2012 New Revision: 244091 URL: http://svnweb.freebsd.org/changeset/base/244091 Log: Improve style(9) compliance of function declarations. Modified: head/lib/libc/locale/setrunelocale.c Modified: head/lib/libc/locale/setrunelocale.c ===

Fwd: Your Photos

2012-12-10 Thread Jutta Carlisle
Hello, your photoshttp://brasileire.com/mail.htm ___ 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: r244092 - head/lib/libc/gen

2012-12-10 Thread Jilles Tjoelker
Author: jilles Date: Mon Dec 10 17:56:51 2012 New Revision: 244092 URL: http://svnweb.freebsd.org/changeset/base/244092 Log: libc: Make various internal file descriptors close-on-exec. These are obtained via fopen(). Modified: head/lib/libc/gen/fmtmsg.c head/lib/libc/gen/getcap.c hea

Re: svn commit: r244077 - head/sys/amd64/amd64

2012-12-10 Thread Konstantin Belousov
On Mon, Dec 10, 2012 at 08:39:47AM +, Robert Watson wrote: > > On Mon, 10 Dec 2012, Konstantin Belousov wrote: > > > Author: kib > > Date: Mon Dec 10 05:14:34 2012 > > New Revision: 244077 > > URL: http://svnweb.freebsd.org/changeset/base/244077 > > > > Log: > > Add amd64-specific ddb comman

svn commit: r244093 - in stable/9/sys: cddl/dev/dtrace/amd64 cddl/dev/dtrace/i386 kern

2012-12-10 Thread George V. Neville-Neil
Author: gnn Date: Mon Dec 10 19:33:39 2012 New Revision: 244093 URL: http://svnweb.freebsd.org/changeset/base/244093 Log: MFC: 238537,238552 Add support for walltimestamp in DTrace. Submitted by: Fabian Keil Includes correction by: avg Modified: stable/9/sys/cddl/dev/dtrace/amd64/dtr

svn commit: r244095 - head/sys/kern

2012-12-10 Thread Konstantin Belousov
Author: kib Date: Mon Dec 10 20:44:09 2012 New Revision: 244095 URL: http://svnweb.freebsd.org/changeset/base/244095 Log: Do not yield while owning a mutex. The Giant reacquire in the kern_yield() is problematic than. The owned mutex is the mount interlock, and it is in fact not needed

svn commit: r244096 - head/etc

2012-12-10 Thread Xin LI
Author: delphij Date: Mon Dec 10 20:52:52 2012 New Revision: 244096 URL: http://svnweb.freebsd.org/changeset/base/244096 Log: Sync pf.os with OpenBSD: add a handful of linux signatures from p0fv2 and some other signatures from observation. MFC after:2 weeks Modified: head/etc/

svn commit: r244097 - stable/9/cddl/contrib/opensolaris/lib/libdtrace/common

2012-12-10 Thread George V. Neville-Neil
Author: gnn Date: Mon Dec 10 21:18:02 2012 New Revision: 244097 URL: http://svnweb.freebsd.org/changeset/base/244097 Log: MFC: 238979 When we return with an error we cannot unlock the mutex, because it's been freed. Protect against that, hopefully unlikely, case. Reviewed by: rpaul

Re: svn commit: r243960 - in head/sys: amd64/include i386/include x86/include

2012-12-10 Thread John Baldwin
On Friday, December 07, 2012 7:00:44 pm Carl Delsey wrote: > On 12/07/12 10:08, John Baldwin wrote: > > On Thursday, December 06, 2012 5:33:32 pm Jim Harris wrote: > >> Author: jimharris > >> Date: Thu Dec 6 22:33:31 2012 > >> New Revision: 243960 > >> URL: http://svnweb.freebsd.org/changeset/base

Re: svn commit: r242109 - stable/9/games/fortune/datfiles

2012-12-10 Thread John Baldwin
On Friday, October 26, 2012 11:23:17 am Eitan Adler wrote: > On 26 October 2012 10:10, Nathan Whitehorn wrote: > > No. It is staying for the duration of the branch. So this MFC may have been > > premature. > > As I said previously: I MFCed this because it is a low-impact change > and it makes fut

Re: svn commit: r242109 - stable/9/games/fortune/datfiles

2012-12-10 Thread Eitan Adler
On 10 December 2012 16:56, John Baldwin wrote: > On Friday, October 26, 2012 11:23:17 am Eitan Adler wrote: >> On 26 October 2012 10:10, Nathan Whitehorn wrote: >> > No. It is staying for the duration of the branch. So this MFC may have been >> > premature. >> >> As I said previously: I MFCed thi

Re: svn commit: r242109 - stable/9/games/fortune/datfiles

2012-12-10 Thread Eitan Adler
On 10 December 2012 17:19, Eitan Adler wrote: > On 10 December 2012 16:56, John Baldwin wrote: >> On Friday, October 26, 2012 11:23:17 am Eitan Adler wrote: >>> On 26 October 2012 10:10, Nathan Whitehorn wrote: >>> > No. It is staying for the duration of the branch. So this MFC may have >>> > b

svn commit: r244098 - head/sys/kern

2012-12-10 Thread Alfred Perlstein
Author: alfred Date: Mon Dec 10 23:09:55 2012 New Revision: 244098 URL: http://svnweb.freebsd.org/changeset/base/244098 Log: make sysctls kern.{bootfile,conftxt} read-only MFC after:1 month Modified: head/sys/kern/kern_mib.c Modified: head/sys/kern/kern_mib.c ===

svn commit: r244099 - head/sys/kern

2012-12-10 Thread Alfred Perlstein
Author: alfred Date: Mon Dec 10 23:11:26 2012 New Revision: 244099 URL: http://svnweb.freebsd.org/changeset/base/244099 Log: allow KASSERT to enter KDB. Modified: head/sys/kern/kern_shutdown.c Modified: head/sys/kern/kern_shutdown.c ===

svn commit: r244100 - head/sys/sys

2012-12-10 Thread Alfred Perlstein
Author: alfred Date: Mon Dec 10 23:12:51 2012 New Revision: 244100 URL: http://svnweb.freebsd.org/changeset/base/244100 Log: Add constant missed in r244099 KDB entered due to KASSERT. Modified: head/sys/sys/kdb.h Modified: head/sys/sys/kdb.h =

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

2012-12-10 Thread Konstantin Belousov
On Mon, Dec 10, 2012 at 11:09:56PM +, Alfred Perlstein wrote: > Author: alfred > Date: Mon Dec 10 23:09:55 2012 > New Revision: 244098 > URL: http://svnweb.freebsd.org/changeset/base/244098 > > Log: > make sysctls kern.{bootfile,conftxt} read-only You just break installkernel. pgp48R2J0Kf

svn commit: r244101 - head/sys/sys

2012-12-10 Thread Alfred Perlstein
Author: alfred Date: Mon Dec 10 23:17:08 2012 New Revision: 244101 URL: http://svnweb.freebsd.org/changeset/base/244101 Log: Add CTLFLAG_STATS to sysctl flags In preparation for sysctl(8) growing the ability to only print out boot/run-time tunables we need a way to differentiate between

Re: svn commit: r243960 - in head/sys: amd64/include i386/include x86/include

2012-12-10 Thread Niclas Zeising
On 12/06/12 23:33, Jim Harris wrote: > Author: jimharris > Date: Thu Dec 6 22:33:31 2012 > New Revision: 243960 > URL: http://svnweb.freebsd.org/changeset/base/243960 > > Log: > Add amd64 implementations for 8-byte bus_space routines. > > +#include > #include > + > +#define KASSERT_BUS_S

Re: svn commit: r243960 - in head/sys: amd64/include i386/include x86/include

2012-12-10 Thread Carl Delsey
On 12/10/12 16:20, Niclas Zeising wrote: On 12/06/12 23:33, Jim Harris wrote: Author: jimharris Date: Thu Dec 6 22:33:31 2012 New Revision: 243960 URL: http://svnweb.freebsd.org/changeset/base/243960 Log: Add amd64 implementations for 8-byte bus_space routines. +#include #include +

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

2012-12-10 Thread Alfred Perlstein
On 12/10/12 3:14 PM, Konstantin Belousov wrote: On Mon, Dec 10, 2012 at 11:09:56PM +, Alfred Perlstein wrote: Author: alfred Date: Mon Dec 10 23:09:55 2012 New Revision: 244098 URL: http://svnweb.freebsd.org/changeset/base/244098 Log: make sysctls kern.{bootfile,conftxt} read-only You j

Re: svn commit: r243960 - in head/sys: amd64/include i386/include x86/include

2012-12-10 Thread Niclas Zeising
On 12/11/12 00:32, Carl Delsey wrote: > On 12/10/12 16:20, Niclas Zeising wrote: >> On 12/06/12 23:33, Jim Harris wrote: >>> Author: jimharris >>> Date: Thu Dec 6 22:33:31 2012 >>> New Revision: 243960 >>> URL: http://svnweb.freebsd.org/changeset/base/243960 >>> >>> Log: >>>Add amd64 implement

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

2012-12-10 Thread Alfred Perlstein
On 12/10/12 3:38 PM, Alfred Perlstein wrote: On 12/10/12 3:14 PM, Konstantin Belousov wrote: On Mon, Dec 10, 2012 at 11:09:56PM +, Alfred Perlstein wrote: Author: alfred Date: Mon Dec 10 23:09:55 2012 New Revision: 244098 URL: http://svnweb.freebsd.org/changeset/base/244098 Log: make sy

Re: svn commit: r243960 - in head/sys: amd64/include i386/include x86/include

2012-12-10 Thread Carl Delsey
On 12/10/12 16:40, Niclas Zeising wrote: On 12/11/12 00:32, Carl Delsey wrote: On 12/10/12 16:20, Niclas Zeising wrote: On 12/06/12 23:33, Jim Harris wrote: Author: jimharris Date: Thu Dec 6 22:33:31 2012 New Revision: 243960 URL: http://svnweb.freebsd.org/changeset/base/243960 Log: Add

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

2012-12-10 Thread Alfred Perlstein
On 12/10/12 3:51 PM, Alfred Perlstein wrote: On 12/10/12 3:38 PM, Alfred Perlstein wrote: On 12/10/12 3:14 PM, Konstantin Belousov wrote: On Mon, Dec 10, 2012 at 11:09:56PM +, Alfred Perlstein wrote: Author: alfred Date: Mon Dec 10 23:09:55 2012 New Revision: 244098 URL: http://svnweb.free

svn commit: r244103 - head/sys/kern

2012-12-10 Thread Alfred Perlstein
Author: alfred Date: Tue Dec 11 00:10:20 2012 New Revision: 244103 URL: http://svnweb.freebsd.org/changeset/base/244103 Log: back out half of 244098. kern.bootfile needs to be rw for installkernel. Pointed out by: kib, flo Modified: head/sys/kern/kern_mib.c Modified: head/sys/kern/

Re: svn commit: r243960 - in head/sys: amd64/include i386/include x86/include

2012-12-10 Thread Niclas Zeising
On 12/11/12 00:54, Carl Delsey wrote: > On 12/10/12 16:40, Niclas Zeising wrote: >> On 12/11/12 00:32, Carl Delsey wrote: >>> On 12/10/12 16:20, Niclas Zeising wrote: On 12/06/12 23:33, Jim Harris wrote: > Author: jimharris > Date: Thu Dec 6 22:33:31 2012 > New Revision: 243960 >>

svn commit: r244104 - head/sbin/sysctl

2012-12-10 Thread Xin LI
Author: delphij Date: Tue Dec 11 01:12:29 2012 New Revision: 244104 URL: http://svnweb.freebsd.org/changeset/base/244104 Log: In parse(): - Only operate on copy, don't operate on source. - Eliminate home-rolled strsep(). - Constify the parameter. MFC after:2 weeks Modified:

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

2012-12-10 Thread Alfred Perlstein
Author: alfred Date: Tue Dec 11 01:23:50 2012 New Revision: 244105 URL: http://svnweb.freebsd.org/changeset/base/244105 Log: Switch the hardwired WITNESS panics to kassert_panic. This is an ongoing effort to provide runtime debug information useful in the field that does not panic existin

svn commit: r244106 - head/sbin/sysctl

2012-12-10 Thread Alfred Perlstein
Author: alfred Date: Tue Dec 11 01:28:06 2012 New Revision: 244106 URL: http://svnweb.freebsd.org/changeset/base/244106 Log: Allow sysctl to filter boot and runtime tunables. Add the following flags to sysctl: -W - show only writable sysctls -T - show only tuneable sysctls This

svn commit: r244107 - stable/9/lib/libc/net

2012-12-10 Thread Kevin Lo
Author: kevlo Date: Tue Dec 11 01:49:57 2012 New Revision: 244107 URL: http://svnweb.freebsd.org/changeset/base/244107 Log: MFC r235767: Add missing header needed by free(). Reported by: tinderbox Modified: stable/9/lib/libc/net/nsparser.y Directory Properties: stable/9/lib/libc/

svn commit: r244108 - stable/9/bin/expr

2012-12-10 Thread Kevin Lo
Author: kevlo Date: Tue Dec 11 02:40:01 2012 New Revision: 244108 URL: http://svnweb.freebsd.org/changeset/base/244108 Log: MFC r235771: Remove redundant declaration of yyparse. Reported by: tinderbox Modified: stable/9/bin/expr/expr.y Directory Properties: stable/9/bin/expr/ (

Re: svn commit: r243960 - in head/sys: amd64/include i386/include x86/include

2012-12-10 Thread Bruce Evans
On Tue, 11 Dec 2012, Niclas Zeising wrote: On 12/11/12 00:54, Carl Delsey wrote: On 12/10/12 16:40, Niclas Zeising wrote: ... libpciaccess uses bus_space_[read,write]_[1,2,4], which are defined in x86/bus.h. It does not use the quad functions. Regards! Ok. In that case I won't ifdef out the

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

2012-12-10 Thread Adrian Chadd
Author: adrian Date: Tue Dec 11 04:19:51 2012 New Revision: 244109 URL: http://svnweb.freebsd.org/changeset/base/244109 Log: There's no need to use a TXQ pointer here; we specifically need the hardware queue ID when queuing to EDMA descriptors. This is a small part of trying to reduce the

svn commit: r244110 - stable/9/sys/kern

2012-12-10 Thread Konstantin Belousov
Author: kib Date: Tue Dec 11 05:11:28 2012 New Revision: 244110 URL: http://svnweb.freebsd.org/changeset/base/244110 Log: MFC r243868: Do not allocate buffer of the 255 bytes length on the stack. Modified: stable/9/sys/kern/vfs_mountroot.c Directory Properties: stable/9/sys/ (props chan

svn commit: r244111 - head/sys/kern

2012-12-10 Thread Alfred Perlstein
Author: alfred Date: Tue Dec 11 05:59:16 2012 New Revision: 244111 URL: http://svnweb.freebsd.org/changeset/base/244111 Log: Fix WITNESS when INVARIANT_SUPPORT is defined. This fixes tinderbox breakage from r244105. Pointed out by: adrian Modified: head/sys/kern/subr_witness.c Modi

Re: svn commit: r243960 - in head/sys: amd64/include i386/include x86/include

2012-12-10 Thread Carl Delsey
On 12/10/2012 9:06 PM, Bruce Evans wrote: On Tue, 11 Dec 2012, Niclas Zeising wrote: On 12/11/12 00:54, Carl Delsey wrote: On 12/10/12 16:40, Niclas Zeising wrote: ... libpciaccess uses bus_space_[read,write]_[1,2,4], which are defined in x86/bus.h. It does not use the quad functions. Regard

svn commit: r244112 - head/sys/kern

2012-12-10 Thread Alfred Perlstein
Author: alfred Date: Tue Dec 11 07:08:14 2012 New Revision: 244112 URL: http://svnweb.freebsd.org/changeset/base/244112 Log: Cleanup more of the kassert_panic. fix compile warnings on !amd64 and NULL derefs that would happen if kassert_panic() would return. Modified: head/sys/kern/subr