svn commit: r275557 - head/share/mk

2014-12-05 Thread Garrett Cooper
Author: ngie Date: Sat Dec 6 03:15:46 2014 New Revision: 275557 URL: https://svnweb.freebsd.org/changeset/base/275557 Log: Fix typos in comments and wrap to <80 columns MFC after: 3 days Modified: head/share/mk/bsd.compiler.mk Directory Properties: head/ (props changed) head/share

svn commit: r275555 - head/sys/netinet

2014-12-05 Thread Craig Rodrigues
Author: rodrigc Date: Sat Dec 6 02:59:59 2014 New Revision: 27 URL: https://svnweb.freebsd.org/changeset/base/27 Log: MFp4: @181627 Allow UMA allocated memory to be freed when VNET jails are torn down. Differential Revision: D1201 Submitted by: bz Reviewed by: rwatson, gnn

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

2014-12-05 Thread Navdeep Parhar
Author: np Date: Sat Dec 6 01:47:38 2014 New Revision: 275554 URL: https://svnweb.freebsd.org/changeset/base/275554 Log: cxgbe(4): allow the driver to use rx buffers that do not end on a pack boundary. MFC after:2 weeks Modified: head/sys/dev/cxgbe/adapter.h head/sys/dev/cxgbe/t

svn commit: r275553 - head/usr.bin/patch

2014-12-05 Thread Pedro F. Giffuni
Author: pfg Date: Sat Dec 6 01:21:12 2014 New Revision: 275553 URL: https://svnweb.freebsd.org/changeset/base/275553 Log: Merge fixes from OpenBSD. Check fstat return value. Also, use off_t for file size and offsets. Avoid iterating over end of string. Obtained from:OpenBSD

svn commit: r275552 - in head/cddl: contrib/opensolaris/lib/libnvpair lib/libnvpair

2014-12-05 Thread Xin LI
Author: delphij Date: Sat Dec 6 01:01:51 2014 New Revision: 275552 URL: https://svnweb.freebsd.org/changeset/base/275552 Log: MFV r260710 + 275532: Add a new method, nvlist_print_json to allow libnvpair to emit JSON. MFC after:1 month Added: head/cddl/contrib/opensolaris/lib/li

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

2014-12-05 Thread Navdeep Parhar
Author: np Date: Sat Dec 6 00:13:56 2014 New Revision: 275539 URL: https://svnweb.freebsd.org/changeset/base/275539 Log: cxgbe(4): Allow for different pad and pack boundaries for different adapters. Set the pack boundary for T5 cards to be the same as the PCIe max payload size. The chip l

svn commit: r275531 - head/usr.bin/patch

2014-12-05 Thread Pedro F. Giffuni
Author: pfg Date: Fri Dec 5 23:08:39 2014 New Revision: 275531 URL: https://svnweb.freebsd.org/changeset/base/275531 Log: Update OpenBSD CVS revision for our r255232. This is a no-op to make it easier to track changes from OpenBSD MFC after:3 days Modified: head/usr.bin/patch/p

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

2014-12-05 Thread Xin LI
Author: delphij Date: Fri Dec 5 22:56:10 2014 New Revision: 275530 URL: https://svnweb.freebsd.org/changeset/base/275530 Log: Use %d instead of %u for error number. This way we see ERESTART as -1 not 4294967295 when doing DTrace. MFC after:2 weeks Modified: head/sys/cddl/contrib/

svn commit: r275524 - head/sys/arm/ti

2014-12-05 Thread Andrew Turner
Author: andrew Date: Fri Dec 5 19:23:51 2014 New Revision: 275524 URL: https://svnweb.freebsd.org/changeset/base/275524 Log: Switch to a .cpu directive. These will work when clang 3.5 is imported where the .arch directive is a nop. MFC after:1 week Sponsored by: ABT Systems Ltd Mo

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

2014-12-05 Thread Andrew Turner
Author: andrew Date: Fri Dec 5 19:19:17 2014 New Revision: 275523 URL: https://svnweb.freebsd.org/changeset/base/275523 Log: Switch to an armv6k cpu, without this clang 3.5 complains "bx lr" is unsupported as it needs a newer cpu. MFC after:1 week Sponsored by: ABT Systems Ltd Mod

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

2014-12-05 Thread Andrew Turner
Author: andrew Date: Fri Dec 5 19:14:05 2014 New Revision: 275522 URL: https://svnweb.freebsd.org/changeset/base/275522 Log: Place the literal pool after a RET otherwise clang 3.5 tries to put it too far away from a ldr psuedo instruction. With this clang will place the literal value here w

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

2014-12-05 Thread Andrew Turner
Author: andrew Date: Fri Dec 5 19:11:25 2014 New Revision: 275521 URL: https://svnweb.freebsd.org/changeset/base/275521 Log: Set the alignment to 4-bytes after a string as clang 3.5 can switch to thumb mode if this is incorrect. MFC after:1 week Sponsored by: ABT Systems Ltd Modif

svn commit: r275520 - in head/sys: arm/arm libkern/arm

2014-12-05 Thread Andrew Turner
Author: andrew Date: Fri Dec 5 19:08:36 2014 New Revision: 275520 URL: https://svnweb.freebsd.org/changeset/base/275520 Log: Use the unified syntax in a few more assembly files MFC after:1 week Sponsored by: ABT Systems Ltd Modified: head/sys/arm/arm/fusu.S head/sys/libkern/arm/

svn commit: r275519 - head/sys/arm/xscale/ixp425

2014-12-05 Thread Andrew Turner
Author: andrew Date: Fri Dec 5 19:04:08 2014 New Revision: 275519 URL: https://svnweb.freebsd.org/changeset/base/275519 Log: Add missing END macros to some of the xscale functions. MFC after:1 week Sponsored by: ABT Systems Ltd Modified: head/sys/arm/xscale/ixp425/ixp425_a4x_io.S

svn commit: r275518 - head/lib/msun/src

2014-12-05 Thread Steve Kargl
Author: kargl Date: Fri Dec 5 19:00:55 2014 New Revision: 275518 URL: https://svnweb.freebsd.org/changeset/base/275518 Log: Update the constants associated with the evaluation of j0f(x) for |x| small. While here, remove the explicit cast of 0.25 to float. Replace a multiplication invo

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

2014-12-05 Thread Xin LI
Author: delphij Date: Fri Dec 5 18:29:01 2014 New Revision: 275515 URL: https://svnweb.freebsd.org/changeset/base/275515 Log: Fix a regression introduced in r274337 (large block support) In dsl_dataset_hold_obj() we used zap_contains(.., DS_FIELD_LARGE_BLOCKS) to determine whether the ex

svn commit: r275514 - in head/sys: sys vm

2014-12-05 Thread John Baldwin
Author: jhb Date: Fri Dec 5 15:24:42 2014 New Revision: 275514 URL: https://svnweb.freebsd.org/changeset/base/275514 Log: Always ignore the deprecated MAP_RENAME and MAP_NORESERVE flags to mmap(). Some old libraries may be used even with newer binaries (specifically the Nvidia driver librar

svn commit: r275513 - head/sys/vm

2014-12-05 Thread Konstantin Belousov
Author: kib Date: Fri Dec 5 15:02:30 2014 New Revision: 275513 URL: https://svnweb.freebsd.org/changeset/base/275513 Log: When the last reference on the vnode' vm object is dropped, read the vp->v_vflag without taking vnode lock and without bypass. We do know that vp is the lowest level in

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

2014-12-05 Thread Alexander Motin
Author: mav Date: Fri Dec 5 13:30:45 2014 New Revision: 275512 URL: https://svnweb.freebsd.org/changeset/base/275512 Log: In addition to r275481 allow threshold notifications work without UNMAP. While without UNMAP support there is not much initiator can do about it, the administrator st

svn commit: r275510 - in head: sbin/iscontrol usr.bin/iscsictl

2014-12-05 Thread Edward Tomasz Napierala
Author: trasz Date: Fri Dec 5 12:38:01 2014 New Revision: 275510 URL: https://svnweb.freebsd.org/changeset/base/275510 Log: Move iscsi.conf.5 from sbin/iscontrol/ to usr.bin/iscsictl/, as the former is obsolete. MFC after:2 weeks Sponsored by: The FreeBSD Foundation Added: head/

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

2014-12-05 Thread Hans Petter Selasky
Done. See r275507 . --HPS ___ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

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

2014-12-05 Thread Hans Petter Selasky
Author: hselasky Date: Fri Dec 5 12:07:53 2014 New Revision: 275507 URL: https://svnweb.freebsd.org/changeset/base/275507 Log: Optimise bit searching loop by using the ffs() function. Make some related bit shifts unsigned while at it. Modified: head/sys/dev/usb/controller/saf1761_otg.c Mo

svn commit: r275506 - head/sys/boot/kshim

2014-12-05 Thread Hans Petter Selasky
Author: hselasky Date: Fri Dec 5 12:04:47 2014 New Revision: 275506 URL: https://svnweb.freebsd.org/changeset/base/275506 Log: Define the ffs() function in the USB bootloader's global and independent header file. Modified: head/sys/boot/kshim/bsd_kernel.h Modified: head/sys/boot/kshim/bsd

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

2014-12-05 Thread Dag-Erling Smørgrav
Hans Petter Selasky writes: > I see. Who can update the cpufunc.h header file to use the builtins? Ask someone involved with porting FreeBSD to that platform. > Are these also available with GCC? They are enabled unconditionally for amd64 and i386. They may or may not be compiler-dependent on

svn commit: r275503 - head/sys/geom/raid

2014-12-05 Thread Alexander Motin
Author: mav Date: Fri Dec 5 10:23:18 2014 New Revision: 275503 URL: https://svnweb.freebsd.org/changeset/base/275503 Log: Avoid unneeded malloc/memcpy/free if there is no metadata on disk. Submitted by: Dmitry Luhtionov MFC after:2 weeks Modified: head/sys/geom/raid/md_nvidia.c

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

2014-12-05 Thread Dag-Erling Smørgrav
Hans Petter Selasky writes: > Is ffs() available in the loader too? Because this code is also built > for the loader? I guess I could figure this out myself though ... The loader usues libkern, so yes. But it's easy enough to check - just modify the code to use ffs() and see if it builds. DES -

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

2014-12-05 Thread Hans Petter Selasky
On 12/05/14 10:33, Dag-Erling Smørgrav wrote: John-Mark Gurney writes: So this says that you think it should be using the builtin, yet when I suggested it, you say no? Which is it? Use ffs(), let libkern worry about how it's implemented. DES Hi, One more question. Is ffs() available in

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

2014-12-05 Thread Dag-Erling Smørgrav
John-Mark Gurney writes: > So this says that you think it should be using the builtin, yet when I > suggested it, you say no? Which is it? Use ffs(), let libkern worry about how it's implemented. DES -- Dag-Erling Smørgrav - d...@des.no ___ svn-src-h