svn commit: r270870 - head/sys/net

2014-08-30 Thread Gleb Smirnoff
Author: glebius Date: Sun Aug 31 06:46:21 2014 New Revision: 270870 URL: http://svnweb.freebsd.org/changeset/base/270870 Log: o Remove struct if_data from struct ifnet. Now it is merely API structure for route(4) socket and ifmib(4) sysctl. o Move fields from if_data to ifnet, but keep all

svn commit: r270869 - head/sys/netinet

2014-08-30 Thread Gleb Smirnoff
Author: glebius Date: Sun Aug 31 06:30:50 2014 New Revision: 270869 URL: http://svnweb.freebsd.org/changeset/base/270869 Log: Use macros instead of referencing struct if_data that resides in ifnet. Sponsored by: Nginx, Inc. Modified: head/sys/netinet/if_ether.c Modified: head/sys/netine

svn commit: r270868 - head/sys/net

2014-08-30 Thread Gleb Smirnoff
Author: glebius Date: Sun Aug 31 06:23:54 2014 New Revision: 270868 URL: http://svnweb.freebsd.org/changeset/base/270868 Log: Remove ability to write to struct if_data residing in struct ifnet via net.link.generic.IFMIB_IFDATA.*.IFDATA_GENERAL sysctl. Reasons for removal are: - No code in

svn commit: r270863 - head/sys/tools/fdt

2014-08-30 Thread Ian Lepore
Author: ian Date: Sat Aug 30 22:39:15 2014 New Revision: 270863 URL: http://svnweb.freebsd.org/changeset/base/270863 Log: Allow the make_dtb script to work outside of a "make buildkernel" context by setting MACHINE from uname -m if it's not set already. Reviewed by: imp, tuexen Modified

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

2014-08-30 Thread Ian Lepore
Author: ian Date: Sat Aug 30 22:21:57 2014 New Revision: 270862 URL: http://svnweb.freebsd.org/changeset/base/270862 Log: Fix the handling of MMU type in the AP entry code. The ARM_MMU_V6/V7 symbols are always #defined to 0 or 1, so use #if SYM not #if defined(SYM). Also, it helps if you in

svn commit: r270861 - in head/sys/cddl: compat/opensolaris/kern compat/opensolaris/sys contrib/opensolaris/uts/common/fs/zfs

2014-08-30 Thread Steven Hartland
Author: smh Date: Sat Aug 30 21:44:32 2014 New Revision: 270861 URL: http://svnweb.freebsd.org/changeset/base/270861 Log: Ensure that ZFS ARC free memory checks include cached pages Also restore kmem_used() check for i386 as it has KVA limits that the raw page counts above don't consider

svn commit: r270859 - head/sys/arm/conf

2014-08-30 Thread Michael Tuexen
Author: tuexen Date: Sat Aug 30 20:18:47 2014 New Revision: 270859 URL: http://svnweb.freebsd.org/changeset/base/270859 Log: Enable SCTP support. It runs perfectly fine on a Wandboard quad. MFC after: 3 days Modified: head/sys/arm/conf/IMX6 Modified: head/sys/arm/conf/IMX6 =

svn commit: r270858 - head/sys/arm/conf

2014-08-30 Thread Michael Tuexen
Author: tuexen Date: Sat Aug 30 20:00:18 2014 New Revision: 270858 URL: http://svnweb.freebsd.org/changeset/base/270858 Log: Remove FDT option, since it is in every file, which includes this one. Modified: head/sys/arm/conf/IMX6 Modified: head/sys/arm/conf/IMX6 ==

svn commit: r270857 - head/sys/amd64/vmm

2014-08-30 Thread Neel Natu
Author: neel Date: Sat Aug 30 19:59:42 2014 New Revision: 270857 URL: http://svnweb.freebsd.org/changeset/base/270857 Log: The "SUB" instruction used in getcc() actually does 'x -= y' so use the proper constraint for 'x'. The "+r" constraint indicates that 'x' is an input and output register

Re: svn commit: r270850 - in head/sys: i386/i386 i386/include i386/isa x86/acpica

2014-08-30 Thread Konstantin Belousov
On Sat, Aug 30, 2014 at 05:48:38PM +, John Baldwin wrote: > Author: jhb > Date: Sat Aug 30 17:48:38 2014 > New Revision: 270850 > URL: http://svnweb.freebsd.org/changeset/base/270850 > > Log: > Save and restore FPU state across suspend and resume. In earlier revisions > of this patch, res

svn commit: r270856 - in head/sys: dev/ae dev/age dev/alc dev/ale dev/altera/atse dev/bfe dev/cas dev/dc dev/e1000 dev/ffec dev/firewire dev/gem dev/gxemul/ether dev/hme dev/hyperv/netvsc dev/ixgb ...

2014-08-30 Thread Gleb Smirnoff
Author: glebius Date: Sat Aug 30 19:55:54 2014 New Revision: 270856 URL: http://svnweb.freebsd.org/changeset/base/270856 Log: Use define from if_var.h to access a field inside struct if_data, that resides in struct ifnet. Sponsored by: Nginx, Inc. Modified: head/sys/dev/ae/if_ae.c he

Re: svn commit: r270759 - in head/sys: cddl/compat/opensolaris/kern cddl/compat/opensolaris/sys cddl/contrib/opensolaris/uts/common/fs/zfs vm

2014-08-30 Thread Steven Hartland
- Original Message - From: "Peter Wemm" snip... > I'm aware of the values involved, and as I said what you're > proposing > was more akin to where I started, but I was informed that it had > already > been tested and didn't work well. And Karl also said that his tests are on machines

Re: svn commit: r270803 - head/libexec/rtld-elf

2014-08-30 Thread Konstantin Belousov
On Fri, Aug 29, 2014 at 02:45:55PM -0500, Bryan Drewery wrote: > My only uses so far have been observing which file is loaded for a > library with dlopen(3) and where symbols are resolved from. Seeing where > symbols are resolved from is useful for both dlopen(3)/dlsym(3) usage > and LD_PRELOAD. Ok

Re: svn commit: r270850 - in head/sys: i386/i386 i386/include i386/isa x86/acpica

2014-08-30 Thread Adrian Chadd
On 30 August 2014 10:58, John Baldwin wrote: > On Saturday, August 30, 2014 05:48:38 PM John Baldwin wrote: >> Author: jhb >> Date: Sat Aug 30 17:48:38 2014 >> New Revision: 270850 >> URL: http://svnweb.freebsd.org/changeset/base/270850 >> >> Log: >> Save and restore FPU state across suspend and

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

2014-08-30 Thread Neel Natu
Author: neel Date: Sat Aug 30 18:35:16 2014 New Revision: 270855 URL: http://svnweb.freebsd.org/changeset/base/270855 Log: Set the 'inst_length' to '0' early on before any error conditions are detected in the emulation of the task switch. If any exceptions are triggered then the guest %rip s

Re: svn commit: r270850 - in head/sys: i386/i386 i386/include i386/isa x86/acpica

2014-08-30 Thread Alexey Dokuchaev
On Sat, Aug 30, 2014 at 01:58:20PM -0400, John Baldwin wrote: > On Saturday, August 30, 2014 05:48:38 PM John Baldwin wrote: > > New Revision: 270850 > > URL: http://svnweb.freebsd.org/changeset/base/270850 > > > > Log: > > Save and restore FPU state across suspend and resume. In earlier > > re

svn commit: r270854 - head/sys/dev/bktr

2014-08-30 Thread Gavin Atkinson
Author: gavin Date: Sat Aug 30 18:01:45 2014 New Revision: 270854 URL: http://svnweb.freebsd.org/changeset/base/270854 Log: Replace cvsweb link wihg svnweb URL in bktr(4) release notes. Modified: head/sys/dev/bktr/CHANGELOG.TXT Modified: head/sys/dev/bktr/CHANGELOG.TXT ==

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

2014-08-30 Thread John Baldwin
On Friday, August 29, 2014 09:50:32 PM Andreas Tobler wrote: > Author: andreast > Date: Fri Aug 29 21:50:32 2014 > New Revision: 270829 > URL: http://svnweb.freebsd.org/changeset/base/270829 > > Log: > Rename shm_dict_init to shm_init to fix a compiler warning. > > Reviewed by:jhb Th

Re: svn commit: r270850 - in head/sys: i386/i386 i386/include i386/isa x86/acpica

2014-08-30 Thread John Baldwin
On Saturday, August 30, 2014 05:48:38 PM John Baldwin wrote: > Author: jhb > Date: Sat Aug 30 17:48:38 2014 > New Revision: 270850 > URL: http://svnweb.freebsd.org/changeset/base/270850 > > Log: > Save and restore FPU state across suspend and resume. In earlier > revisions of this patch, resume

svn commit: r270850 - in head/sys: i386/i386 i386/include i386/isa x86/acpica

2014-08-30 Thread John Baldwin
Author: jhb Date: Sat Aug 30 17:48:38 2014 New Revision: 270850 URL: http://svnweb.freebsd.org/changeset/base/270850 Log: Save and restore FPU state across suspend and resume. In earlier revisions of this patch, resumectx() called npxresume() directly, but that doesn't work because resumect

Re: svn commit: r270759 - in head/sys: cddl/compat/opensolaris/kern cddl/compat/opensolaris/sys cddl/contrib/opensolaris/uts/common/fs/zfs vm

2014-08-30 Thread Peter Wemm
On Saturday 30 August 2014 02:03:42 Steven Hartland wrote: > - Original Message - > From: "Peter Wemm" > > > On Friday 29 August 2014 21:42:15 Steven Hartland wrote: > > > If this function returns non-zerp, ARC is given back: > > > > static int > > arc_reclaim_needed(void) > > { > > >

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

2014-08-30 Thread Steve Kargl
Author: kargl Date: Sat Aug 30 17:31:53 2014 New Revision: 270847 URL: http://svnweb.freebsd.org/changeset/base/270847 Log: Fix the order of "const volatile" to be consistent with the rest of msun. Modified: head/lib/msun/src/s_tanh.c head/lib/msun/src/s_tanhf.c Modified: head/lib/msun/s

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

2014-08-30 Thread Steve Kargl
Author: kargl Date: Sat Aug 30 17:14:47 2014 New Revision: 270845 URL: http://svnweb.freebsd.org/changeset/base/270845 Log: Make tiny volatile to prevent the compiler(s) from constant folding expressions of the form "1 - tiny", which are used to raise FE_INEXACT. Modified: head/lib/msun/s

svn commit: r270844 - in head/sys: amd64/amd64 i386/i386

2014-08-30 Thread Pedro F. Giffuni
Author: pfg Date: Sat Aug 30 15:41:07 2014 New Revision: 270844 URL: http://svnweb.freebsd.org/changeset/base/270844 Log: Minor space/tab cleanups. Most of them were ripped from the GSoC 2104 SMAP + kpatch project. This is only a cosmetic change. Taken from: Oliver Pinter (op@)

svn commit: r270842 - in head: share/man/man4 sys/conf

2014-08-30 Thread Christian Brueffer
Author: brueffer Date: Sat Aug 30 13:47:05 2014 New Revision: 270842 URL: http://svnweb.freebsd.org/changeset/base/270842 Log: Allow the iwn(4) fw 100 to be compiled into the kernel and update the relevant manpages. Modified: head/share/man/man4/iwn.4 head/share/man/man4/iwnfw.4 head/sy

svn commit: r270836 - head/etc/rc.d

2014-08-30 Thread Hiroki Sato
Author: hrs Date: Sat Aug 30 07:08:10 2014 New Revision: 270836 URL: http://svnweb.freebsd.org/changeset/base/270836 Log: Use ipv6_prefer when at least one ifconfig_IF_ipv6 is configured. Discussed on: -net@ Modified: head/etc/rc.d/ip6addrctl Modified: head/etc/rc.d/ip6addrctl =