svn commit: r268207 - head/sys/dev/hwpmc

2014-07-02 Thread Justin Hibbits
Author: jhibbits Date: Thu Jul 3 06:52:26 2014 New Revision: 268207 URL: http://svnweb.freebsd.org/changeset/base/268207 Log: Fix a bug in hwpmc(4) callchain retrieval, for both user and kernel. The array index for the callchain is getting double-incremented -- both in the loop and the s

svn commit: r268205 - head/sys/cam/ata

2014-07-02 Thread Warner Losh
Author: imp Date: Thu Jul 3 05:22:13 2014 New Revision: 268205 URL: http://svnweb.freebsd.org/changeset/base/268205 Log: Rework the BIO_DELETE code slightly. Always queue the BIO_DELETE requests on the trim_queue, even for the CFA ERASE. This allows us, in the future, to collapse adjacent r

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

2014-07-02 Thread Alexander Motin
Author: mav Date: Thu Jul 3 04:26:53 2014 New Revision: 268204 URL: http://svnweb.freebsd.org/changeset/base/268204 Log: Use separate memory type M_CTLIO for I/Os. CTL allocate large amount of RAM. This change give some more stats. MFC after:2 weeks Modified: head/sys/cam/ctl/

svn commit: r268203 - head/usr.bin/sed

2014-07-02 Thread Pedro F. Giffuni
Author: pfg Date: Thu Jul 3 00:31:13 2014 New Revision: 268203 URL: http://svnweb.freebsd.org/changeset/base/268203 Log: More sed(1) usage fixing: the extension -i is not optional. Pointed out by: jmallet MFC after:3 days Modified: head/usr.bin/sed/main.c Modified: head/usr

Re: svn commit: r268176 - in head/sys/dev: bge nfe

2014-07-02 Thread Marcel Moolenaar
On Jul 2, 2014, at 2:08 PM, Sergey Kandaurov wrote: > Author: pluknet > Date: Wed Jul 2 21:08:25 2014 > New Revision: 268176 > URL: http://svnweb.freebsd.org/changeset/base/268176 > > Log: > Fixed build with DEVICE_POLLING. Ugh... Thanks! I'll add that to the checklist for people to verify.

svn commit: r268202 - head/usr.sbin/bhyve

2014-07-02 Thread Peter Grehan
Author: grehan Date: Thu Jul 3 00:23:14 2014 New Revision: 268202 URL: http://svnweb.freebsd.org/changeset/base/268202 Log: Use correct flag for event index. Submitted by: luigi Obtained from:Vincenzo Maffione, Universita` di Pisa MFC after:1 week Modified: head/usr.sbin

svn commit: r268196 - head/sys/dev/vmware/vmxnet3

2014-07-02 Thread Bryan Venteicher
Author: bryanv Date: Wed Jul 2 23:28:21 2014 New Revision: 268196 URL: http://svnweb.freebsd.org/changeset/base/268196 Log: Remove some write only variables MFC after:3 days Modified: head/sys/dev/vmware/vmxnet3/if_vmx.c Modified: head/sys/dev/vmware/vmxnet3/if_vmx.c ==

svn commit: r268193 - head/usr.bin/sed

2014-07-02 Thread Pedro F. Giffuni
Author: pfg Date: Wed Jul 2 23:07:01 2014 New Revision: 268193 URL: http://svnweb.freebsd.org/changeset/base/268193 Log: Fix sed(1) usage: the extension -i is not an optional. MFC after:3 days Modified: head/usr.bin/sed/main.c Modified: head/usr.bin/sed/main.c =

svn commit: r268191 - head

2014-07-02 Thread Marcel Moolenaar
=== --- head/UPDATING Wed Jul 2 22:25:48 2014(r268190) +++ head/UPDATING Wed Jul 2 22:34:06 2014(r268191) @@ -31,6 +31,11 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 11 disable the most expensive debugging functionality run "ln -s '

Re: svn commit: r268190 - head/sys/netinet

2014-07-02 Thread hiren panchasara
On Wed, Jul 2, 2014 at 3:25 PM, Hiren Panchasara wrote: > Author: hiren > Date: Wed Jul 2 22:25:48 2014 > New Revision: 268190 > URL: http://svnweb.freebsd.org/changeset/base/268190 > > Log: > Fix a typo and improve readability. This commit is to somewhat "fix" my stupidity from r268183. Than

svn commit: r268190 - head/sys/netinet

2014-07-02 Thread Hiren Panchasara
Author: hiren Date: Wed Jul 2 22:25:48 2014 New Revision: 268190 URL: http://svnweb.freebsd.org/changeset/base/268190 Log: Fix a typo and improve readability. Modified: head/sys/netinet/tcp_input.c Modified: head/sys/netinet/tcp_input.c ==

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

2014-07-02 Thread Warren Block
Author: wblock (doc committer) Date: Wed Jul 2 22:16:01 2014 New Revision: 268187 URL: http://svnweb.freebsd.org/changeset/base/268187 Log: Improve markup, change references to nonexistent vt_vga(4), remove some language redundancy, and move the examples so sections are in the standard orde

svn commit: r268186 - head/sys/kern

2014-07-02 Thread Marcel Moolenaar
Author: marcel Date: Wed Jul 2 22:13:07 2014 New Revision: 268186 URL: http://svnweb.freebsd.org/changeset/base/268186 Log: Drop KTR records when we're in the debugger so that the debugger isn't changing or overwriting the trace buffer. When KTR is enabled for things like traps or pmap func

svn commit: r268185 - head/sys/ia64/ia64

2014-07-02 Thread Marcel Moolenaar
Author: marcel Date: Wed Jul 2 22:09:06 2014 New Revision: 268185 URL: http://svnweb.freebsd.org/changeset/base/268185 Log: Improve the KTR logs by naming the values. Modified: head/sys/ia64/ia64/pmap.c Modified: head/sys/ia64/ia64/pmap.c

Re: svn commit: r268183 - head/sys/netinet

2014-07-02 Thread hiren panchasara
On Wed, Jul 2, 2014 at 3:04 PM, Hiren Panchasara wrote: > Author: hiren > Date: Wed Jul 2 22:04:14 2014 > New Revision: 268183 > URL: http://svnweb.freebsd.org/changeset/base/268183 > > Log: Ugh. sorry. Commit log was supposed to be: Fix a typo and improve readability. > > > Modified: > head/

svn commit: r268182 - in head/libexec/rtld-elf: . ia64

2014-07-02 Thread Marcel Moolenaar
Author: marcel Date: Wed Jul 2 22:04:12 2014 New Revision: 268182 URL: http://svnweb.freebsd.org/changeset/base/268182 Log: Fix r264346 for ia64. We need to allocate memory for the function descriptors in order to relocate RTLD itself. To allocate memory, we need the pagesizes array initial

svn commit: r268183 - head/sys/netinet

2014-07-02 Thread Hiren Panchasara
Author: hiren Date: Wed Jul 2 22:04:14 2014 New Revision: 268183 URL: http://svnweb.freebsd.org/changeset/base/268183 Log: Modified: head/sys/netinet/tcp_input.c Modified: head/sys/netinet/tcp_input.c == --- head/s

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

2014-07-02 Thread Alexander Motin
Author: mav Date: Wed Jul 2 21:25:32 2014 New Revision: 268178 URL: http://svnweb.freebsd.org/changeset/base/268178 Log: Fix bug in sync control in new "dev" mode of ZVOL (r265678). Don't check ZVOL_WCE flag, used in Solaris to control device "write cache". It is not applicable on FreeBS

svn commit: r268176 - in head/sys/dev: bge nfe

2014-07-02 Thread Sergey Kandaurov
Author: pluknet Date: Wed Jul 2 21:08:25 2014 New Revision: 268176 URL: http://svnweb.freebsd.org/changeset/base/268176 Log: Fixed build with DEVICE_POLLING. Modified: head/sys/dev/bge/if_bge.c head/sys/dev/nfe/if_nfe.c Modified: head/sys/dev/bge/if_bge.c =

svn commit: r268175 - in head/usr.sbin: kbdcontrol vidcontrol

2014-07-02 Thread Ed Maste
Author: emaste Date: Wed Jul 2 20:40:59 2014 New Revision: 268175 URL: http://svnweb.freebsd.org/changeset/base/268175 Log: Fix vt(4) detection in kbdcontrol and vidcontrol As sc(4) and vt(4) coexist and are both enabled in GENERIC, the existence of a vt(4) sysctl is not sufficient to de

Re: svn commit: r268173 - head/sys/conf

2014-07-02 Thread Nathan Whitehorn
On 07/02/14 13:28, Marius Strobl wrote: On Wed, Jul 02, 2014 at 01:04:48PM -0700, Nathan Whitehorn wrote: It worked at least on my Ultra 5 -- though probably because the ATI Mach64 FCode ROM there is substantially shared with the Mac version. It was even reasonably fast. But regardless of wheth

Re: svn commit: r268173 - head/sys/conf

2014-07-02 Thread Marius Strobl
On Wed, Jul 02, 2014 at 01:04:48PM -0700, Nathan Whitehorn wrote: > It worked at least on my Ultra 5 -- though probably because the ATI > Mach64 FCode ROM there is substantially shared with the Mac version. It > was even reasonably fast. But regardless of whether it's a generally > useful consol

Re: svn commit: r268173 - head/sys/conf

2014-07-02 Thread Nathan Whitehorn
It worked at least on my Ultra 5 -- though probably because the ATI Mach64 FCode ROM there is substantially shared with the Mac version. It was even reasonably fast. But regardless of whether it's a generally useful console driver on SPARC, at least it proves that vt(4) works fine. -Nathan On

svn commit: r268173 - head/sys/conf

2014-07-02 Thread Marius Strobl
Author: marius Date: Wed Jul 2 19:46:42 2014 New Revision: 268173 URL: http://svnweb.freebsd.org/changeset/base/268173 Log: Remove ofwfb(4) in order to fix the LINT build breakage caused by r268069. Both vt(4) and ofwfb(4) need a lot of love to be usable on sparc64 and even then the perform

svn commit: r268172 - head/usr.bin/vtfontcvt

2014-07-02 Thread Ed Maste
Author: emaste Date: Wed Jul 2 19:31:49 2014 New Revision: 268172 URL: http://svnweb.freebsd.org/changeset/base/268172 Log: vtfontcvt: correct width calculation (.hex files and commandline) MFC after:1 week Sponsored by: The FreeBSD Foundation Modified: head/usr.bin/vtfontcvt/vtfo

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

2014-07-02 Thread Ed Maste
Author: emaste Date: Wed Jul 2 19:22:12 2014 New Revision: 268169 URL: http://svnweb.freebsd.org/changeset/base/268169 Log: Clarify the setting of syscons driver flags Submitted by: wblock Modified: head/share/man/man4/syscons.4 Modified: head/share/man/man4/syscons.4 =

svn commit: r268165 - head/sys/dev/bge

2014-07-02 Thread Marcel Moolenaar
Author: marcel Date: Wed Jul 2 16:17:48 2014 New Revision: 268165 URL: http://svnweb.freebsd.org/changeset/base/268165 Log: Fix off-by-one introduced by the conversion to the driver API. Submitted by: Sreekanth Rupavatharam Obtained from: Juniper Networks, Inc. Modified: head/sys/

svn commit: r268162 - head/release/amd64

2014-07-02 Thread Nathan Whitehorn
Author: nwhitehorn Date: Wed Jul 2 15:23:13 2014 New Revision: 268162 URL: http://svnweb.freebsd.org/changeset/base/268162 Log: Now that GENERIC can boot on UEFI systems (r268158), switch the build to use UEFI-compatible images. These will boot as before on BIOS systems, but will boot using

svn commit: r268160 - head/sys/kern

2014-07-02 Thread Ed Maste
Author: emaste Date: Wed Jul 2 14:47:48 2014 New Revision: 268160 URL: http://svnweb.freebsd.org/changeset/base/268160 Log: Fix typos in VTY constant names from r268158 Modified: head/sys/kern/kern_cons.c Modified: head/sys/kern/kern_cons.c ==

svn commit: r268159 - head/usr.bin/mkimg

2014-07-02 Thread Marcel Moolenaar
Author: marcel Date: Wed Jul 2 14:34:01 2014 New Revision: 268159 URL: http://svnweb.freebsd.org/changeset/base/268159 Log: Add a ful stop after FreeBSD's version in the history section. Pointed out by: brueffer@ (thanks!) Modified: head/usr.bin/mkimg/mkimg.1 Modified: head/usr.bin/mki

svn commit: r268158 - in head/sys: amd64/amd64 kern sys

2014-07-02 Thread Ed Maste
Author: emaste Date: Wed Jul 2 13:24:21 2014 New Revision: 268158 URL: http://svnweb.freebsd.org/changeset/base/268158 Log: Prefer vt(4) for UEFI boot The UEFI framebuffer driver vt_efifb requires vt(4), so add a mechanism for the startup routine to set the preferred console. This chang

svn commit: r268156 - head/sys/dev/oce

2014-07-02 Thread Luigi Rizzo
Author: luigi Date: Wed Jul 2 12:13:11 2014 New Revision: 268156 URL: http://svnweb.freebsd.org/changeset/base/268156 Log: Various bugfixes from Stefano Garzarella: 1. oce_multiq_start(): make sure the buffer is consumed even on ENXIO 2. oce_multiq_transmit(): there is an extra call to d

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

2014-07-02 Thread Konstantin Belousov
On Wed, Jul 02, 2014 at 10:43:28AM +0200, Mateusz Guzik wrote: > On Tue, Jul 01, 2014 at 09:07:17PM +0300, Konstantin Belousov wrote: > > On Tue, Jul 01, 2014 at 04:32:38PM +0200, Mateusz Guzik wrote: > > > All other threads have to be blocked, otherwise there are more dangerous > > > races - for i

svn commit: r268138 - head/sys/sys

2014-07-02 Thread Hans Petter Selasky
Author: hselasky Date: Wed Jul 2 08:49:06 2014 New Revision: 268138 URL: http://svnweb.freebsd.org/changeset/base/268138 Log: Add support for empty data sets. Data set begin and end pointers should resolve to "NULL" when not present. This is done by declaring the data set begin and end symb

svn commit: r268137 - head/sys/sys

2014-07-02 Thread Hans Petter Selasky
Author: hselasky Date: Wed Jul 2 08:45:26 2014 New Revision: 268137 URL: http://svnweb.freebsd.org/changeset/base/268137 Log: Define a "__weak" macro for declaring symbols "weak". Modified: head/sys/sys/cdefs.h Modified: head/sys/sys/cdefs.h =

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

2014-07-02 Thread Mateusz Guzik
On Tue, Jul 01, 2014 at 09:07:17PM +0300, Konstantin Belousov wrote: > On Tue, Jul 01, 2014 at 04:32:38PM +0200, Mateusz Guzik wrote: > > All other threads have to be blocked, otherwise there are more dangerous > > races - for instance we support sharing file descriptor tables, so > > execve makes