Re: svn commit: r260463 - head/sys/dev/usb/wlan

2014-01-09 Thread Gleb Smirnoff
On Thu, Jan 09, 2014 at 01:48:34AM +, Kevin Lo wrote: K> Author: kevlo K> Date: Thu Jan 9 01:48:33 2014 K> New Revision: 260463 K> URL: http://svnweb.freebsd.org/changeset/base/260463 K> K> Log: K> Replace deprecated M_DONTWAIT with M_NOWAIT. K> K> Modified: K> head/sys/dev/usb/wlan/if_r

svn commit: r260471 - head/sbin/casperd

2014-01-09 Thread Pawel Jakub Dawidek
Author: pjd Date: Thu Jan 9 09:19:59 2014 New Revision: 260471 URL: http://svnweb.freebsd.org/changeset/base/260471 Log: Always create /var/run/casper with correct permissions and don't depend on the calling process' umask. Submitted by: Mikhail Modified: head/sbin/casperd/casperd.c

svn commit: r260472 - head/sbin/route

2014-01-09 Thread Alexander V. Chernikov
Author: melifaro Date: Thu Jan 9 10:40:36 2014 New Revision: 260472 URL: http://svnweb.freebsd.org/changeset/base/260472 Log: Do some more sanity checks in route(8): require netmask to have the same address family as destination. Found by: jmg MFC after:2 weeks Modified: hea

Re: svn commit: r259730 - in head: gnu/lib/csu gnu/lib/libgcc gnu/lib/libstdc++ gnu/lib/libsupc++ lib/atf/libatf-c/tests share/mk sys/conf tools/tools/ath/athstats tools/tools/net80211/wlanstats usr.b

2014-01-09 Thread Dimitry Andric
On 09 Jan 2014, at 02:19, Zbigniew Bodek wrote: > 2013/12/22 Dimitry Andric : ... >> Modified: >> head/gnu/lib/csu/Makefile >> head/gnu/lib/libgcc/Makefile >> head/gnu/lib/libstdc++/Makefile >> head/gnu/lib/libsupc++/Makefile >> head/lib/atf/libatf-c/tests/Makefile >> head/share/mk/bsd.sys.m

svn commit: r260481 - head/sys/netinet6

2014-01-09 Thread Andrey V. Elsukov
Author: ae Date: Thu Jan 9 14:58:06 2014 New Revision: 260481 URL: http://svnweb.freebsd.org/changeset/base/260481 Log: Add MRT6_DLOG() macro for debugging. Reduce number of MRT6DEBUG ifdefs and fix some broken format strings. MFC after:1 week Sponsored by: Yandex LLC Modified:

Re: svn commit: r259730 - in head: gnu/lib/csu gnu/lib/libgcc gnu/lib/libstdc++ gnu/lib/libsupc++ lib/atf/libatf-c/tests share/mk sys/conf tools/tools/ath/athstats tools/tools/net80211/wlanstats usr.b

2014-01-09 Thread Ian Lepore
On Thu, 2014-01-09 at 12:58 +0100, Dimitry Andric wrote: > On 09 Jan 2014, at 02:19, Zbigniew Bodek wrote: > > 2013/12/22 Dimitry Andric : > ... > >> Modified: > >> head/gnu/lib/csu/Makefile > >> head/gnu/lib/libgcc/Makefile > >> head/gnu/lib/libstdc++/Makefile > >> head/gnu/lib/libsupc++/Make

svn commit: r260482 - head/sys/netgraph/bluetooth/drivers/ubt

2014-01-09 Thread Adrian Chadd
Author: adrian Date: Thu Jan 9 15:31:44 2014 New Revision: 260482 URL: http://svnweb.freebsd.org/changeset/base/260482 Log: Be much more specific (and correct) about the device id matching. These device IDs have an AR3012 bluetooth device that shows up with bcdDevice=1 when it doesn't ha

svn commit: r260483 - head/sbin/kldload

2014-01-09 Thread Baptiste Daroussin
Author: bapt Date: Thu Jan 9 15:34:23 2014 New Revision: 260483 URL: http://svnweb.freebsd.org/changeset/base/260483 Log: Import error message shown to the user when trying to load a module that is already loaded or compiled withing the kernel MFC after:1 week Modified: head/sbin/

svn commit: r260485 - head/sys/netinet6

2014-01-09 Thread Andrey V. Elsukov
Author: ae Date: Thu Jan 9 15:38:28 2014 New Revision: 260485 URL: http://svnweb.freebsd.org/changeset/base/260485 Log: Remove extra nesting from X_ip6_mforward() function. Also remove disabled definitions from ip6_mroute.h. PR: 185148 Sponsored by: Yandex LLC Modified: he

svn commit: r260484 - head/sbin/kldload

2014-01-09 Thread Baptiste Daroussin
Author: bapt Date: Thu Jan 9 15:35:35 2014 New Revision: 260484 URL: http://svnweb.freebsd.org/changeset/base/260484 Log: Fix error counting Modified: head/sbin/kldload/kldload.c Modified: head/sbin/kldload/kldload.c ==

svn commit: r260486 - head/etc/defaults

2014-01-09 Thread Alexander Motin
Author: mav Date: Thu Jan 9 15:55:55 2014 New Revision: 260486 URL: http://svnweb.freebsd.org/changeset/base/260486 Log: Remove very low default limit of 4 nfsd threads. nfsd's own default is 8 * hw.ncpu, that sounds more appropriate for these SMP/NCQ/... days. Modified: head/etc/defaults

Re: svn commit: r260486 - head/etc/defaults

2014-01-09 Thread Adrian Chadd
.. so with say, 128 core boxes showing up, is this really a good default? -a On 9 January 2014 07:55, Alexander Motin wrote: > Author: mav > Date: Thu Jan 9 15:55:55 2014 > New Revision: 260486 > URL: http://svnweb.freebsd.org/changeset/base/260486 > > Log: > Remove very low default limit of

Re: svn commit: r260486 - head/etc/defaults

2014-01-09 Thread Alexander Motin
On 09.01.2014 17:57, Adrian Chadd wrote: .. so with say, 128 core boxes showing up, is this really a good default? And what is the price? 16K+ of KVA per thread for thread stack, etc? 4 threads is probably much worse default there. May be nfsd's default could be tuned, but obviously it should

Re: svn commit: r260486 - head/etc/defaults

2014-01-09 Thread Adrian Chadd
Hi, Depends if you're thinking locally or globally. Locally - for nfs? not a big deal. Globally - NFS, ZFS, GELI, geom/cam, NIC, etc.. suddenly your machine could default to having a couple thousand worker threads just for a HBA and a 10GE NIC. That's a little nuts. -a On 9 January 2014 08:0

Re: svn commit: r260486 - head/etc/defaults

2014-01-09 Thread Alexander Motin
On 09.01.2014 18:18, Adrian Chadd wrote: Depends if you're thinking locally or globally. Locally - for nfs? not a big deal. Globally - NFS, ZFS, GELI, geom/cam, NIC, etc.. suddenly your machine could default to having a couple thousand worker threads just for a HBA and a 10GE NIC. That's a litt

Re: svn commit: r260486 - head/etc/defaults

2014-01-09 Thread Adrian Chadd
If it's one request per nfsd then we should likely scale it separate to ncpu. Otherwise the default for two or core boxes may not be enough. Adrian On Jan 9, 2014 11:29 AM, "Alexander Motin" wrote: > On 09.01.2014 18:18, Adrian Chadd wrote: > >> Depends if you're thinking locally or globally. >

svn commit: r260488 - head/sys/net

2014-01-09 Thread Alexander V. Chernikov
Author: melifaro Date: Thu Jan 9 18:13:25 2014 New Revision: 260488 URL: http://svnweb.freebsd.org/changeset/base/260488 Log: Split rt_newaddrmsg_fib() into two different functions. Adding/deleting interface addresses involves access to 3 different subsystems, int different parts of code. E

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

2014-01-09 Thread Ian Lepore
Author: ian Date: Thu Jan 9 18:51:57 2014 New Revision: 260490 URL: http://svnweb.freebsd.org/changeset/base/260490 Log: Add a function to print the contents of the static device mapping table, and invoke it for bootverbose logging, and also from a new DDB command, "show devmap". Also twea

svn commit: r260491 - head/contrib/atf/atf-c++/detail

2014-01-09 Thread Julio Merino
Author: jmmv Date: Thu Jan 9 18:53:21 2014 New Revision: 260491 URL: http://svnweb.freebsd.org/changeset/base/260491 Log: Use .cpp as the extension for temporary C++ files. Using a .c extension for a C++ file raises the following warning, which breaks our header file tests if the compile

svn commit: r260492 - head/sbin/geom/class/part

2014-01-09 Thread Lars Engels
Author: lme (ports committer) Date: Thu Jan 9 20:06:14 2014 New Revision: 260492 URL: http://svnweb.freebsd.org/changeset/base/260492 Log: Check if the given argument to 'gpart add' is actually a geom device and give a hint to use 'gpart create' before trying to add a partition. Approved

Re: svn commit: r260485 - head/sys/netinet6

2014-01-09 Thread John-Mark Gurney
Andrey V. Elsukov wrote this message on Thu, Jan 09, 2014 at 15:38 +: > Author: ae > Date: Thu Jan 9 15:38:28 2014 > New Revision: 260485 > URL: http://svnweb.freebsd.org/changeset/base/260485 > > Log: > Remove extra nesting from X_ip6_mforward() function. > Also remove disabled definitio

svn commit: r260493 - head/sys/arm/include

2014-01-09 Thread Ian Lepore
Author: ian Date: Thu Jan 9 20:57:19 2014 New Revision: 260493 URL: http://svnweb.freebsd.org/changeset/base/260493 Log: Add a prototype for the new arm_devmap_print_table(). This should have been part of r260490. Modified: head/sys/arm/include/devmap.h Modified: head/sys/arm/include/dev

svn commit: r260494 - head/sys/conf

2014-01-09 Thread Dimitry Andric
Author: dim Date: Thu Jan 9 22:16:30 2014 New Revision: 260494 URL: http://svnweb.freebsd.org/changeset/base/260494 Log: Fix a braino with r259730: we cannot currently use CFLAGS.gcc or CFLAGS.clang in sys/conf/Makefile.arm, since the main kernel build does not use . So revert that particu

Re: svn commit: r259730 - in head: gnu/lib/csu gnu/lib/libgcc gnu/lib/libstdc++ gnu/lib/libsupc++ lib/atf/libatf-c/tests share/mk sys/conf tools/tools/ath/athstats tools/tools/net80211/wlanstats usr.b

2014-01-09 Thread Dimitry Andric
On 09 Jan 2014, at 16:02, Ian Lepore wrote: ... > At r259730: > > cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs > -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline > -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions > -Wmissing-include-dirs -fdiag

svn commit: r260496 - head/sys/netinet6

2014-01-09 Thread John-Mark Gurney
Author: jmg Date: Thu Jan 9 22:41:18 2014 New Revision: 260496 URL: http://svnweb.freebsd.org/changeset/base/260496 Log: revert part of r260485 which changes how part of the header gets included.. netstat uses -DKERNEL=1 to get these parts and breaks the build w/o it... melifaro@ says

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

2014-01-09 Thread Ian Lepore
On Thu, 2014-01-09 at 22:16 +, Dimitry Andric wrote: > Author: dim > Date: Thu Jan 9 22:16:30 2014 > New Revision: 260494 > URL: http://svnweb.freebsd.org/changeset/base/260494 > > Log: > Fix a braino with r259730: we cannot currently use CFLAGS.gcc or > CFLAGS.clang in sys/conf/Makefile.

Re: svn commit: r260486 - head/etc/defaults

2014-01-09 Thread Daniel O'Connor
On 10 Jan 2014, at 2:48, Adrian Chadd wrote: > Depends if you're thinking locally or globally. > > Locally - for nfs? not a big deal. > > Globally - NFS, ZFS, GELI, geom/cam, NIC, etc.. suddenly your machine > could default to having a couple thousand worker threads just for a > HBA and a 10GE

Re: svn commit: r260486 - head/etc/defaults

2014-01-09 Thread Alexander Kabaev
On Thu, 09 Jan 2014 18:29:11 +0200 Alexander Motin wrote: > On 09.01.2014 18:18, Adrian Chadd wrote: > > Depends if you're thinking locally or globally. > > > > Locally - for nfs? not a big deal. > > > > Globally - NFS, ZFS, GELI, geom/cam, NIC, etc.. suddenly your > > machine could default to ha

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

2014-01-09 Thread Kevin Lo
Author: kevlo Date: Fri Jan 10 02:47:20 2014 New Revision: 260501 URL: http://svnweb.freebsd.org/changeset/base/260501 Log: Use m_getcl() instead of MGETHDR/MCLGET macros. Suggested by: glebius Modified: head/sys/dev/usb/wlan/if_rsu.c Modified: head/sys/dev/usb/wlan/if_rsu.c ===

Re: svn commit: r260463 - head/sys/dev/usb/wlan

2014-01-09 Thread Kevin Lo
On 2014/01/09 16:55, Gleb Smirnoff wrote: On Thu, Jan 09, 2014 at 01:48:34AM +, Kevin Lo wrote: K> Author: kevlo K> Date: Thu Jan 9 01:48:33 2014 K> New Revision: 260463 K> URL: http://svnweb.freebsd.org/changeset/base/260463 K> K> Log: K> Replace deprecated M_DONTWAIT with M_NOWAIT. K> K>

Re: svn commit: r259730 - in head: gnu/lib/csu gnu/lib/libgcc gnu/lib/libstdc++ gnu/lib/libsupc++ lib/atf/libatf-c/tests share/mk sys/conf tools/tools/ath/athstats tools/tools/net80211/wlanstats usr.b

2014-01-09 Thread Bruce Evans
On Thu, 9 Jan 2014, Dimitry Andric wrote: On 09 Jan 2014, at 16:02, Ian Lepore wrote: ... At r259730: cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extens

Re: svn commit: r260486 - head/etc/defaults

2014-01-09 Thread Attila Nagy
We have 2 and 4 hw.ncpu NFS servers with 70+ disks, so there may be cases, where even the default maximum of 256 threads is not enough to feed the -otherwise slow- disks. I guess the real solution here is to change the nfsd worker model to async. (adapting to top poster) On 01/09/14 18:14, Adr