Re: svn commit: r275468 - head/sys/dev/usb/controller

2014-12-03 Thread Hans Petter Selasky
On 12/04/14 01:54, John-Mark Gurney wrote: Hans Petter Selasky wrote this message on Wed, Dec 03, 2014 at 21:55 +: Author: hselasky Date: Wed Dec 3 21:55:44 2014 New Revision: 275468 URL: https://svnweb.freebsd.org/changeset/base/275468 Log: Optimise the bit searching loops, by quickly

svn commit: r275473 - head/sys/netipsec

2014-12-03 Thread Andrey V. Elsukov
Author: ae Date: Thu Dec 4 05:02:12 2014 New Revision: 275473 URL: https://svnweb.freebsd.org/changeset/base/275473 Log: Fix style(9) and remove m_freem(NULL). Add XXX comment, it looks incorrect, because m_pkthdr.len is already incremented by M_PREPEND(). Sponsored by: Yandex LLC Mod

Re: svn commit: r275393 - head/sys/netipsec

2014-12-03 Thread Andrey V. Elsukov
On 04.12.2014 01:03, Gleb Smirnoff wrote: > On Tue, Dec 02, 2014 at 05:28:41AM +, Andrey V. Elsukov wrote: > A> Author: ae > A> Date: Tue Dec 2 05:28:40 2014 > A> New Revision: 275393 > A> URL: https://svnweb.freebsd.org/changeset/base/275393 > A> > A> Log: > A> Remove unneded check. No nee

Re: svn commit: r275422 - in head/sys: amd64/conf i386/conf pc98/conf powerpc/conf sparc64/conf

2014-12-03 Thread Ryan Stone
Why is DEADLKRES also excluded? It was designed to be safe to run in production without a noticeable perf hit. On Tue, Dec 2, 2014 at 2:55 PM, George V. Neville-Neil wrote: > Author: gnn > Date: Tue Dec 2 19:55:43 2014 > New Revision: 275422 > URL: https://svnweb.freebsd.org/changeset/base/2754

Re: svn commit: r275468 - head/sys/dev/usb/controller

2014-12-03 Thread John-Mark Gurney
Hans Petter Selasky wrote this message on Wed, Dec 03, 2014 at 21:55 +: > Author: hselasky > Date: Wed Dec 3 21:55:44 2014 > New Revision: 275468 > URL: https://svnweb.freebsd.org/changeset/base/275468 > > Log: > Optimise the bit searching loops, by quickly skipping the 16 first set > bit

svn commit: r275470 - head/sys/mips/conf

2014-12-03 Thread Sean Bruno
Author: sbruno Date: Wed Dec 3 23:37:23 2014 New Revision: 275470 URL: https://svnweb.freebsd.org/changeset/base/275470 Log: Switch is an 8316, so make the comments say that. Delete extraneous comment line that manifested itself from cut-n-pasting. Sponsored by: Nicholas Esborn Modi

svn commit: r275469 - head/sys/kern

2014-12-03 Thread Warner Losh
Author: imp Date: Wed Dec 3 22:14:13 2014 New Revision: 275469 URL: https://svnweb.freebsd.org/changeset/base/275469 Log: Const poison in a few places to ensure we don't modify things through the module data pointer. Modified: head/sys/kern/kern_linker.c Modified: head/sys/kern/kern_linke

Re: svn commit: r275393 - head/sys/netipsec

2014-12-03 Thread Gleb Smirnoff
On Tue, Dec 02, 2014 at 05:28:41AM +, Andrey V. Elsukov wrote: A> Author: ae A> Date: Tue Dec 2 05:28:40 2014 A> New Revision: 275393 A> URL: https://svnweb.freebsd.org/changeset/base/275393 A> A> Log: A> Remove unneded check. No need to do m_pullup to the size that we prepended. A> A>

svn commit: r275468 - head/sys/dev/usb/controller

2014-12-03 Thread Hans Petter Selasky
Author: hselasky Date: Wed Dec 3 21:55:44 2014 New Revision: 275468 URL: https://svnweb.freebsd.org/changeset/base/275468 Log: Optimise the bit searching loops, by quickly skipping the 16 first set bits if all the 16 first bits are set. This way the worst case searching time is reduced from

svn commit: r275467 - head/sys/dev/usb/controller

2014-12-03 Thread Hans Petter Selasky
Author: hselasky Date: Wed Dec 3 21:48:30 2014 New Revision: 275467 URL: https://svnweb.freebsd.org/changeset/base/275467 Log: Workaround for possible bug in the SAF1761 chip. Wait 125us before re-using a hardware propritary transfer descriptor, PTD, in USB host mode. If the PTD's are recyc

svn commit: r275464 - head/sys/mips/conf

2014-12-03 Thread Sean Bruno
Author: sbruno Date: Wed Dec 3 19:41:49 2014 New Revision: 275464 URL: https://svnweb.freebsd.org/changeset/base/275464 Log: There is only one argemdio device on this board. Sponsored by: Nicholas Esborn Modified: head/sys/mips/conf/WZR-HPAG300H.hints Modified: head/sys/mips/conf/WZR-

svn commit: r275463 - head/contrib/mdocml

2014-12-03 Thread Christian Brueffer
Author: brueffer Date: Wed Dec 3 18:14:21 2014 New Revision: 275463 URL: https://svnweb.freebsd.org/changeset/base/275463 Log: Add libcuse and libxo. Modified: head/contrib/mdocml/lib.in Modified: head/contrib/mdocml/lib.in ===

svn commit: r275462 - head/sys/mips/conf

2014-12-03 Thread Sean Bruno
Author: sbruno Date: Wed Dec 3 18:08:39 2014 New Revision: 275462 URL: https://svnweb.freebsd.org/changeset/base/275462 Log: Assign argemdio0 to the correct base address and assign argemdio1 to its proper place *after* argemdio0 Correctly place arge0 and arge1 on their respective bus pos

Re: svn commit: r275412 - head/libexec/rtld-elf

2014-12-03 Thread John Baldwin
On Tuesday, December 02, 2014 04:22:09 PM John Baldwin wrote: > Author: jhb > Date: Tue Dec 2 16:22:08 2014 > New Revision: 275412 > URL: https://svnweb.freebsd.org/changeset/base/275412 > > Log: > The runtime linker needs to include a path to itself in the link map > it exports to the debugg

svn commit: r275461 - head/sys/cam/ctl

2014-12-03 Thread Alexander Motin
Author: mav Date: Wed Dec 3 16:04:01 2014 New Revision: 275461 URL: https://svnweb.freebsd.org/changeset/base/275461 Log: Increase CTL ports limit from 128 to 256 and LUNs limit from 256 to 1024. After recent optimizations this change is no longer blocked by CTL memory consumption. Thos

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

2014-12-03 Thread John Baldwin
Author: jhb Date: Wed Dec 3 15:29:53 2014 New Revision: 275460 URL: https://svnweb.freebsd.org/changeset/base/275460 Log: Revert device_getenv_int() for now as it duplicates resource_int_value(). We should perhaps implement a device_getenv_*() and device_setenv_*() API as a convenience wrap

svn commit: r275459 - head/sys/cam/ctl

2014-12-03 Thread Alexander Motin
Author: mav Date: Wed Dec 3 15:19:38 2014 New Revision: 275459 URL: https://svnweb.freebsd.org/changeset/base/275459 Log: Unify function names after r275458. MFC after:1 month Modified: head/sys/cam/ctl/ctl.c Modified: head/sys/cam/ctl/ctl.c

svn commit: r275458 - head/sys/cam/ctl

2014-12-03 Thread Alexander Motin
Author: mav Date: Wed Dec 3 15:16:18 2014 New Revision: 275458 URL: https://svnweb.freebsd.org/changeset/base/275458 Log: Do not pre-allocate UNIT ATTENTIONs storage for every possible initiator. Abusing ability of major UAs cover minor ones we may not account UAs for inactive ports. Al

svn commit: r275457 - head/sys/boot/mips/beri/loader

2014-12-03 Thread Ed Maste
Author: emaste Date: Wed Dec 3 14:04:57 2014 New Revision: 275457 URL: https://svnweb.freebsd.org/changeset/base/275457 Log: Increase BERI loader section alignment to 16 The .text, .bss, and .data sections claimed 16-byte alignment, but were only aligned to 8 by the linker script. D

svn commit: r275455 - head/sys/cam/ctl

2014-12-03 Thread Alexander Motin
Author: mav Date: Wed Dec 3 10:39:47 2014 New Revision: 275455 URL: https://svnweb.freebsd.org/changeset/base/275455 Log: Remove some unused code. Modified: head/sys/cam/ctl/ctl.c Modified: head/sys/cam/ctl/ctl.c ==

svn commit: r275452 - head/usr.sbin/ctld

2014-12-03 Thread Alexander Motin
Author: mav Date: Wed Dec 3 09:32:51 2014 New Revision: 275452 URL: https://svnweb.freebsd.org/changeset/base/275452 Log: Do not corrupt the listen string when parsing it. This fixes problem with ctld reload when it is configured to listen on two portals with same IP, but different ports

svn commit: r275447 - head/sys/cam/ctl

2014-12-03 Thread Alexander Motin
Author: mav Date: Wed Dec 3 09:05:53 2014 New Revision: 275447 URL: https://svnweb.freebsd.org/changeset/base/275447 Log: Do not pre-allocate reservation keys memory for every possible initiator. In configurations with many ports, like iSCSI, each LUN is typically accessed only by limite

svn commit: r275446 - head/sys/cam/ctl

2014-12-03 Thread Alexander Motin
Author: mav Date: Wed Dec 3 08:25:41 2014 New Revision: 275446 URL: https://svnweb.freebsd.org/changeset/base/275446 Log: Plug memory leaks on UNMAP and XCOPY with invalid parameters. MFC after:1 week Modified: head/sys/cam/ctl/ctl.c head/sys/cam/ctl/ctl_tpc.c Modified: head/sys/