svn commit: r288145 - head/sys/kern

2015-09-23 Thread Mateusz Guzik
Author: mjg Date: Wed Sep 23 12:45:08 2015 New Revision: 288145 URL: https://svnweb.freebsd.org/changeset/base/288145 Log: kqueue: simplify kern_kqueue by not refing/unrefing creds too early No functional changes. Modified: head/sys/kern/kern_event.c Modified:

Re: svn commit: r286995 - head/share/mk

2015-09-23 Thread Bryan Drewery
On 9/22/2015 11:25 PM, Baptiste Daroussin wrote: > On Tue, Sep 22, 2015 at 10:07:33PM -0700, Bryan Drewery wrote: >> On 8/21/15 8:15 AM, Warner Losh wrote: >>> Author: imp >>> Date: Fri Aug 21 15:15:22 2015 >>> New Revision: 286995 >>> URL: https://svnweb.freebsd.org/changeset/base/286995 >>> >>>

Re: svn commit: r286995 - head/share/mk

2015-09-23 Thread Warner Losh
On Tue, Sep 22, 2015 at 10:07 PM, Bryan Drewery wrote: > On 8/21/15 8:15 AM, Warner Losh wrote: > > Author: imp > > Date: Fri Aug 21 15:15:22 2015 > > New Revision: 286995 > > URL: https://svnweb.freebsd.org/changeset/base/286995 > > > > Log: > > Document bsd.progs.mk,

svn commit: r288147 - head/lib/libc/isc

2015-09-23 Thread Craig Rodrigues
Author: rodrigc Date: Wed Sep 23 16:16:16 2015 New Revision: 288147 URL: https://svnweb.freebsd.org/changeset/base/288147 Log: Use ANSI C prototypes. Eliminates -Wold-style-definition warnings. Submitted by: Sascha Wildner Obtained from: DragonFlyBSD

Re: svn commit: r287185 - head/share/mk

2015-09-23 Thread Warner Losh
I've been making a pass through the tree and found that FOO.${MK_BAR}+= a b c vs .if ${MK_BAR} != "no" FOO+= a b c .endif simpler to understand. This commit is one small slice of that which I could commit. These files have a high enough churn rate that I'm not always able to keep up enough to

Re: svn commit: r286995 - head/share/mk

2015-09-23 Thread Bryan Drewery
On 9/23/2015 9:44 AM, Warner Losh wrote: > > > On Tue, Sep 22, 2015 at 10:07 PM, Bryan Drewery > wrote: > > On 8/21/15 8:15 AM, Warner Losh wrote: > > Author: imp > > Date: Fri Aug 21 15:15:22 2015 > > New Revision: 286995 >

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

2015-09-23 Thread Alexander Motin
Author: mav Date: Wed Sep 23 15:49:27 2015 New Revision: 288146 URL: https://svnweb.freebsd.org/changeset/base/288146 Log: Make HA peers announce their parameters on connect. HA protocol requires strict version, parameters and configuration match. Differences there may cause full set of

Re: svn commit: r287185 - head/share/mk

2015-09-23 Thread Bryan Drewery
On 9/23/2015 9:37 AM, Warner Losh wrote: > I've been making a pass through the tree and found that > > FOO.${MK_BAR}+= a b c > > vs > > .if ${MK_BAR} != "no" > FOO+= a b c > .endif > Ah I see. > simpler to understand. This commit is one small slice of that which I > could commit. These files

Re: svn commit: r286995 - head/share/mk

2015-09-23 Thread Garrett Cooper
> On Sep 23, 2015, at 11:20, Bryan Drewery wrote: ... >> NOTE: wipe out /usr/tests before running installworld to ensure the files >> that are present there aren't from previous runs >> >> cd /usr/tests >> kyua test > > I am comparing full objtree and destdir from

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

2015-09-23 Thread Alexander Motin
Author: mav Date: Wed Sep 23 18:33:00 2015 New Revision: 288148 URL: https://svnweb.freebsd.org/changeset/base/288148 Log: Synchronize mode pages between HA peers. We allow to modify only few fields in mode pages now, but still it is not good if they unexpectedly change during failover.

svn commit: r288149 - in vendor/llvm-libunwind: . dist dist/include dist/include/mach-o dist/src

2015-09-23 Thread Ed Maste
Author: emaste Date: Wed Sep 23 19:02:06 2015 New Revision: 288149 URL: https://svnweb.freebsd.org/changeset/base/288149 Log: Import LLVM libunwind snapshot revision 246528 From https://llvm.org/svn/llvm-project/libunwind/trunk/ Added: vendor/llvm-libunwind/

svn commit: r288150 - vendor/llvm-libunwind/libunwind-r246528

2015-09-23 Thread Ed Maste
Author: emaste Date: Wed Sep 23 19:03:03 2015 New Revision: 288150 URL: https://svnweb.freebsd.org/changeset/base/288150 Log: Tag LLVM libunwind r246528 Added: - copied from r288149, vendor/llvm-libunwind/dist/ Directory Properties: vendor/llvm-libunwind/libunwind-r246528/ (props

svn commit: r288151 - head/contrib/llvm/projects

2015-09-23 Thread Ed Maste
Author: emaste Date: Wed Sep 23 19:30:46 2015 New Revision: 288151 URL: https://svnweb.freebsd.org/changeset/base/288151 Log: Bring LLVM libunwind snapshot into contrib/llvm/projects Added: head/contrib/llvm/projects/ - copied from r288150, vendor/llvm-libunwind/dist/ Directory

Re: svn commit: r286995 - head/share/mk

2015-09-23 Thread Bryan Drewery
On 9/23/2015 11:41 AM, Garrett Cooper wrote: > >> On Sep 23, 2015, at 11:20, Bryan Drewery wrote: > > ... > >>> NOTE: wipe out /usr/tests before running installworld to ensure the files >>> that are present there aren't from previous runs >>> >>> cd /usr/tests >>> kyua

Re: svn commit: r286995 - head/share/mk

2015-09-23 Thread Baptiste Daroussin
On Tue, Sep 22, 2015 at 10:07:33PM -0700, Bryan Drewery wrote: > On 8/21/15 8:15 AM, Warner Losh wrote: > > Author: imp > > Date: Fri Aug 21 15:15:22 2015 > > New Revision: 286995 > > URL: https://svnweb.freebsd.org/changeset/base/286995 > > > > Log: > > Document bsd.progs.mk, including its

Re: svn commit: r288122 - in head/sys: kern vm

2015-09-23 Thread Scott Long via svn-src-all
It should be noted that Netflix has been running with an earlier version of this patch for nearly 10 months. Scott > On Sep 22, 2015, at 11:16 AM, Alan Cox wrote: > > Author: alc > Date: Tue Sep 22 18:16:52 2015 > New Revision: 288122 > URL:

svn commit: r288144 - head/sys/kern

2015-09-23 Thread Jeff Roberson
Author: jeff Date: Wed Sep 23 07:44:07 2015 New Revision: 288144 URL: https://svnweb.freebsd.org/changeset/base/288144 Log: - Fix a nonsense reordering that somehow slipped into my last diff. Reported by: pho Modified: head/sys/kern/vfs_bio.c Modified: head/sys/kern/vfs_bio.c

Re: svn commit: r286995 - head/share/mk

2015-09-23 Thread Garrett Cooper
> On Sep 22, 2015, at 23:25, Baptiste Daroussin wrote: > >> On Tue, Sep 22, 2015 at 10:07:33PM -0700, Bryan Drewery wrote: >>> On 8/21/15 8:15 AM, Warner Losh wrote: >>> Author: imp >>> Date: Fri Aug 21 15:15:22 2015 >>> New Revision: 286995 >>> URL:

Re: svn commit: r286995 - head/share/mk

2015-09-23 Thread Garrett Cooper
> On Sep 23, 2015, at 10:02, Bryan Drewery wrote: > >> On 9/23/2015 9:44 AM, Warner Losh wrote: >> >> >> On Tue, Sep 22, 2015 at 10:07 PM, Bryan Drewery > > wrote: >> >>>On 8/21/15 8:15 AM, Warner Losh wrote: >>>

Re: svn commit: r286995 - head/share/mk

2015-09-23 Thread Bryan Drewery
On 9/23/2015 11:18 AM, Garrett Cooper wrote: > >> On Sep 23, 2015, at 10:02, Bryan Drewery wrote: >> >>> On 9/23/2015 9:44 AM, Warner Losh wrote: >>> >>> >>> On Tue, Sep 22, 2015 at 10:07 PM, Bryan Drewery >> > wrote: >>>

svn commit: r288154 - head/usr.bin/bmake

2015-09-23 Thread Bryan Drewery
Author: bdrewery Date: Wed Sep 23 21:35:58 2015 New Revision: 288154 URL: https://svnweb.freebsd.org/changeset/base/288154 Log: Similar to r266147, don't define PROG in the test subdirs. Magic things happen when including bsd.prog.mk in them. Sponsored by: EMC / Isilon Storage

svn commit: r288155 - head/share/mk

2015-09-23 Thread Bryan Drewery
Author: bdrewery Date: Wed Sep 23 21:46:58 2015 New Revision: 288155 URL: https://svnweb.freebsd.org/changeset/base/288155 Log: META_MODE: Follow-up r287865 and define CCACHE_DIR as realpath'd. Filemon(4) will record paths as they are seen, not as fully resolved. make(1) will take the

svn commit: r288156 - head/share/mk

2015-09-23 Thread Bryan Drewery
Author: bdrewery Date: Wed Sep 23 22:23:59 2015 New Revision: 288156 URL: https://svnweb.freebsd.org/changeset/base/288156 Log: META_MODE: Avoid // in meta log for tracked --sysroot files. Sponsored by: EMC / Isilon Storage Division Modified: head/share/mk/local.meta.sys.mk Modified:

svn commit: r288152 - head/share/mk

2015-09-23 Thread Bryan Drewery
Author: bdrewery Date: Wed Sep 23 20:46:23 2015 New Revision: 288152 URL: https://svnweb.freebsd.org/changeset/base/288152 Log: META_MODE: Follow-up r287879 and have 'make -V .OBJDIR' still invoke auto.obj.mk. When inspecting this value it is more expected to have it show the

svn commit: r288153 - head/sys/geom

2015-09-23 Thread Conrad E. Meyer
Author: cem Date: Wed Sep 23 21:08:52 2015 New Revision: 288153 URL: https://svnweb.freebsd.org/changeset/base/288153 Log: geom_dev: Use kenv 'dumpdev' in the same way as rc/etc.d/dumpon Skip a /dev/ prefix, if one is present, when checking for matching device names for dump.

Re: svn commit: r287934 - head/sys/boot/efi/loader

2015-09-23 Thread Warner Losh
You're right about the Wifi drivers. There's some number you'll want loaded and we should have sensible defaults. But how to get there from here may be a bit interesting... Though if I go with the devd.conf writer early in boot, I can make them be rc.conf variable controlled. Warner On Wed, Sep

Re: svn commit: r287934 - head/sys/boot/efi/loader

2015-09-23 Thread Rui Paulo
I gave you feedback: it crashed somewhere else. I haven't had time to work on it. However, go ahead and commit that fix. That code was clearly wrong. On Mon, 2015-09-21 at 23:21 -0700, Scott Long wrote: > As a side note, I’m still waiting for feedback on the patch I sent > you for scsi_sg. I’d

Re: svn commit: r287934 - head/sys/boot/efi/loader

2015-09-23 Thread Rui Paulo
Those were the issues that I encountered when I started using MINIMAL. I didn't do a thorough investigation. Auto loading is a much bigger problem that just loading drivers for PCI/USB/etc devices. For example, net80211 doesn't auto load the wlan crypto modules by default nor the amrr module.

svn commit: r288161 - head/share/mk

2015-09-23 Thread Bryan Drewery
Author: bdrewery Date: Thu Sep 24 00:20:34 2015 New Revision: 288161 URL: https://svnweb.freebsd.org/changeset/base/288161 Log: Add very basic LIBADD documentation. Sponsored by: EMC / Isilon Storage Division Modified: head/share/mk/bsd.README Modified: head/share/mk/bsd.README

Re: svn commit: r288079 - in stable/10/sys: kern sys

2015-09-23 Thread Kirk McKusick
Sorry for the screwup on the build which thankfully kib fixed before I had awakened to read my @freebsd mail. Note to self, do not do checkins at the end of the day. I did go back to figure out how that screwup happened. I have just started using bhyve virtual machines to compile and test kernel

svn commit: r288159 - head/share/mk

2015-09-23 Thread Bryan Drewery
Author: bdrewery Date: Wed Sep 23 23:30:57 2015 New Revision: 288159 URL: https://svnweb.freebsd.org/changeset/base/288159 Log: RELDIR is useful without META_MODE. Always define it. It is the CURDIR without the SRC base location in it. Sponsored by: EMC / Isilon Storage Division

svn commit: r288160 - head/share/mk

2015-09-23 Thread Bryan Drewery
Author: bdrewery Date: Thu Sep 24 00:17:00 2015 New Revision: 288160 URL: https://svnweb.freebsd.org/changeset/base/288160 Log: Document bsd.progs.mk and add more variables overrides. BINGRP BINMODE BINOWN LINKS MLINKS PROGNAME. MFC after:2 weeks Sponsored by: EMC / Isilon

svn commit: r288162 - head/share/mk

2015-09-23 Thread Bryan Drewery
Author: bdrewery Date: Thu Sep 24 00:22:48 2015 New Revision: 288162 URL: https://svnweb.freebsd.org/changeset/base/288162 Log: Note that LIBADD is only valid in /usr/src. Sponsored by: EMC / Isilon Storage Division Modified: head/share/mk/bsd.README Modified: head/share/mk/bsd.README

svn commit: r288157 - head/share/mk

2015-09-23 Thread Bryan Drewery
Author: bdrewery Date: Wed Sep 23 22:36:01 2015 New Revision: 288157 URL: https://svnweb.freebsd.org/changeset/base/288157 Log: META_MODE: Fix 2nd build causing everything to rebuild due to changed CC. In the first build the TOOLSDIR does not exit yet which causes CC to default to the

svn commit: r288158 - head/share/mk

2015-09-23 Thread Bryan Drewery
Author: bdrewery Date: Wed Sep 23 23:20:49 2015 New Revision: 288158 URL: https://svnweb.freebsd.org/changeset/base/288158 Log: Fix most cases of bsd.progs.mk running duplicate or missing commands. This mostly fixes an interaction with bsd.test.mk with PROGS and SCRIPTS. This was most

svn commit: r288163 - stable/10/usr.bin/systat

2015-09-23 Thread Xin LI
Author: delphij Date: Thu Sep 24 00:50:17 2015 New Revision: 288163 URL: https://svnweb.freebsd.org/changeset/base/288163 Log: MFC r287633: - Avoid accessing window properties directly, instead, use accessors. This should be no-op for now, but allows the code to work if we move

svn commit: r288164 - stable/10/usr.bin/login

2015-09-23 Thread Xin LI
Author: delphij Date: Thu Sep 24 00:54:46 2015 New Revision: 288164 URL: https://svnweb.freebsd.org/changeset/base/288164 Log: MFC r287634: login.c doesn't really need libutil.h, don't include it. login_fbtab.c includes paths.h and pathnames.h, and pathnames.h includes paths.h.