svn commit: r255015 - head/sys/dev/cxgbe

2013-08-29 Thread Navdeep Parhar
Author: np Date: Thu Aug 29 06:26:22 2013 New Revision: 255015 URL: http://svnweb.freebsd.org/changeset/base/255015 Log: Merge r254386 from user/np/cxl_tuning. Add an INET|INET6 check missing in said revision. r254386: Flush inactive LRO entries periodically. Modified:

svn commit: r255016 - head/sys/sys

2013-08-29 Thread Navdeep Parhar
Author: np Date: Thu Aug 29 08:07:35 2013 New Revision: 255016 URL: http://svnweb.freebsd.org/changeset/base/255016 Log: Merge r254736 from user/np/cxl_tuning. Don't leak tags when M_NOFREE | M_PKTHDR mbufs are freed. Reviewed by: andre Modified: head/sys/sys/mbuf.h Directory

Re: svn commit: r254882 - head/sys/dev/pci

2013-08-29 Thread Jean-Sébastien Pédron
On 26.08.2013 16:55, John Baldwin wrote: On Sunday, August 25, 2013 2:09:12 pm Jean-Sebastien Pedron wrote: Author: dumbbell Date: Sun Aug 25 18:09:11 2013 New Revision: 254882 URL: http://svnweb.freebsd.org/changeset/base/254882 Log: vga_pci: Add API to map the Video BIOS This won't

Re: svn commit: r254600 - head/lib/libutil

2013-08-29 Thread Sergey Kandaurov
On 22 August 2013 14:51, Bruce Evans b...@optusnet.com.au wrote: On Wed, 21 Aug 2013, Jilles Tjoelker wrote: On Thu, Aug 22, 2013 at 01:24:13AM +0400, Sergey Kandaurov wrote: On Wed, Aug 21, 2013 at 10:27:25PM +0200, Jilles Tjoelker wrote: On Wed, Aug 21, 2013 at 11:03:10PM +0400, Sergey

svn commit: r255018 - head/tools/build/mk

2013-08-29 Thread Andreas Tobler
Author: andreast Date: Thu Aug 29 11:40:45 2013 New Revision: 255018 URL: http://svnweb.freebsd.org/changeset/base/255018 Log: Remove GNU_PATCH leftover. Modified: head/tools/build/mk/OptionalObsoleteFiles.inc Modified: head/tools/build/mk/OptionalObsoleteFiles.inc

Re: svn commit: r255018 - head/tools/build/mk

2013-08-29 Thread Niclas Zeising
On 2013-08-29 13:40, Andreas Tobler wrote: Author: andreast Date: Thu Aug 29 11:40:45 2013 New Revision: 255018 URL: http://svnweb.freebsd.org/changeset/base/255018 Log: Remove GNU_PATCH leftover. Modified: head/tools/build/mk/OptionalObsoleteFiles.inc They should probably be

svn commit: r255021 - head/sys/mips/atheros

2013-08-29 Thread Luiz Otavio O Souza
Author: loos Date: Thu Aug 29 12:48:12 2013 New Revision: 255021 URL: http://svnweb.freebsd.org/changeset/base/255021 Log: Prevent the full restart cycle every time arge_start() is called. Only (re)start the interface when it is down. This change fix a race with BOOTP where the response

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

2013-08-29 Thread Adrian Chadd
Author: adrian Date: Thu Aug 29 13:52:51 2013 New Revision: 255022 URL: http://svnweb.freebsd.org/changeset/base/255022 Log: Remove the duplicate LLC_MISS event and put it in the right order. Modified: head/sys/dev/hwpmc/pmc_events.h Modified: head/sys/dev/hwpmc/pmc_events.h

Re: svn commit: r254600 - head/lib/libutil

2013-08-29 Thread Bruce Evans
On Thu, 29 Aug 2013, Sergey Kandaurov wrote: On 22 August 2013 14:51, Bruce Evans b...@optusnet.com.au wrote: expand_number() remains a very badly designed and implemented function. Its design errors start with its name. It doesn't expand numbers. It ... [...] Some of the other bugs in

svn commit: r255023 - head/sys/dev/iwn

2013-08-29 Thread Adrian Chadd
Author: adrian Date: Thu Aug 29 13:56:44 2013 New Revision: 255023 URL: http://svnweb.freebsd.org/changeset/base/255023 Log: Migrate iwn(4) to use the new ieee80211_tx_complete() API. Tested: * Intel 5100, STA mode Modified: head/sys/dev/iwn/if_iwn.c Modified:

svn commit: r255028 - in head/sys: amd64/amd64 arm/arm i386/i386 i386/xen ia64/ia64 mips/mips powerpc/powerpc sparc64/sparc64 vm

2013-08-29 Thread Alan Cox
Author: alc Date: Thu Aug 29 15:49:05 2013 New Revision: 255028 URL: http://svnweb.freebsd.org/changeset/base/255028 Log: Significantly reduce the cost, i.e., run time, of calls to madvise(..., MADV_DONTNEED) and madvise(..., MADV_FREE). Specifically, introduce a new pmap function,

Re: [libvirt] FreeBSD, no gcc present libvirt build issue

2013-08-29 Thread Eric Blake
On 08/29/2013 09:43 AM, Eric Blake wrote: On 08/29/2013 09:35 AM, Jason Helfman wrote: stdlib.h:#defineRAND_MAX0x7fff Good. -jgh And on our current head release (10) it is this: #define RAND_MAX0x7ffd Huh? Why is this not 2**n-1? That violates

svn commit: r255029 - in head: . share/man/man5

2013-08-29 Thread Antoine Brodin
== --- head/ObsoleteFiles.inc Thu Aug 29 15:49:05 2013(r255028) +++ head/ObsoleteFiles.inc Thu Aug 29 15:58:20 2013(r255029) @@ -38,6 +38,9 @@ # xargs -n1 | sort | uniq -d; # done +# 20130829: bsdpatch is patch unconditionally +OLD_FILES

svn commit: r255030 - head/sys/kern

2013-08-29 Thread John Baldwin
Author: jhb Date: Thu Aug 29 15:59:05 2013 New Revision: 255030 URL: http://svnweb.freebsd.org/changeset/base/255030 Log: Don't return an error for socket timeouts that are too large. Just cap them to INT_MAX ticks instead. PR: kern/181416 (r254699 really) Requested by: bde

Re: [libvirt] FreeBSD, no gcc present libvirt build issue

2013-08-29 Thread Daniel P. Berrange
On Thu, Aug 29, 2013 at 09:52:52AM -0600, Eric Blake wrote: On 08/29/2013 09:43 AM, Eric Blake wrote: On 08/29/2013 09:35 AM, Jason Helfman wrote: stdlib.h:#defineRAND_MAX0x7fff Good. -jgh And on our current head release (10) it is this: #define

Re: [libvirt] FreeBSD, no gcc present libvirt build issue

2013-08-29 Thread Eric Blake
On 08/29/2013 09:52 AM, Eric Blake wrote: #define RAND_MAX0x7ffd Huh? Why is this not 2**n-1? That violates assumptions we have made, and is WHY your compile failed. It has nothing to do with clang vs. gcc (both compilers would fail), it has to do with your changed system

svn commit: r255031 - head/sys/dev/uart

2013-08-29 Thread Marcel Moolenaar
Author: marcel Date: Thu Aug 29 16:26:04 2013 New Revision: 255031 URL: http://svnweb.freebsd.org/changeset/base/255031 Log: Work-around a timing problem with the ITE IT8513E now that the core calls ns8250_bus_ipend() almost immediately after ns8250_bus_attach(). As it appears, a line break

Re: [libvirt] FreeBSD, no gcc present libvirt build issue

2013-08-29 Thread Eric Blake
On 08/29/2013 10:03 AM, Daniel P. Berrange wrote: I think I can fix libvirt to work around the boneheaded decision; basically, since we cannot trust the full range of random_r to be evenly distributed, I will have to tweak libvirt's call to truncate every call to random_r to a subset of bits

svn commit: r255032 - head/sys/kern

2013-08-29 Thread Kenneth D. Merry
Author: ken Date: Thu Aug 29 16:41:40 2013 New Revision: 255032 URL: http://svnweb.freebsd.org/changeset/base/255032 Log: Fix some issues in change 254760 pointed out by Bruce Evans: - Remove excessive parenthesis - Use KNF continuation indentation - Cut down on excessive

Re: [libvirt] FreeBSD, no gcc present libvirt build issue

2013-08-29 Thread Eric Blake
On 08/29/2013 10:33 AM, Eric Blake wrote: Since gnulib has a working random_r() function can we just make gnulib replace the boneheaded freebsd impl ? Huh - the glibc man pages state that random_r returns RAND_MAX bits. random_r is a glibc extension: POSIX only requires rand(), rand_r(), and

svn commit: r255033 - head/contrib/libexecinfo

2013-08-29 Thread Ed Maste
Author: emaste Date: Thu Aug 29 16:57:55 2013 New Revision: 255033 URL: http://svnweb.freebsd.org/changeset/base/255033 Log: Update to 2013-08-29 NetBSD libexecinfo snapshot This adds my patch to use the kern.proc.pathname sysctl instead of relying on procfs(5). Modified:

svn commit: r255035 - head/etc/mtree

2013-08-29 Thread Xin LI
Author: delphij Date: Thu Aug 29 17:40:03 2013 New Revision: 255035 URL: http://svnweb.freebsd.org/changeset/base/255035 Log: Add a few missing language directories for /usr. Modified: head/etc/mtree/BSD.usr.dist Modified: head/etc/mtree/BSD.usr.dist

svn commit: r255036 - head/etc/mtree

2013-08-29 Thread Xin LI
Author: delphij Date: Thu Aug 29 17:45:13 2013 New Revision: 255036 URL: http://svnweb.freebsd.org/changeset/base/255036 Log: Add directories that is installed as part of bsdconfig. These are included unconditionally for now because bsdconfig is currently installed unconditionally.

svn commit: r255037 - head/sys/dev/drm2

2013-08-29 Thread Jung-uk Kim
Author: jkim Date: Thu Aug 29 18:36:47 2013 New Revision: 255037 URL: http://svnweb.freebsd.org/changeset/base/255037 Log: Fix atomic operations on context_flag without altering semantics. Modified: head/sys/dev/drm2/drm_context.c Modified: head/sys/dev/drm2/drm_context.c

svn commit: r255038 - head/sys/net

2013-08-29 Thread Adrian Chadd
Author: adrian Date: Thu Aug 29 19:35:14 2013 New Revision: 255038 URL: http://svnweb.freebsd.org/changeset/base/255038 Log: Convert the if_lagg rwlock to an rmlock. We've been seeing lots of cache line contention (but not lock contention!) in our workloads between the various TX and RX

svn commit: r255039 - head/sys/dev/drm2

2013-08-29 Thread Jung-uk Kim
Author: jkim Date: Thu Aug 29 19:47:52 2013 New Revision: 255039 URL: http://svnweb.freebsd.org/changeset/base/255039 Log: - Remove test_and_set_bit() macro. It is unused since r255037. - Relax atomic_read() and atomic_set() macros. Linux does not require any memory barrier. Also, these

svn commit: r255041 - head/sys/dev/drm2

2013-08-29 Thread Jung-uk Kim
Author: jkim Date: Thu Aug 29 20:40:45 2013 New Revision: 255041 URL: http://svnweb.freebsd.org/changeset/base/255041 Log: Clarify confusions between atomic_t and bitmap. Fix bitmap operations accordingly. Modified: head/sys/dev/drm2/drmP.h head/sys/dev/drm2/drm_atomic.h Modified:

svn commit: r255042 - head/sys/dev/drm2

2013-08-29 Thread Jung-uk Kim
Author: jkim Date: Thu Aug 29 20:51:12 2013 New Revision: 255042 URL: http://svnweb.freebsd.org/changeset/base/255042 Log: Fix the incomplete conversion from atomic_t to long for test_bit(). Modified: head/sys/dev/drm2/drm_atomic.h Modified: head/sys/dev/drm2/drm_atomic.h

svn commit: r255043 - head/sys/cam/scsi

2013-08-29 Thread Kenneth D. Merry
Author: ken Date: Thu Aug 29 21:25:27 2013 New Revision: 255043 URL: http://svnweb.freebsd.org/changeset/base/255043 Log: Bump up the default timeouts for move commands in the ch(4) driver to 15 minutes, and 5 minutes for things like READ ELEMENT STATUS. This is needed to account for the

svn commit: r255044 - head/sys/dev/drm2/ttm

2013-08-29 Thread Jung-uk Kim
Author: jkim Date: Thu Aug 29 22:46:21 2013 New Revision: 255044 URL: http://svnweb.freebsd.org/changeset/base/255044 Log: Partially revert r254880. The bitmap operations actually use long type now. Modified: head/sys/dev/drm2/ttm/ttm_bo.c head/sys/dev/drm2/ttm/ttm_bo_util.c

svn commit: r255045 - head/sys/dev/drm2

2013-08-29 Thread Jung-uk Kim
Author: jkim Date: Thu Aug 29 23:09:34 2013 New Revision: 255045 URL: http://svnweb.freebsd.org/changeset/base/255045 Log: 'u_long' is consistently spelled 'unsigned long' in this file. Fix it. Modified: head/sys/dev/drm2/drmP.h Modified: head/sys/dev/drm2/drmP.h

svn commit: r255046 - in head/sys: conf dev/xen/timer i386/include/xen i386/xen

2013-08-29 Thread Justin T. Gibbs
Author: gibbs Date: Thu Aug 29 23:11:58 2013 New Revision: 255046 URL: http://svnweb.freebsd.org/changeset/base/255046 Log: Introduce a new, HVM compatible, paravirtualized timer driver for Xen. Use this new driver for both PV and HVM instances. This driver requires a Xen hypervisor that

svn commit: r255047 - head/sys/sys

2013-08-29 Thread Navdeep Parhar
Author: np Date: Thu Aug 29 23:46:38 2013 New Revision: 255047 URL: http://svnweb.freebsd.org/changeset/base/255047 Log: Add a routine for attaching an mbuf to a buffer with an external refcount. This one is willing to work with buffers that may already be referenced. MEXTADD/m_extadd are

svn commit: r255048 - head

2013-08-29 Thread Bryan Drewery
Author: bdrewery (ports committer) Date: Fri Aug 30 01:32:47 2013 New Revision: 255048 URL: http://svnweb.freebsd.org/changeset/base/255048 Log: - Fix LOCAL_MTREE so it properly handles multiple files and quotes its value into submakes PR: conf/179466 Submitted by: Garrett

svn commit: r255050 - head/sys/dev/cxgbe

2013-08-29 Thread Navdeep Parhar
Author: np Date: Fri Aug 30 01:45:36 2013 New Revision: 255050 URL: http://svnweb.freebsd.org/changeset/base/255050 Log: Implement support for rx buffer packing. Enable it by default for T5 cards. This is a T4 and T5 chip feature which lets the chip deliver multiple Ethernet frames in

svn commit: r255051 - head/sys/dev/xen/blkfront

2013-08-29 Thread Colin Percival
Author: cperciva Date: Fri Aug 30 01:46:56 2013 New Revision: 255051 URL: http://svnweb.freebsd.org/changeset/base/255051 Log: If reading a virtual-device value fails, attempt to read a virtual-device-ext value. Some hosts do not publish extended disk IDs via virtual-device in an attempt

svn commit: r255052 - head/sys/dev/cxgbe

2013-08-29 Thread Navdeep Parhar
Author: np Date: Fri Aug 30 02:13:36 2013 New Revision: 255052 URL: http://svnweb.freebsd.org/changeset/base/255052 Log: Fix the sysctl that displays whether buffer packing is enabled or not. Modified: head/sys/dev/cxgbe/t4_sge.c Modified: head/sys/dev/cxgbe/t4_sge.c

svn commit: r255055 - in head: share/man/man4 sys/dev/vmware/vmxnet3

2013-08-29 Thread Bryan Venteicher
Author: bryanv Date: Fri Aug 30 05:53:00 2013 New Revision: 255055 URL: http://svnweb.freebsd.org/changeset/base/255055 Log: Few more minor if_vmx tweaks - Allow the Rx/Tx queue sizes to be configured by tunables - Bail out earlier if the Tx queue unlikely has enough free