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

2013-11-20 Thread Ronald Klop
On Tue, 19 Nov 2013 22:08:21 +0100, Luigi Rizzo wrote: On Mon, Nov 18, 2013 at 10:58:14PM +, George V. Neville-Neil wrote: Author: gnn Date: Mon Nov 18 22:58:14 2013 New Revision: 258328 URL: http://svnweb.freebsd.org/changeset/base/258328 Log: Allow ethernet drivers to pass in packets

svn commit: r258365 - in head/sys: kern vm

2013-11-20 Thread Konstantin Belousov
Author: kib Date: Wed Nov 20 08:45:26 2013 New Revision: 258365 URL: http://svnweb.freebsd.org/changeset/base/258365 Log: Revert back to use int for the page counts. In vn_io_fault(), the i/o is chunked to pieces limited by integer io_hold_cnt tunable, while vm_fault_quick_hold_pages() take

svn commit: r258366 - head/sys/vm

2013-11-20 Thread Konstantin Belousov
Author: kib Date: Wed Nov 20 08:47:54 2013 New Revision: 258366 URL: http://svnweb.freebsd.org/changeset/base/258366 Log: Add assertions to cover all places in the wiring and unwiring code where MAP_ENTRY_IN_TRANSITION is set or cleared. Tested by:pho Reviewed by: alc Sponsored b

svn commit: r258367 - head/sys/vm

2013-11-20 Thread Konstantin Belousov
Author: kib Date: Wed Nov 20 09:03:48 2013 New Revision: 258367 URL: http://svnweb.freebsd.org/changeset/base/258367 Log: Vm map code performs clipping when map entry covers region which is larger than the operational region. If the op region size is zero, clipping would create a zero-sized

svn commit: r258387 - head/sys/dev/nand

2013-11-20 Thread Grzegorz Bernacki
Author: gber Date: Wed Nov 20 11:10:23 2013 New Revision: 258387 URL: http://svnweb.freebsd.org/changeset/base/258387 Log: Split raw reading/programming into smaller chunks to avoid allocating too big chunk of kernel memory. Validate size of data. Add error handling to avoid calling copyout(

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

2013-11-20 Thread Andriy Gapon
Author: avg Date: Wed Nov 20 11:47:50 2013 New Revision: 258388 URL: http://svnweb.freebsd.org/changeset/base/258388 Log: MFV r258377: 4088 use after free in arc_release() illumos/illumos-gate@ccc22e130479b5bd7c0002267fee1e0602d3f772 MFC after:5 days Modified: head/sys/cddl/cont

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

2013-11-20 Thread Andriy Gapon
Author: avg Date: Wed Nov 20 11:52:32 2013 New Revision: 258389 URL: http://svnweb.freebsd.org/changeset/base/258389 Log: MFV r258378: 4089 NULL pointer dereference in arc_read() illumos/illumos-gate@57815f6b95a743697e148327725b7f568e75e6ea Tested by:adrian MFC after:4 days

svn commit: r258390 - head/tools/tools/umastat

2013-11-20 Thread Alexander Motin
Author: mav Date: Wed Nov 20 12:32:34 2013 New Revision: 258390 URL: http://svnweb.freebsd.org/changeset/base/258390 Log: Print some more flags. Modified: head/tools/tools/umastat/umastat.c Modified: head/tools/tools/umastat/umastat.c =

svn commit: r258391 - head/sys/sys

2013-11-20 Thread Gleb Smirnoff
Author: glebius Date: Wed Nov 20 13:22:22 2013 New Revision: 258391 URL: http://svnweb.freebsd.org/changeset/base/258391 Log: Fix comment after r250551. Modified: head/sys/sys/bufobj.h Modified: head/sys/sys/bufobj.h ===

Re: svn commit: r257831 - head/sys/cam/scsi

2013-11-20 Thread Slawa Olhovchenkov
On Thu, Nov 07, 2013 at 11:21:52PM +, Steven Hartland wrote: > Author: smh > Date: Thu Nov 7 23:21:52 2013 > New Revision: 257831 > URL: http://svnweb.freebsd.org/changeset/base/257831 > > Log: > Corrected definition for old_rate to match d_rotation_rate > > MFC after: 2 Days > X-M

Re: svn commit: r257831 - head/sys/cam/scsi

2013-11-20 Thread Steven Hartland
- Original Message - From: "Slawa Olhovchenkov" To: "Steven Hartland" Cc: ; ; Sent: Wednesday, November 20, 2013 2:05 PM Subject: Re: svn commit: r257831 - head/sys/cam/scsi On Thu, Nov 07, 2013 at 11:21:52PM +, Steven Hartland wrote: Author: smh Date: Thu Nov 7 23:21:52 201

Re: svn commit: r257831 - head/sys/cam/scsi

2013-11-20 Thread Slawa Olhovchenkov
On Wed, Nov 20, 2013 at 02:17:32PM -, Steven Hartland wrote: > - Original Message - > From: "Slawa Olhovchenkov" > To: "Steven Hartland" > Cc: ; ; > > Sent: Wednesday, November 20, 2013 2:05 PM > Subject: Re: svn commit: r257831 - head/sys/cam/scsi > > > > On Thu, Nov 07, 2013 a

Re: svn commit: r257831 - head/sys/cam/scsi

2013-11-20 Thread Steven Hartland
- Original Message - From: "Slawa Olhovchenkov" > On Thu, Nov 07, 2013 at 11:21:52PM +, Steven Hartland wrote: > >> Author: smh >> Date: Thu Nov 7 23:21:52 2013 >> New Revision: 257831 >> URL: http://svnweb.freebsd.org/changeset/base/257831 >> >> Log: >> Corrected definition f

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

2013-11-20 Thread Ian Lepore
Author: ian Date: Wed Nov 20 15:53:50 2013 New Revision: 258392 URL: http://svnweb.freebsd.org/changeset/base/258392 Log: Call cpu_setup() immediately after the page tables are installed. This enables data cache and other chip-specific features. It was previously done via an early SYSINIT,

svn commit: r258393 - head/sys/arm/conf

2013-11-20 Thread Ian Lepore
Author: ian Date: Wed Nov 20 16:42:01 2013 New Revision: 258393 URL: http://svnweb.freebsd.org/changeset/base/258393 Log: Add USB_HOST_ALIGN=64; the cache line size on the am335x is 64 bytes. Modified: head/sys/arm/conf/BEAGLEBONE Modified: head/sys/arm/conf/BEAGLEBONE ==

svn commit: r258395 - head/usr.bin/uname

2013-11-20 Thread Peter Wemm
Author: peter Date: Wed Nov 20 17:48:38 2013 New Revision: 258395 URL: http://svnweb.freebsd.org/changeset/base/258395 Log: Change introduction history. Modified: head/usr.bin/uname/uname.1 Modified: head/usr.bin/uname/uname.1 =

svn commit: r258397 - head/sys/fs/pseudofs

2013-11-20 Thread Konstantin Belousov
Author: kib Date: Wed Nov 20 19:41:00 2013 New Revision: 258397 URL: http://svnweb.freebsd.org/changeset/base/258397 Log: Redo r258088 to avoid relying on signed arithmetic overflow, since compiler interprets this as an undefined behaviour. Instead, ensure that the sum of uio_offset and uio

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

2013-11-20 Thread Julian Elischer
On 11/19/13, 3:04 AM, Robert Watson wrote: On Mon, 18 Nov 2013, George V. Neville-Neil wrote: Allow ethernet drivers to pass in packets connected via the nextpkt pointer. Handling packets in this way allows drivers to amortize work during packet reception. Submitted by:Vijay Singh Sp

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

2013-11-20 Thread Julian Elischer
On 11/19/13, 3:04 AM, Robert Watson wrote: On Mon, 18 Nov 2013, George V. Neville-Neil wrote: Allow ethernet drivers to pass in packets connected via the nextpkt pointer. Handling packets in this way allows drivers to amortize work during packet reception. Submitted by:Vijay Singh Sp

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

2013-11-20 Thread Robert N. M. Watson
On 20 Nov 2013, at 20:11, Julian Elischer wrote: >> Currently, it is quite easy to make mistakes regarding individual mbuf >> chains vs. lists of mbuf chains. This leads me to wonder whether a new >> type, perhaps simply constructed on the stack before passing in, should be >> used for KPIs

svn commit: r258399 - head/sys/crypto/aesni

2013-11-20 Thread John-Mark Gurney
Author: jmg Date: Wed Nov 20 20:25:27 2013 New Revision: 258399 URL: http://svnweb.freebsd.org/changeset/base/258399 Log: flag that the aesni driver is sync... This means we don't waste a context switch just to call the done callback... On my machine, this improves geli/gzero decrypt perfo

Re: svn commit: r255736 - in head: share/man/man4 sys/amd64/conf sys/conf sys/dev/bxe sys/i386/conf sys/modules/bxe

2013-11-20 Thread hiren panchasara
+ Eric On Fri, Sep 20, 2013 at 1:18 PM, David Christensen wrote: > Author: davidch > Date: Fri Sep 20 20:18:49 2013 > New Revision: 255736 > URL: http://svnweb.freebsd.org/changeset/base/255736 > > Log: > Substantial rewrite of bxe(4) to add support for the BCM57712 and > BCM578XX controllers

svn commit: r258400 - in head/usr.sbin/bsdconfig: . includes includes/include share

2013-11-20 Thread Devin Teske
Author: dteske Date: Wed Nov 20 20:37:21 2013 New Revision: 258400 URL: http://svnweb.freebsd.org/changeset/base/258400 Log: Add new `includes' module for exploring the bsdconfig(8) API. Added: head/usr.sbin/bsdconfig/includes/ head/usr.sbin/bsdconfig/includes/INDEX (contents, props chang

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

2013-11-20 Thread Luigi Rizzo
On Wed, Nov 20, 2013 at 12:11:20PM -0800, Julian Elischer wrote: > On 11/19/13, 3:04 AM, Robert Watson wrote: > > On Mon, 18 Nov 2013, George V. Neville-Neil wrote: > > > >> Allow ethernet drivers to pass in packets connected via the > >> nextpkt pointer. > >> Handling packets in this way allows

Re: svn commit: r255736 - in head: share/man/man4 sys/amd64/conf sys/conf sys/dev/bxe sys/i386/conf sys/modules/bxe

2013-11-20 Thread Eric Davis
Hi Hiren, Yes I am planning on it. - eric On Wed, Nov 20, 2013 at 12:27 PM, hiren panchasara wrote: > + Eric > > On Fri, Sep 20, 2013 at 1:18 PM, David Christensen > wrote: > > Author: davidch > > Date: Fri Sep 20 20:18:49 2013 > > New Revision: 255736 > > URL: http://svnweb.freebsd.org/chang

svn commit: r258401 - head/usr.sbin/bsdconfig/includes

2013-11-20 Thread Devin Teske
Author: dteske Date: Wed Nov 20 21:05:33 2013 New Revision: 258401 URL: http://svnweb.freebsd.org/changeset/base/258401 Log: Add a `-d' flag for printing the description of each function. Modified: head/usr.sbin/bsdconfig/includes/USAGE head/usr.sbin/bsdconfig/includes/includes Modified: h

svn commit: r258402 - head/sys/ufs/ffs

2013-11-20 Thread John-Mark Gurney
Author: jmg Date: Wed Nov 20 21:16:53 2013 New Revision: 258402 URL: http://svnweb.freebsd.org/changeset/base/258402 Log: fix a use after free, jsegdep_merge will free wk, avoid the next check... CID: 1006098 Sponsored by: Imaginary Forces Reviewed by: mckusick MFC after:

svn commit: r258403 - head/sys/ufs/ffs

2013-11-20 Thread John-Mark Gurney
Author: jmg Date: Wed Nov 20 21:21:29 2013 New Revision: 258403 URL: http://svnweb.freebsd.org/changeset/base/258403 Log: fix white space... MFC after:1 week Modified: head/sys/ufs/ffs/softdep.h Modified: head/sys/ufs/ffs/softdep.h ===

Re: svn commit: r258387 - head/sys/dev/nand

2013-11-20 Thread John-Mark Gurney
Grzegorz Bernacki wrote this message on Wed, Nov 20, 2013 at 11:10 +: > Author: gber > Date: Wed Nov 20 11:10:23 2013 > New Revision: 258387 > URL: http://svnweb.freebsd.org/changeset/base/258387 > > Log: > Split raw reading/programming into smaller chunks to avoid allocating too > big chu

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

2013-11-20 Thread Adrian Chadd
Can we revert this and just quickly put together something else that won't potentially come back to bite us with weird side effects? My suggestions (and I'm happy to do this work if needed): * create a lightweight mbuf queue representation so an mbuf list isn't just the mbuf header pointer; * cre

svn commit: r258406 - head/usr.sbin/bsdconfig/includes

2013-11-20 Thread Devin Teske
Author: dteske Date: Wed Nov 20 22:11:42 2013 New Revision: 258406 URL: http://svnweb.freebsd.org/changeset/base/258406 Log: Make `-d' implicitly enable `-f' for simplification. Modified: head/usr.sbin/bsdconfig/includes/USAGE head/usr.sbin/bsdconfig/includes/includes Modified: head/usr.sb

svn commit: r258407 - head/usr.sbin/bsdconfig/share/media

2013-11-20 Thread Devin Teske
Author: dteske Date: Wed Nov 20 22:12:21 2013 New Revision: 258407 URL: http://svnweb.freebsd.org/changeset/base/258407 Log: Update function description for API tool: bsdconfig includes -dF f_validate_hostname Modified: head/usr.sbin/bsdconfig/share/media/tcpip.subr Modified: head/usr.sbin

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

2013-11-20 Thread George Neville-Neil
On Nov 20, 2013, at 17:02 , Adrian Chadd wrote: > Can we revert this and just quickly put together something else that > won't potentially come back to bite us with weird side effects? > > My suggestions (and I'm happy to do this work if needed): > > * create a lightweight mbuf queue represent

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

2013-11-20 Thread Olivier Houchard
Author: cognet Date: Wed Nov 20 23:06:54 2013 New Revision: 258410 URL: http://svnweb.freebsd.org/changeset/base/258410 Log: In pmap_unmapdev(), remember the size, and use that as an argument to kva_free(), or we'd end up always passing it a size of 0, and for some strange reason it doesn't

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

2013-11-20 Thread Luigi Rizzo
On Wed, Nov 20, 2013 at 05:29:37PM -0500, George Neville-Neil wrote: > > On Nov 20, 2013, at 17:02 , Adrian Chadd wrote: > > > Can we revert this and just quickly put together something else that > > won't potentially come back to bite us with weird side effects? > > > > My suggestions (and I'm

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

2013-11-20 Thread Adrian Chadd
Hi, We should migrate drivers to use a multi-input method where it's appropriate. It's the same pain as if_transmit() is/was. I'd really like to avoid having hacky solutions like mbufs with magic types. If we're going down that path, we should create a correct inline messaging mechanism that incl

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

2013-11-20 Thread Luigi Rizzo
On Wed, Nov 20, 2013 at 04:07:07PM -0800, Adrian Chadd wrote: > Hi, > > We should migrate drivers to use a multi-input method where it's > appropriate. It's the same pain as if_transmit() is/was. right, and i think that is very confusing and i'd rather not replicate the experience. But what is y

svn commit: r258411 - head/usr.sbin/sysrc

2013-11-20 Thread Devin Teske
Author: dteske Date: Thu Nov 21 00:54:26 2013 New Revision: 258411 URL: http://svnweb.freebsd.org/changeset/base/258411 Log: Revert SVN r257830 -- that feature was annoying and was removed long ago. Was a momentary memory lapse induced by old code that was lying in my ~/bin Modified: head/u

svn commit: r258412 - in head/sys/arm: at91 econa s3c2xx0 sa11x0 xscale/i80321 xscale/i8134x xscale/ixp425 xscale/pxa

2013-11-20 Thread Ian Lepore
Author: ian Date: Thu Nov 21 01:08:10 2013 New Revision: 258412 URL: http://svnweb.freebsd.org/changeset/base/258412 Log: Call cpu_setup() from the initarm() routine on platforms that don't use the common FDT-aware initarm() in arm/machdep.c. Pointed out by:cognet Pointy hat

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

2013-11-20 Thread Julian Elischer
On 11/20/13, 2:02 PM, Adrian Chadd wrote: Can we revert this and just quickly put together something else that won't potentially come back to bite us with weird side effects? My suggestions (and I'm happy to do this work if needed): * create a lightweight mbuf queue representation so an mbuf li

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

2013-11-20 Thread Julian Elischer
On 11/20/13, 4:35 PM, Luigi Rizzo wrote: On Wed, Nov 20, 2013 at 04:07:07PM -0800, Adrian Chadd wrote: Hi, We should migrate drivers to use a multi-input method where it's appropriate. It's the same pain as if_transmit() is/was. right, and i think that is very confusing and i'd rather not repl

svn commit: r258418 - head/usr.sbin/bsdconfig/networking/share

2013-11-20 Thread Devin Teske
Author: dteske Date: Thu Nov 21 03:22:13 2013 New Revision: 258418 URL: http://svnweb.freebsd.org/changeset/base/258418 Log: Quote the interface name for good measure. Modified: head/usr.sbin/bsdconfig/networking/share/device.subr Modified: head/usr.sbin/bsdconfig/networking/share/device.sub

svn commit: r258424 - head/sys/powerpc/aim

2013-11-20 Thread Justin Hibbits
Author: jhibbits Date: Thu Nov 21 06:54:28 2013 New Revision: 258424 URL: http://svnweb.freebsd.org/changeset/base/258424 Log: Remove stale comment. The PID provider is handled elsewhere already. Modified: head/sys/powerpc/aim/trap.c Modified: head/sys/powerpc/aim/trap.c ===