Re: svn commit: r259908 - head/sys/vm

2013-12-29 Thread Konstantin Belousov
On Sat, Dec 28, 2013 at 06:49:25PM -0600, Alan Cox wrote: > On 12/28/2013 18:02, Nathan Whitehorn wrote: > > On 12/26/13 00:46, Marcel Moolenaar wrote: > >> Author: marcel > >> Date: Thu Dec 26 05:46:10 2013 > >> New Revision: 259908 > >> URL: http://svnweb.freebsd.org/changeset/base/259908 > >> >

Re: svn commit: r260022 - head/lib/libkvm

2013-12-29 Thread Konstantin Belousov
On Sat, Dec 28, 2013 at 06:39:07PM -0800, Marcel Moolenaar wrote: > > On Dec 28, 2013, at 4:40 PM, Peter Wemm wrote: > > > On Sat, Dec 28, 2013 at 4:04 PM, Peter Wemm wrote: > >> On Sat, Dec 28, 2013 at 3:01 PM, Marcel Moolenaar > >> wrote: > >>> Author: marcel > >>> Date: Sat Dec 28 23:01:57

svn commit: r260036 - head/sys/rpc

2013-12-29 Thread Alexander Motin
Author: mav Date: Sun Dec 29 11:19:09 2013 New Revision: 260036 URL: http://svnweb.freebsd.org/changeset/base/260036 Log: Introduce xprt_inactive_self() -- variant for use when sure that port is assigned to thread. For example, withing receive handlers. In that case the function reduces t

svn commit: r260038 - head/sys/dev/en

2013-12-29 Thread Dimitry Andric
Author: dim Date: Sun Dec 29 14:19:15 2013 New Revision: 260038 URL: http://svnweb.freebsd.org/changeset/base/260038 Log: In sys/dev/en/midway.c, #if 0 an unused static function. MFC after:3 days Modified: head/sys/dev/en/midway.c Modified: head/sys/dev/en/midway.c =

svn commit: r260039 - in head/sys: conf modules/ipfilter

2013-12-29 Thread Dimitry Andric
Author: dim Date: Sun Dec 29 14:21:55 2013 New Revision: 260039 URL: http://svnweb.freebsd.org/changeset/base/260039 Log: Turn off warnings about unused variables for a bunch of files under contrib/ipfilter. MFC after:3 days Modified: head/sys/conf/files head/sys/modules/ipfilter

svn commit: r260040 - head/sys/dev/mcd

2013-12-29 Thread Dimitry Andric
Author: dim Date: Sun Dec 29 16:28:37 2013 New Revision: 260040 URL: http://svnweb.freebsd.org/changeset/base/260040 Log: In sys/dev/mcd/mcd.c, mark the static const COPYRIGHT string as __used, so it ends up in the object file, and no warnings are emitted about it being actually unused.

svn commit: r260041 - head/usr.sbin/makefs/cd9660

2013-12-29 Thread Marius Strobl
Author: marius Date: Sun Dec 29 16:43:35 2013 New Revision: 260041 URL: http://svnweb.freebsd.org/changeset/base/260041 Log: Record the IEEE P1282 Rock Ridge version 1.12 POSIX File Serial Number, i. e. the POSIX:5.6.1 st_ino field, which can be used to detect hard links in the file system.

svn commit: r260042 - head/sys/dev/my

2013-12-29 Thread Dimitry Andric
Author: dim Date: Sun Dec 29 17:03:45 2013 New Revision: 260042 URL: http://svnweb.freebsd.org/changeset/base/260042 Log: Remove superfluous old-style rcsid[] from if_my.c. There is already an __FBSDID() at the top of the file. MFC after:3 days Modified: head/sys/dev/my/if_my.c M

svn commit: r260043 - head/sys/kern

2013-12-29 Thread Mark Johnston
Author: markj Date: Sun Dec 29 17:08:30 2013 New Revision: 260043 URL: http://svnweb.freebsd.org/changeset/base/260043 Log: The arguments to sched:::off-cpu are the thread and associated process of the thread selected to run, not the currently running thread. This fix has already been made f

Re: svn commit: r260022 - head/lib/libkvm

2013-12-29 Thread Marcel Moolenaar
On Dec 29, 2013, at 1:03 AM, Konstantin Belousov wrote: > On Sat, Dec 28, 2013 at 06:39:07PM -0800, Marcel Moolenaar wrote: >> >> On Dec 28, 2013, at 4:40 PM, Peter Wemm wrote: >> >>> On Sat, Dec 28, 2013 at 4:04 PM, Peter Wemm wrote: On Sat, Dec 28, 2013 at 3:01 PM, Marcel Moolenaar

svn commit: r260044 - head/sys/dev/aac

2013-12-29 Thread Marius Strobl
Author: marius Date: Sun Dec 29 17:37:32 2013 New Revision: 260044 URL: http://svnweb.freebsd.org/changeset/base/260044 Log: Free the MSI again on detach if allocated. Arguably, this code would be better off living in aac_pci.c, but it doesn't seem worth creating a aac_pci_detach() and it's

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

2013-12-29 Thread Marius Strobl
Author: marius Date: Sun Dec 29 17:43:37 2013 New Revision: 260045 URL: http://svnweb.freebsd.org/changeset/base/260045 Log: - Simplify MSI allocation and release. For a single one, we don't need to fiddle with the MSI count and pci_release_msi(9) is smart enough to just do nothing in ca

svn commit: r260046 - head/sys/netgraph

2013-12-29 Thread Gleb Smirnoff
Author: glebius Date: Sun Dec 29 18:34:29 2013 New Revision: 260046 URL: http://svnweb.freebsd.org/changeset/base/260046 Log: Fix the parse type for NGM_LISTTYPES. Actually, text versions of generic commands are not used, since ngctl(8) uses binary messages for them. And to request a text

svn commit: r260047 - head/sys/dev/fb

2013-12-29 Thread Ed Maste
Author: emaste Date: Sun Dec 29 18:44:12 2013 New Revision: 260047 URL: http://svnweb.freebsd.org/changeset/base/260047 Log: Clean up license text - Renumber Regents clauses - Remove clause 3 and 4 from TNF license, following upstream change Modified: head/sys/dev/fb/boot_font.c head

svn commit: r260048 - head/sys/netgraph/netflow

2013-12-29 Thread Dimitry Andric
Author: dim Date: Sun Dec 29 18:53:45 2013 New Revision: 260048 URL: http://svnweb.freebsd.org/changeset/base/260048 Log: In sys/netgraph/netflow, use __FBSDID() instead of old-style rcs_id[]. MFC after:3 days Modified: head/sys/netgraph/netflow/netflow.c head/sys/netgraph/netflow/

svn commit: r260049 - head/usr.sbin/bsnmpd/modules/snmp_hast

2013-12-29 Thread Mikolaj Golub
Author: trociny Date: Sun Dec 29 19:02:33 2013 New Revision: 260049 URL: http://svnweb.freebsd.org/changeset/base/260049 Log: Add mibs for hastd(1) queue stats. MFC after:1 week Modified: head/usr.sbin/bsnmpd/modules/snmp_hast/BEGEMOT-HAST-MIB.txt head/usr.sbin/bsnmpd/modules/snmp_

svn commit: r260050 - head/sys/dev/ed

2013-12-29 Thread Marius Strobl
Author: marius Date: Sun Dec 29 19:21:59 2013 New Revision: 260050 URL: http://svnweb.freebsd.org/changeset/base/260050 Log: - Switch to using the common MII bitbang'ing code instead of duplicating it. - Based on lessons learnt with dc(4) (see r185750), add bus space barriers to the MII bi

Re: svn commit: r259908 - head/sys/vm

2013-12-29 Thread Alan Cox
On 12/29/2013 03:00, Konstantin Belousov wrote: > On Sat, Dec 28, 2013 at 06:49:25PM -0600, Alan Cox wrote: >> On 12/28/2013 18:02, Nathan Whitehorn wrote: >>> On 12/26/13 00:46, Marcel Moolenaar wrote: Author: marcel Date: Thu Dec 26 05:46:10 2013 New Revision: 259908 URL: http

svn commit: r260051 - head/cddl/contrib/opensolaris/lib/libdtrace/common

2013-12-29 Thread Mark Johnston
Author: markj Date: Sun Dec 29 19:27:32 2013 New Revision: 260051 URL: http://svnweb.freebsd.org/changeset/base/260051 Log: When clearing relocations to __dtrace* symbols, handle both SHT_REL and SHT_RELA sections properly instead of assuming that the relocation section is of type SHT_REL.

svn commit: r260052 - head/usr.bin/netstat

2013-12-29 Thread Gleb Smirnoff
Author: glebius Date: Sun Dec 29 19:31:49 2013 New Revision: 260052 URL: http://svnweb.freebsd.org/changeset/base/260052 Log: Claim copyright since I've almost rewritten this file in r256512. Modified: head/usr.bin/netstat/if.c Modified: head/usr.bin/netstat/if.c

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

2013-12-29 Thread Marius Strobl
Author: marius Date: Sun Dec 29 19:32:27 2013 New Revision: 260053 URL: http://svnweb.freebsd.org/changeset/base/260053 Log: - There's no need to keep track of resource IDs. - Simplify MSI allocation and release. For a single one, we don't need to fiddle with the MSI count and pci_release_

svn commit: r260054 - head/sys/dev/tpm

2013-12-29 Thread Dimitry Andric
Author: dim Date: Sun Dec 29 19:55:06 2013 New Revision: 260054 URL: http://svnweb.freebsd.org/changeset/base/260054 Log: In sys/dev/tpm/tpm.c, #if 0 an unused static function. MFC after:3 days Modified: head/sys/dev/tpm/tpm.c Modified: head/sys/dev/tpm/tpm.c ===

svn commit: r260055 - head/sys/dev/usb/wlan

2013-12-29 Thread Dimitry Andric
Author: dim Date: Sun Dec 29 20:05:48 2013 New Revision: 260055 URL: http://svnweb.freebsd.org/changeset/base/260055 Log: In sys/dev/usb/wlan/if_urtw.c, #if 0 a static const variable, which has been unused since r198194. MFC after:3 days Modified: head/sys/dev/usb/wlan/if_urtw.c M

Re: svn commit: r259908 - head/sys/vm

2013-12-29 Thread Konstantin Belousov
On Sun, Dec 29, 2013 at 01:15:22PM -0600, Alan Cox wrote: > On 12/29/2013 03:00, Konstantin Belousov wrote: > > BTW, I do not easily see why the current amd64 implementation needs > > the pmap being current. I do not see accesses to recursive page table > > mappings in the code. > > The amd64 imp

svn commit: r260056 - head/sys/dev/vxge/vxgehal

2013-12-29 Thread Dimitry Andric
Author: dim Date: Sun Dec 29 20:16:12 2013 New Revision: 260056 URL: http://svnweb.freebsd.org/changeset/base/260056 Log: In sys/dev/vxge/vxgehal/vxgehal-ring.c, #if 0 an unused static function. MFC after:3 days Modified: head/sys/dev/vxge/vxgehal/vxgehal-ring.c Modified: head/sys/d

svn commit: r260057 - head/sys/dev/scc

2013-12-29 Thread Dimitry Andric
Author: dim Date: Sun Dec 29 20:23:08 2013 New Revision: 260057 URL: http://svnweb.freebsd.org/changeset/base/260057 Log: In sys/dev/scc, remove unused static function scc_setmreg(). While here, invoke scc_getmreg() in two more places where it can be used. Reviewed by: marcel MFC afte

svn commit: r260058 - head/sys/dev/mpt

2013-12-29 Thread Marius Strobl
Author: marius Date: Sun Dec 29 20:41:32 2013 New Revision: 260058 URL: http://svnweb.freebsd.org/changeset/base/260058 Log: - Remove a redundant variable in mpt_pci_attach(). - #if 0 the currently unused paired port linking and unlinking of dual adapters. - Simplify MSI/MSI-X allocation

svn commit: r260059 - head/sbin/camcontrol

2013-12-29 Thread Scott Long
Author: scottl Date: Sun Dec 29 20:48:47 2013 New Revision: 260059 URL: http://svnweb.freebsd.org/changeset/base/260059 Log: Add the '-b' flag to 'camcontrol devlist'. This prints only the existing buses and their parent sims, useful for creating a sim->bus->device map. Obtained from:

Re: svn commit: r259896 - head/sys/dev/cxgb/common

2013-12-29 Thread Pedro Giffuni
On 26.12.2013 06:13, Dimitry Andric wrote: On 26 Dec 2013, at 02:51, Adrian Chadd wrote: I'd prefer you didn't remove unused code in drivers like this. If you must, #if 0 them out. I don't mind either way, but some other people are very much opposed to littering code with #if 0'd sections. So

Re: svn commit: r259896 - head/sys/dev/cxgb/common

2013-12-29 Thread John-Mark Gurney
Pedro Giffuni wrote this message on Sun, Dec 29, 2013 at 15:51 -0500: > On 26.12.2013 06:13, Dimitry Andric wrote: > >On 26 Dec 2013, at 02:51, Adrian Chadd wrote: > >>I'd prefer you didn't remove unused code in drivers like this. If you > >>must, #if 0 them out. > >I don't mind either way, but so

svn commit: r260060 - head/sys/netinet

2013-12-29 Thread Gleb Smirnoff
Author: glebius Date: Sun Dec 29 22:20:06 2013 New Revision: 260060 URL: http://svnweb.freebsd.org/changeset/base/260060 Log: Fix couple of bugs from r257692 related to scan of address list on an interface: - in in_control() skip over not AF_INET addresses. - in in_aifaddr_ioctl() and in_d

svn commit: r260061 - head/sys/dev/ral

2013-12-29 Thread Marius Strobl
Author: marius Date: Sun Dec 29 22:43:14 2013 New Revision: 260061 URL: http://svnweb.freebsd.org/changeset/base/260061 Log: - Add support for using MSI instead of INTx, controllable via the tunable hw.ral.msi_disable (defaulting to using MSI). - Probe with BUS_PROBE_DEFAULT instead of 0.

svn commit: r260062 - head/sys/dev/ipw

2013-12-29 Thread Marius Strobl
Author: marius Date: Sun Dec 29 22:56:05 2013 New Revision: 260062 URL: http://svnweb.freebsd.org/changeset/base/260062 Log: - Probe with BUS_PROBE_DEFAULT instead of 0. - Nuke code setting PCI_POWERSTATE_D0; pci(4) already does that for type 0 devices. - Use PCIR_BAR instead of a homegr

svn commit: r260063 - head/sys/dev/iwi

2013-12-29 Thread Marius Strobl
Author: marius Date: Sun Dec 29 23:05:01 2013 New Revision: 260063 URL: http://svnweb.freebsd.org/changeset/base/260063 Log: - Probe with BUS_PROBE_DEFAULT instead of 0. - Nuke code setting PCI_POWERSTATE_D0; pci(4) already does that for type 0 devices. - Use PCIR_BAR instead of a homegr

svn commit: r260064 - head/sys/dev/wpi

2013-12-29 Thread Marius Strobl
Author: marius Date: Sun Dec 29 23:46:59 2013 New Revision: 260064 URL: http://svnweb.freebsd.org/changeset/base/260064 Log: - Probe with BUS_PROBE_DEFAULT instead of 0. - Nuke code setting PCI_POWERSTATE_D0; pci(4) already does that for type 0 devices. - There's no need to keep track of

svn commit: r260066 - in head/lib/msun: ld128 ld80

2013-12-29 Thread Steve Kargl
Author: kargl Date: Mon Dec 30 00:51:25 2013 New Revision: 260066 URL: http://svnweb.freebsd.org/changeset/base/260066 Log: * ld80/k_expl.h: * ld128/k_expl.h: . Split out a computational kernel,__k_expl(x, &hi, &lo, &k) from expl(x). x must be finite and not tiny or huge. The kernel

svn commit: r260067 - in head/lib/msun: . man src

2013-12-29 Thread Steve Kargl
Author: kargl Date: Mon Dec 30 01:06:21 2013 New Revision: 260067 URL: http://svnweb.freebsd.org/changeset/base/260067 Log: * Makefile: . Hook coshl, sinhl, and tanhl into libm. . Create symbolic links for corresponding manpages. . While here remove a nearby extraneous space. *

svn commit: r260068 - head/sbin/fsck_ffs

2013-12-29 Thread Scott Long
Author: scottl Date: Mon Dec 30 01:16:08 2013 New Revision: 260068 URL: http://svnweb.freebsd.org/changeset/base/260068 Log: Add the -R option to allow fsck_ffs to restart itself when too many critical errors have been detected in a particular run. Clean up the global state variables so t

svn commit: r260069 - head/sbin/fsdb

2013-12-29 Thread Scott Long
Author: scottl Date: Mon Dec 30 01:17:05 2013 New Revision: 260069 URL: http://svnweb.freebsd.org/changeset/base/260069 Log: Add globs.c to the build now that it's a separate file. Reviewed by: max Obtained from:Netflix MFC after:3 days Modified: head/sbin/fsdb/Makefile

svn commit: r260070 - head/sys/net

2013-12-29 Thread Scott Long
Author: scottl Date: Mon Dec 30 01:32:17 2013 New Revision: 260070 URL: http://svnweb.freebsd.org/changeset/base/260070 Log: Multi-queue NIC drivers and multi-port lagg tend to use the same lower bits of the flowid as each other, resulting in a poor distribution of packets among queues in ce

Re: svn commit: r259896 - head/sys/dev/cxgb/common

2013-12-29 Thread Scott Long
On Dec 29, 2013, at 2:28 PM, John-Mark Gurney wrote: > Pedro Giffuni wrote this message on Sun, Dec 29, 2013 at 15:51 -0500: >> On 26.12.2013 06:13, Dimitry Andric wrote: >>> On 26 Dec 2013, at 02:51, Adrian Chadd wrote: I'd prefer you didn't remove unused code in drivers like this. If you

svn commit: r260073 - in head/contrib/gcc: . cp

2013-12-29 Thread Pedro F. Giffuni
Author: pfg Date: Mon Dec 30 02:52:43 2013 New Revision: 260073 URL: http://svnweb.freebsd.org/changeset/base/260073 Log: gcc: small diff reduction wrt gcc43 and Apple GCC. Obtained from:gcc 4.3 (rev. 121464, 122528, 124106; GPLv2) MFC after:3 weeks Modified: head/contrib/g

svn commit: r260076 - head/sbin/fsck_ffs

2013-12-29 Thread Scott Long
Author: scottl Date: Mon Dec 30 05:02:57 2013 New Revision: 260076 URL: http://svnweb.freebsd.org/changeset/base/260076 Log: Add globs.c, missed in r260068,260069 Submitted by: peter Obtained from:Netflix MFC after:3 Days Added: head/sbin/fsck_ffs/globs.c (contents, pro

svn commit: r260079 - head/sys/ufs/ufs

2013-12-29 Thread Kirk McKusick
Author: mckusick Date: Mon Dec 30 06:19:42 2013 New Revision: 260079 URL: http://svnweb.freebsd.org/changeset/base/260079 Log: Properly handle unsigned comparison. MFC after: 2 weeks Modified: head/sys/ufs/ufs/ufs_quota.c Modified: head/sys/ufs/ufs/ufs_quota.c ==