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

2012-12-13 Thread Gleb Smirnoff
On Wed, Dec 12, 2012 at 10:49:44PM -0800, Adrian Chadd wrote: A> Let me restate it again. A> A> We can ship a STABLE kernel with INVARIANTS enabled, and it not be any A> less stable than the STABLE kernel is today. It will be less stable, at least due to thrashing memory on free(9). Accessing mem

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

2012-12-13 Thread Gleb Smirnoff
On Wed, Dec 12, 2012 at 04:53:48PM -0800, Alfred Perlstein wrote: A> The problem again is that not all the KASSERTS are inviolable, if you A> want to do a project to split them, then please do, it would really be A> helpful, as for now, they are a mis-mash of death/warnings and there are A> at l

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

2012-12-13 Thread Gleb Smirnoff
On Wed, Dec 12, 2012 at 11:16:43PM -0800, Adrian Chadd wrote: A> I think the fundamental problem here is we have some pretty different A> ideas of what KASSERT should be, versus what it actually is in various A> parts of the code. Yep, under "we" you probably meant you and Alfred. What both of you

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

2012-12-13 Thread Andriy Gapon
on 13/12/2012 09:16 Adrian Chadd said the following: > Hi, > > I think the fundamental problem here is we have some pretty different > ideas of what KASSERT should be, versus what it actually is in various > parts of the code. > > Since we're lost in semantics, we're not going to get any further

svn commit: r244181 - head/etc/rc.d

2012-12-13 Thread Pawel Jakub Dawidek
Author: pjd Date: Thu Dec 13 09:41:32 2012 New Revision: 244181 URL: http://svnweb.freebsd.org/changeset/base/244181 Log: Fix the location of auditdistd configuration file. Reported by: Johan Hendriks Modified: head/etc/rc.d/auditdistd Modified: head/etc/rc.d/auditdistd ==

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

2012-12-13 Thread Andriy Gapon
on 13/12/2012 09:16 Adrian Chadd said the following: > Hi, > > I think the fundamental problem here is we have some pretty different > ideas of what KASSERT should be, versus what it actually is in various > parts of the code. Oh, and another part of the problem is that the discussion is opinion

svn commit: r244182 - head/share/misc

2012-12-13 Thread Steven Hartland
Author: smh Date: Thu Dec 13 09:55:26 2012 New Revision: 244182 URL: http://svnweb.freebsd.org/changeset/base/244182 Log: Fixed missing 'n' of \n for my committers line Approved by: avg (mentor) Modified: head/share/misc/committers-src.dot Modified: head/share/misc/committers-src.dot =

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

2012-12-13 Thread Andriy Gapon
on 09/12/2012 19:27 Attilio Rao said the following: > On Sun, Nov 25, 2012 at 2:22 PM, Andriy Gapon wrote: >> Author: avg >> Date: Sun Nov 25 14:22:08 2012 >> New Revision: 243515 >> URL: http://svnweb.freebsd.org/changeset/base/243515 >> >> Log: >> remove stop_scheduler_on_panic knob >> >> Th

Re: svn commit: r243764 - head/sys/x86/x86

2012-12-13 Thread Andriy Gapon
on 06/12/2012 22:40 John Baldwin said the following: > On Saturday, December 01, 2012 1:16:14 pm Andriy Gapon wrote: >> Author: avg >> Date: Sat Dec 1 18:16:14 2012 >> New Revision: 243764 >> URL: http://svnweb.freebsd.org/changeset/base/243764 >> >> Log: >> ioapic_program_intpin: program high b

Re: svn commit: r244154 - head/bin/ps

2012-12-13 Thread Pawel Jakub Dawidek
On Wed, Dec 12, 2012 at 11:06:52PM +0200, Konstantin Belousov wrote: > On Wed, Dec 12, 2012 at 03:45:04PM +, Pawel Jakub Dawidek wrote: > > Author: pjd > > Date: Wed Dec 12 15:45:03 2012 > > New Revision: 244154 > > URL: http://svnweb.freebsd.org/changeset/base/244154 > > > > Log: > > Use ke

svn commit: r244183 - in head/sys: net netinet netinet6

2012-12-13 Thread Gleb Smirnoff
Author: glebius Date: Thu Dec 13 11:11:15 2012 New Revision: 244183 URL: http://svnweb.freebsd.org/changeset/base/244183 Log: Fix problem in r238990. The LLE_LINKED flag should be tested prior to entering llentry_free(), and in case if we lose the race, we should simply perform LLE_FREE_LO

svn commit: r244184 - head/sys/netpfil/pf

2012-12-13 Thread Gleb Smirnoff
Author: glebius Date: Thu Dec 13 12:48:57 2012 New Revision: 244184 URL: http://svnweb.freebsd.org/changeset/base/244184 Log: Initialize state id prior to attaching state to key hash. Otherwise a race can happen, when pf_find_state() finds state via key hash, and locks id hash slot 0 inste

svn commit: r244185 - head/sys/netpfil/pf

2012-12-13 Thread Gleb Smirnoff
Author: glebius Date: Thu Dec 13 12:51:22 2012 New Revision: 244185 URL: http://svnweb.freebsd.org/changeset/base/244185 Log: Merge rev. 1.119 from OpenBSD: date: 2009/03/31 01:21:29; author: dlg; state: Exp; lines: +9 -16 ... this also firms up some of the input parsing so

Re: svn commit: r244154 - head/bin/ps

2012-12-13 Thread Konstantin Belousov
On Thu, Dec 13, 2012 at 12:12:44PM +0100, Pawel Jakub Dawidek wrote: > On Wed, Dec 12, 2012 at 11:06:52PM +0200, Konstantin Belousov wrote: > > On Wed, Dec 12, 2012 at 03:45:04PM +, Pawel Jakub Dawidek wrote: > > > Author: pjd > > > Date: Wed Dec 12 15:45:03 2012 > > > New Revision: 244154 > >

Re: svn commit: r244154 - head/bin/ps

2012-12-13 Thread Pawel Jakub Dawidek
On Thu, Dec 13, 2012 at 06:12:42PM +0200, Konstantin Belousov wrote: > On Thu, Dec 13, 2012 at 12:12:44PM +0100, Pawel Jakub Dawidek wrote: > > On Wed, Dec 12, 2012 at 11:06:52PM +0200, Konstantin Belousov wrote: > > I saw CTLFLAG_TUN on the sysctl and assumed it is read-only... > > How about defin

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

2012-12-13 Thread Steven Hartland
Author: smh Date: Thu Dec 13 17:06:38 2012 New Revision: 244187 URL: http://svnweb.freebsd.org/changeset/base/244187 Log: Upgrades trim free request sizes before inserting them into to free map, making range consolidation much more effective particularly for small deletes. This reduces

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

2012-12-13 Thread mdf
On Thu, Dec 13, 2012 at 1:42 AM, Andriy Gapon wrote: > on 13/12/2012 09:16 Adrian Chadd said the following: >> Hi, >> >> I think the fundamental problem here is we have some pretty different >> ideas of what KASSERT should be, versus what it actually is in various >> parts of the code. > > Oh, and

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

2012-12-13 Thread Steven Hartland
Author: smh Date: Thu Dec 13 17:39:07 2012 New Revision: 244188 URL: http://svnweb.freebsd.org/changeset/base/244188 Log: Added vfs.zfs.vdev.trim_on_init sysctl which allows full vdev trim on initialisation to be enabled (1) / disabled (0) defaults to enabled. This is useful for devices w

Re: svn commit: r244154 - head/bin/ps

2012-12-13 Thread Konstantin Belousov
On Thu, Dec 13, 2012 at 05:55:41PM +0100, Pawel Jakub Dawidek wrote: > On Thu, Dec 13, 2012 at 06:12:42PM +0200, Konstantin Belousov wrote: > > On Thu, Dec 13, 2012 at 12:12:44PM +0100, Pawel Jakub Dawidek wrote: > > > On Wed, Dec 12, 2012 at 11:06:52PM +0200, Konstantin Belousov wrote: > > > I saw

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

2012-12-13 Thread Attilio Rao
On Thu, Dec 13, 2012 at 10:59 AM, Andriy Gapon wrote: > on 09/12/2012 19:27 Attilio Rao said the following: >> On Sun, Nov 25, 2012 at 2:22 PM, Andriy Gapon wrote: >>> Author: avg >>> Date: Sun Nov 25 14:22:08 2012 >>> New Revision: 243515 >>> URL: http://svnweb.freebsd.org/changeset/base/243515

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

2012-12-13 Thread Jim Harris
Author: jimharris Date: Thu Dec 13 21:27:20 2012 New Revision: 244191 URL: http://svnweb.freebsd.org/changeset/base/244191 Log: Revert r243960 based on feedback regarding keeping x86 headers unified (mdf@, tijl@) and use of KASSERT/systm.h in bus.h (zeising@, bde@). Alternate implementati

Re: svn commit: r244154 - head/bin/ps

2012-12-13 Thread Pawel Jakub Dawidek
On Thu, Dec 13, 2012 at 08:16:21PM +0200, Konstantin Belousov wrote: > On Thu, Dec 13, 2012 at 05:55:41PM +0100, Pawel Jakub Dawidek wrote: > > On Thu, Dec 13, 2012 at 06:12:42PM +0200, Konstantin Belousov wrote: > > > On Thu, Dec 13, 2012 at 12:12:44PM +0100, Pawel Jakub Dawidek wrote: > > > > On

svn commit: r244193 - head/sys/x86/include

2012-12-13 Thread Jim Harris
Author: jimharris Date: Thu Dec 13 21:40:11 2012 New Revision: 244193 URL: http://svnweb.freebsd.org/changeset/base/244193 Log: Add bus_space_read_8 and bus_space_write_8 for amd64. Rather than trying to KASSERT for callers that invoke this on IO tags, either do nothing (for write_8) or r

svn commit: r244194 - head/cddl/contrib/opensolaris/lib/libzfs/common

2012-12-13 Thread Steven Hartland
Author: smh Date: Thu Dec 13 22:03:07 2012 New Revision: 244194 URL: http://svnweb.freebsd.org/changeset/base/244194 Log: Fixes zfs receive errors caused by snapshot replication being processed in a random order instead of creation order. Eliminates needless filesystem renames caused by r

svn commit: r244195 - in head/sys: arm/arm conf

2012-12-13 Thread Oleksandr Tymoshenko
Author: gonzo Date: Thu Dec 13 23:03:37 2012 New Revision: 244195 URL: http://svnweb.freebsd.org/changeset/base/244195 Log: Add driver for PrimeCell Vectored Interrupt Controller (PL190) Added: head/sys/arm/arm/pl190.c (contents, props changed) Modified: head/sys/conf/files.arm Added: he

svn commit: r244197 - in head/sys: arm/conf arm/versatile boot/fdt/dts

2012-12-13 Thread Oleksandr Tymoshenko
Author: gonzo Date: Thu Dec 13 23:19:13 2012 New Revision: 244197 URL: http://svnweb.freebsd.org/changeset/base/244197 Log: Add support for QEMU's version of Versatile Platform Board Added: head/sys/arm/conf/VERSATILEPB (contents, props changed) head/sys/arm/versatile/ head/sys/arm/vers

svn commit: r244198 - in head: etc/rc.d sbin/sysctl

2012-12-13 Thread Xin LI
Author: delphij Date: Thu Dec 13 23:32:47 2012 New Revision: 244198 URL: http://svnweb.freebsd.org/changeset/base/244198 Log: Teach sysctl(8) about parsing a file (while I'm there also give it capability of parsing both = and : formats). Submitted by: hrs (initial version, bugs are mine)

Re: svn commit: r244154 - head/bin/ps

2012-12-13 Thread Bruce Evans
On Thu, 13 Dec 2012, Pawel Jakub Dawidek wrote: On Thu, Dec 13, 2012 at 08:16:21PM +0200, Konstantin Belousov wrote: On Thu, Dec 13, 2012 at 05:55:41PM +0100, Pawel Jakub Dawidek wrote: On Thu, Dec 13, 2012 at 06:12:42PM +0200, Konstantin Belousov wrote: On Thu, Dec 13, 2012 at 12:12:44PM +01

Re: svn commit: r244154 - head/bin/ps

2012-12-13 Thread Eitan Adler
On 13 December 2012 13:16, Konstantin Belousov wrote: > On Thu, Dec 13, 2012 at 05:55:41PM +0100, Pawel Jakub Dawidek wrote: >> On Thu, Dec 13, 2012 at 06:12:42PM +0200, Konstantin Belousov wrote: >> > On Thu, Dec 13, 2012 at 12:12:44PM +0100, Pawel Jakub Dawidek wrote: >> > > On Wed, Dec 12, 2012

Re: svn commit: r244154 - head/bin/ps

2012-12-13 Thread Alfred Perlstein
On 12/13/12 8:30 PM, Eitan Adler wrote: On 13 December 2012 13:16, Konstantin Belousov wrote: On Thu, Dec 13, 2012 at 05:55:41PM +0100, Pawel Jakub Dawidek wrote: On Thu, Dec 13, 2012 at 06:12:42PM +0200, Konstantin Belousov wrote: On Thu, Dec 13, 2012 at 12:12:44PM +0100, Pawel Jakub Dawidek

Re: svn commit: r244193 - head/sys/x86/include

2012-12-13 Thread Bruce Evans
On Thu, 13 Dec 2012, Jim Harris wrote: Log: Add bus_space_read_8 and bus_space_write_8 for amd64. Rather than trying to KASSERT for callers that invoke this on IO tags, either do nothing (for write_8) or return ~0 (for read_8). read_8 returns a uint64_t, so it cannot return the signed inte

svn commit: r244200 - in head/sys/dev/virtio: block network scsi

2012-12-13 Thread Bryan Venteicher
Author: bryanv Date: Fri Dec 14 05:27:56 2012 New Revision: 244200 URL: http://svnweb.freebsd.org/changeset/base/244200 Log: virtio: Start taskqueues threads after attach cannot fail If virtio_setup_intr() failed during boot, we would hang in taskqueue_free() -> taskqueue_terminate() for

Re: svn commit: r244200 - in head/sys/dev/virtio: block network scsi

2012-12-13 Thread Bryan Venteicher
On Thu, Dec 13, 2012 at 11:27 PM, Bryan Venteicher wrote: > > Author: bryanv > Date: Fri Dec 14 05:27:56 2012 > New Revision: 244200 > URL: http://svnweb.freebsd.org/changeset/base/244200 > > Log: > virtio: Start taskqueues threads after attach cannot fail > > If virtio_setup_intr() failed dur