Re: svn commit: r368163 - in head: sbin/ifconfig sys/dev/if_wg sys/dev/if_wg/include sys/dev/if_wg/include/crypto sys/dev/if_wg/include/sys sys/dev/if_wg/include/zinc sys/dev/if_wg/module sys/dev/if_w

2020-12-04 Thread Matthew Macy
I worry about the incredible mess of header dependencies that the linuxkpi is prone to introducing. I’m happy to review any proposed changes to that effect, but do not feel like it’s important enough to make a priority. Thanks. -M On Mon, Nov 30, 2020 at 08:33 Bjoern A. Zeeb wrote: > On 30

Re: svn commit: r368163 - in head: sbin/ifconfig sys/dev/if_wg sys/dev/if_wg/include sys/dev/if_wg/include/crypto sys/dev/if_wg/include/sys sys/dev/if_wg/include/zinc sys/dev/if_wg/module sys/dev/if_w

2020-12-04 Thread Matthew Macy
Just what I put on the review. I’ll put together a man page the week after next. Sorry for the delay. -M On Mon, Nov 30, 2020 at 10:16 Michael Tuexen wrote: > > > > On 29. Nov 2020, at 20:38, Matt Macy wrote: > > > > Author: mmacy > > Date: Sun Nov 29 19:38:03 2020 > > New Revision: 368163 >

Re: svn commit: r367577 - in head: share/mk sys/conf tools/build/options

2020-11-10 Thread Matthew Macy
These flags aren't defined by default when building external kernel modules: gmake[2]: Entering directory '/usr/home/matt/devel/ZoF/module' env -u MAKEFLAGS make -C /home/matt/devel/ZoF/module -f Makefile.bsd -w make[3]: Entering directory `/home/matt/devel/ZoF/module' make[3]:

Re: svn commit: r364806 - in head/sys/contrib/openzfs: include/os/freebsd/spl/sys module/os/freebsd/spl

2020-08-26 Thread Matthew Macy
Do not commit directly to sys/contrib. PR, vendor branch update, then merge. On Wed, Aug 26, 2020 at 12:29 AM Toomas Soome wrote: > > Author: tsoome > Date: Wed Aug 26 07:29:17 2020 > New Revision: 364806 > URL: https://svnweb.freebsd.org/changeset/base/364806 > > Log: > remove pragma ident

Re: svn commit: r362531 - in head: cddl/contrib/opensolaris/cmd/zfs cddl/contrib/opensolaris/lib/libzfs/common cddl/contrib/opensolaris/lib/libzfs_core/common sys/cddl/contrib/opensolaris/uts/common/f

2020-06-23 Thread Matthew Macy
Are you planning on MFCing this? That’s the main value to MFVs at this point. Thanks. On Mon, Jun 22, 2020 at 23:42 Toomas Soome wrote: > Author: tsoome > Date: Tue Jun 23 06:42:39 2020 > New Revision: 362531 > URL: https://svnweb.freebsd.org/changeset/base/362531 > > Log: > MFOpenZFS: Add

Re: svn commit: r344817 - in head/sys: dev/e1000 net

2019-03-05 Thread Matthew Macy
This represents a misunderstanding of how defines are used. This left the option open to the user to enable the use of larger than page size buffers as it does enable better performance. Over the course of a long uptime memory can get too fragmented. However, this left it open to the end consumer.

Re: svn commit: r344487 - in head/sys: conf gnu/gcov

2019-03-04 Thread Matthew Macy
World? It looks like there's a version mismatch between the kernel and modules. -M On Thu, Feb 28, 2019 at 7:11 PM Alan Somers wrote: > > On Thu, Feb 28, 2019 at 6:40 PM Matthew Macy wrote: > > > > to config add: > > options LINDEBUGFS > > options GCOV &

Re: svn commit: r344487 - in head/sys: conf gnu/gcov

2019-02-28 Thread Matthew Macy
to config add: options LINDEBUGFS options GCOV compile kernel with gcc (otherwise it will be a no-op) sysctl debug.gcov.enable=1 mount -t debugfs debugfs /sys/kernel/debug (or wherever) and the output artifacts will appear under gcov/ - you need to be root to see the artifacts gcov can then

Re: svn commit: r344487 - in head/sys: conf gnu/gcov

2019-02-26 Thread Matthew Macy
On Tue, Feb 26, 2019 at 09:20 Rodney W. Grimes < free...@pdx.rh.cn85.dnsmgr.net> wrote: > > This has zero impact on the licensing disposition of the kernel as > > distributed as it is only used for test kernels. Tests compiled with > > coverage instrumentation run much slower than even debug, one

Re: svn commit: r344487 - in head/sys: conf gnu/gcov

2019-02-26 Thread Matthew Macy
This has zero impact on the licensing disposition of the kernel as distributed as it is only used for test kernels. Tests compiled with coverage instrumentation run much slower than even debug, one would never ship this. You are very much in the minority being more concerned with ideological

Re: svn commit: r339618 - head/sys/compat/linuxkpi/common/include/linux

2018-11-18 Thread Matthew Macy
> > > > PowerPC barrier instructions are needed to prevent reordering. > > > > Correct. The current lkpi implementation also assumes that device > > endian == host endian. The Linux generic accessors will do use endian > > macros to byte swap where necessary. > > Yes, these functions are used to

Re: svn commit: r339618 - head/sys/compat/linuxkpi/common/include/linux

2018-11-18 Thread Matthew Macy
Correct. This is just the generic case. We just need to define the __io macros as __compiler_membar in x86/io.h Cheers. -M On Sun, Nov 18, 2018 at 13:08 Tijl Coosemans wrote: > On Sun, 18 Nov 2018 12:10:25 -0800 Matthew Macy > wrote: > >> Note that these functions ar

Re: svn commit: r339618 - head/sys/compat/linuxkpi/common/include/linux

2018-11-18 Thread Matthew Macy
> Note that these functions are normally used on uncacheable memory which > is strongly ordered on x86. There should be no reordering at all. On > PowerPC barrier instructions are needed to prevent reordering. Correct. The current lkpi implementation also assumes that device endian == host

Re: svn commit: r339618 - head/sys/compat/linuxkpi/common/include/linux

2018-11-17 Thread Matthew Macy
, 2018 at 2:01 PM Matthew Macy wrote: > > You should probably revert this. The implied understanding of the _relaxed > version is incorrect. compiler_membar is there to prevent instruction > reordering which is possible on FreeBSD because the accesses are done in C. > The relaxed va

Re: svn commit: r339618 - head/sys/compat/linuxkpi/common/include/linux

2018-11-17 Thread Matthew Macy
You should probably revert this. The implied understanding of the _relaxed version is incorrect. compiler_membar is there to prevent instruction reordering which is possible on FreeBSD because the accesses are done in C. The relaxed variants still do not permit instruction reordering. On Linux

Re: svn commit: r338172 - Now deprecating DRM

2018-08-24 Thread Matthew Macy
Rodney - we appreciate your emotional investment in the project. And as convenient as it would be for me to take all the blame the imminent removal of drm2 was communicated on public lists. Your soul contribution to the discussion was to bemoan the fact that i386 would no longer have special

Re: svn commit: r338172 - in head: . sys/amd64/conf sys/dev/drm sys/dev/drm2 sys/dev/drm2/i915 sys/dev/drm2/radeon sys/dev/drm2/radeon/reg_srcs sys/dev/drm2/ttm sys/i386/conf sys/modules sys/modules/d

2018-08-22 Thread Matthew Macy
Johannes - do you know off hand? -M On Wed, Aug 22, 2018 at 12:06 AM Andriy Gapon wrote: > On 22/08/2018 04:50, Matt Macy wrote: > > Author: mmacy > > Date: Wed Aug 22 01:50:12 2018 > > New Revision: 338172 > > URL: https://svnweb.freebsd.org/changeset/base/338172 > > > > Log: > > Remove

Re: svn commit: r338172 - in head: . sys/amd64/conf sys/dev/drm sys/dev/drm2 sys/dev/drm2/i915 sys/dev/drm2/radeon sys/dev/drm2/radeon/reg_srcs sys/dev/drm2/ttm sys/i386/conf sys/modules sys/modules/d

2018-08-21 Thread Matthew Macy
> > Could you please create a stable/11 deprecation change. > What does that entail other than an update to UPDATING in stable/11? ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any

Re: svn commit: r337866 - in head/sys: net netinet netinet6

2018-08-21 Thread Matthew Macy
On Tue, Aug 21, 2018 at 16:52 Mark Johnston wrote: > On Tue, Aug 21, 2018 at 04:00:10PM -0700, Matthew Macy wrote: > > Yes. See r338162. Thanks. > > You missed instances of the same bug in in_mcast.c and in6_mcast.c. Thanks > > > > On Tue, Aug 21, 2018 at 2:2

Re: svn commit: r337866 - in head/sys: net netinet netinet6

2018-08-21 Thread Matthew Macy
Yes. See r338162. Thanks. -M On Tue, Aug 21, 2018 at 2:24 PM Gleb Smirnoff wrote: > On Wed, Aug 15, 2018 at 08:23:09PM +, Matt Macy wrote: > M> @@ -3772,8 +3775,11 @@ if_delmulti_locked(struct ifnet *ifp, struct > ifmultiad > M> ll_ifma->ifma_ifp = NULL; /* XXX */

Re: svn commit: r337866 - in head/sys: net netinet netinet6

2018-08-17 Thread Matthew Macy
Sorry. I'll take a look. On Fri, Aug 17, 2018 at 05:30 Andrey V. Elsukov wrote: > On 15.08.2018 23:23, Matt Macy wrote: > > Author: mmacy > > Date: Wed Aug 15 20:23:08 2018 > > New Revision: 337866 > > URL: https://svnweb.freebsd.org/changeset/base/337866 > > > > Log: > > Fix in6_multi double

Re: svn commit: r337730 - in head/lib/libpmc/pmu-events/arch/x86: . amdfam17h

2018-08-13 Thread Matthew Macy
The entries in the .json files were replicated and mapfile.csv lacked a newline at the end of the file causing parse failures. -M On Mon, Aug 13, 2018 at 4:56 PM Ravi Pokala wrote: > Hi Matt, > > -Original Message- > From: on behalf of Matt Macy > > Date: 2018-08-13, Monday at 16:46

Re: svn commit: r336593 - head/release

2018-07-22 Thread Matthew Macy
That would only fix it if svn weren't installed. On Sun, Jul 22, 2018 at 9:31 AM, Colin Percival wrote: > On 07/22/18 08:04, Rodney W. Grimes wrote: >>> Build still works, but you're assuming that developers only use svn. >> >> No, he correctly assumed that RELEASE engineering only uses

Re: svn commit: r336593 - head/release

2018-07-21 Thread Matthew Macy
Build still works, but you're assuming that developers only use svn. make[1]: "/usr/home/mmacy/devel/freebsd/Makefile.inc1" line 343: SYSTEM_COMPILER: libclang will be built for bootstrapping a cross-compiler. make[1]: "/usr/home/mmacy/devel/freebsd/Makefile.inc1" line 348: SYSTEM_LINKER:

Re: svn commit: r335879 - in head/sys: conf kern sys

2018-07-08 Thread Matthew Macy
On Sun, Jul 8, 2018 at 7:22 AM, Mark Johnston wrote: > On Tue, Jul 03, 2018 at 01:55:10AM +, Matt Macy wrote: >> Author: mmacy >> Date: Tue Jul 3 01:55:09 2018 >> New Revision: 335879 >> URL: https://svnweb.freebsd.org/changeset/base/335879 >> >> Log: >> make critical_{enter, exit} inline

Re: svn commit: r335979 - in head: . lib/libkvm sys/kern sys/netinet sys/sys usr.bin/netstat usr.bin/sockstat

2018-07-05 Thread Matthew Macy
this breaks the MIPS builds. On Thu, Jul 5, 2018 at 9:33 AM, Brooks Davis wrote: > On Thu, Jul 05, 2018 at 09:10:54AM -0700, Ravi Pokala wrote: >> Hi Brooks, >> >> -Original Message- >> From: on behalf of Brooks Davis >> >> Date: 2018-07-05, Thursday at 06:13 >> To: , , >> >>

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

2018-07-05 Thread Matthew Macy
On Thu, Jul 5, 2018 at 8:54 AM, Konstantin Belousov wrote: > On Thu, Jul 05, 2018 at 07:56:22AM -0700, John Baldwin wrote: >> On 7/4/18 7:22 AM, Konstantin Belousov wrote: >> > On Tue, Jul 03, 2018 at 11:05:42PM +, Matt Macy wrote: >> >> Author: mmacy >> >> Date: Tue Jul 3 23:05:42 2018 >>

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

2018-07-03 Thread Matthew Macy
I didn't want it to be global. Note that I did _exactly_ what John told me to. I don't believe the tone or word choice is justified. -M On Tue, Jul 3, 2018 at 17:32 Warner Losh wrote: > And this is why I wanted it to conform to the current build paradigm in my > review... I'll mop it up once

Re: svn commit: r335880 - in head/sys: conf kern

2018-07-03 Thread Matthew Macy
What is the "correct" way to make sure that offset.inc is visible to modules? On Tue, Jul 3, 2018 at 10:39 AM, Bryan Drewery wrote: > On 7/2/2018 7:50 PM, Matt Macy wrote: >> Author: mmacy >> Date: Tue Jul 3 02:50:07 2018 >> New Revision: 335880 >> URL:

Re: svn commit: r335879 - in head/sys: conf kern sys

2018-07-03 Thread Matthew Macy
genoffset_test tests that the offsets match up On Tue, Jul 3, 2018 at 11:02 AM, Bryan Drewery wrote: > On 7/2/2018 6:55 PM, Matt Macy wrote: >> Author: mmacy >> Date: Tue Jul 3 01:55:09 2018 >> New Revision: 335879 >> URL: https://svnweb.freebsd.org/changeset/base/335879 >> >> Log: >> make

Re: svn commit: r333590 - head/share/man/man9

2018-06-25 Thread Matthew Macy
On Mon, Jun 25, 2018 at 01:30 Andriy Gapon wrote: > On 25/06/2018 10:25, Ed Schouten wrote: > > Hi Andriy, Matthew, > > > > 2018-06-24 23:36 GMT+02:00 Andriy Gapon : > >> Perhaps a little application of google can help. > >> [keywords: epoch based reclamation] > > > > Based on the man page, it

Re: svn commit: r333590 - head/share/man/man9

2018-06-24 Thread Matthew Macy
Sorry, I meant to respond. http://concurrencykit.org/presentations/ebr.pdf http://scalebsd.org/blog/2018/05/03/Why-is-munmap-single-threaded-and-what-can-we-do-about-it http://scalebsd.org/blog/2018/06/16/UDP-and-epoch-for-liveness-guarantees On Sun, Jun 24, 2018 at 13:56 Ed Schouten wrote:

Re: svn commit: r335338 - in head/sys: amd64/conf conf dev/ixl modules modules/ixl modules/ixlv

2018-06-18 Thread Matthew Macy
OK. I've taken it out of NOTES until such time. -M On Mon, Jun 18, 2018 at 7:38 PM, Eric Joyner wrote: > It probably won't result in anything usable. I need to remove ixlvc.c from > the build since the VF driver as a whole doesn't work atm. > > - Eric > > On Mon, Jun 18, 2018

Re: svn commit: r335338 - in head/sys: amd64/conf conf dev/ixl modules modules/ixl modules/ixlv

2018-06-18 Thread Matthew Macy
This breaks universe / tinderbox on AMD64. You appear to have committed parts of a patch to ixlvc.c. I'm not quite clear on what happened here and if just removing the '+' will produce something usable. void ixlv_configure_queues(struct ixlv_sc *sc) { device_tdev = sc->dev;

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

2018-06-14 Thread Matthew Macy
diff --git a/sys/kern/uipc_socket.c b/sys/kern/uipc_socket.c index 2d6dc845938..35bcad41a59 100644 --- a/sys/kern/uipc_socket.c +++ b/sys/kern/uipc_socket.c @@ -2175,6 +2175,7 @@ soreceive_stream(struct socket *so, struct sockaddr **psa, struct uio *uio, struct sockbuf *sb; struct

Re: svn commit: r335094 - head/sys/ofed/drivers/infiniband/core

2018-06-13 Thread Matthew Macy
On Wed, Jun 13, 2018 at 4:47 PM, Ryan Libby wrote: > On Wed, Jun 13, 2018 at 4:30 PM, Matt Macy wrote: >> Author: mmacy >> Date: Wed Jun 13 23:30:54 2018 >> New Revision: 335094 >> URL: https://svnweb.freebsd.org/changeset/base/335094 >> >> Log: >> fix OFED build after r335053 >> >> Modified:

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

2018-06-11 Thread Matthew Macy
Fair. But it didn't actually work before. It's not clear anyone has ever used it. On Mon, Jun 11, 2018 at 9:54 AM, Mark Johnston wrote: > On Mon, Jun 11, 2018 at 04:31:43PM +, Matt Macy wrote: >> Author: mmacy >> Date: Mon Jun 11 16:31:42 2018 >> New Revision: 334960 >> URL:

Re: svn commit: r334827 - in head/sys: amd64/amd64 arm/arm dev/hwpmc i386/i386 kern mips/atheros mips/cavium powerpc/powerpc sys

2018-06-09 Thread Matthew Macy
On Sat, Jun 9, 2018 at 10:51 Mark Johnston wrote: > On Sat, Jun 09, 2018 at 08:11:15AM -0400, John Baldwin wrote: > > On 6/8/18 12:34 PM, Matthew Macy wrote: > > >> The fact that our NMI handler isn't re-entrant can lead to subtle > > >> problems. If while

Re: svn commit: r334827 - in head/sys: amd64/amd64 arm/arm dev/hwpmc i386/i386 kern mips/atheros mips/cavium powerpc/powerpc sys

2018-06-08 Thread Matthew Macy
> The fact that our NMI handler isn't re-entrant can lead to subtle > problems. If while executing the NMI handler we hit a dtrace > probe or DDB breakpoint, the iret executed upon return to the handler > will re-enable NMIs. Then, if a second NMI arrives before the handler > for the first has

Re: svn commit: r334827 - in head/sys: amd64/amd64 arm/arm dev/hwpmc i386/i386 kern mips/atheros mips/cavium powerpc/powerpc sys

2018-06-08 Thread Matthew Macy
On Fri, Jun 8, 2018 at 07:35 Mark Johnston wrote: > On Fri, Jun 08, 2018 at 04:58:03AM +, Matt Macy wrote: > > Author: mmacy > > Date: Fri Jun 8 04:58:03 2018 > > New Revision: 334827 > > URL: https://svnweb.freebsd.org/changeset/base/334827 > > > > Log: > > hwpmc: simplify calling

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

2018-06-07 Thread Matthew Macy
> The main codepath which runs into this (... -> cache_lookup -> vhold) most > definitely does not need the fence for production operation. > > What is unclear without audit is whether there are vhold users which need > one. I think the patch is fine to go in if the other VI_FREE place gets a >

Re: svn commit: r334804 - in head/sys: kern modules/tcp modules/tcp/rack netinet netinet/tcp_stacks sys

2018-06-07 Thread Matthew Macy
> > Okay. I believe there might be situations where we may want to still > keep the 'default' stack alive. I know Windows doesn't yet use RACK when > rtt is lesser than 10ms (or something like that), as an example. > Is there any reason RACK wouldn't work for tracking 10us RTTs? If we know we

Re: svn commit: r333744 - in head/sys: kern sys

2018-06-06 Thread Matthew Macy
Try r334756 and then send me your scripts for any panics you can produce. -M On Wed, Jun 6, 2018 at 7:12 PM, Matthew Macy wrote: > On Wed, Jun 6, 2018 at 12:03 PM, Peter Holm wrote: >> On Thu, May 17, 2018 at 05:59:35PM +, Matt Macy wrote: >>> Author: mmacy >>>

Re: svn commit: r333744 - in head/sys: kern sys

2018-06-06 Thread Matthew Macy
On Wed, Jun 6, 2018 at 12:03 PM, Peter Holm wrote: > On Thu, May 17, 2018 at 05:59:35PM +, Matt Macy wrote: >> Author: mmacy >> Date: Thu May 17 17:59:35 2018 >> New Revision: 333744 >> URL: https://svnweb.freebsd.org/changeset/base/333744 >> >> Log: >> AF_UNIX: make unix socket locking

Re: svn commit: r334226 - head/lib/libpmcstat/pmu-events

2018-06-06 Thread Matthew Macy
pmu events hasn't been in libpmcstat for a while On Wed, Jun 6, 2018 at 08:36 Bryan Drewery wrote: > On 6/5/18 12:32 AM, Kyle Evans wrote: > > On Mon, Jun 4, 2018 at 10:11 PM, Kyle Evans wrote: > >> On Fri, May 25, 2018 at 4:46 PM, Bryan Drewery > wrote: > >>> Author: bdrewery > >>> Date: Fri

Re: svn commit: r334701 - in head: lib/libpmc share/examples/hwpmc sys/dev/hwpmc sys/sys usr.sbin/pmc usr.sbin/pmcstat

2018-06-05 Thread Matthew Macy
-DNO_CLEAN doesn't work with the file rename. On Tue, Jun 5, 2018 at 10:14 PM, Cy Schubert wrote: > amd64 > > ~cy > > In message il.com> > , Matthew Macy writes: >> Which arch? Universe is passing for me (except for pre-existing >> breakage of i386-LINT-NOIN

Re: svn commit: r334701 - in head: lib/libpmc share/examples/hwpmc sys/dev/hwpmc sys/sys usr.sbin/pmc usr.sbin/pmcstat

2018-06-05 Thread Matthew Macy
Which arch? Universe is passing for me (except for pre-existing breakage of i386-LINT-NOINET). -M On Tue, Jun 5, 2018 at 8:53 PM, Cy Schubert wrote: > In message <201806060248.w562m9tb083...@repo.freebsd.org>, Matt Macy > writes: >> Author: mmacy >> Date: Wed Jun 6 02:48:09 2018 >> New

Re: svn commit: r334671 - in head/sys: net netinet netinet6 netipsec

2018-06-05 Thread Matthew Macy
This appears to have broken the NOINET build. --- ip6_gre.o --- cc -target i386-unknown-freebsd12.0 --sysroot=/home/mmacy/devel/build/home/mmacy/networking/i386.i386/tmp -B/home/mmacy/devel/build/home/mmacy/networking/i386.i386/tmp/usr/bin -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL

Re: svn commit: r334595 - in head: sys/dev/hwpmc sys/kern sys/sys usr.sbin/pmcstat

2018-06-04 Thread Matthew Macy
On Mon, Jun 4, 2018 at 5:08 AM, Konstantin Belousov wrote: > On Mon, Jun 04, 2018 at 01:10:23AM +, Matt Macy wrote: >> @@ -2214,6 +2236,11 @@ pmc_hook_handler(struct thread *td, int function, void >> >> pmc_capture_user_callchain(PCPU_GET(cpuid), PMC_HR, >>

Re: svn commit: r334104 - in head/sys: netinet sys

2018-05-26 Thread Matthew Macy
I've re-edited that code twice by request by others. I will amend it again at some point to reflect this viewpoint. On Sat, May 26, 2018 at 12:44 PM, Eric van Gyzen wrote: > On 05/23/2018 23:47, Gleb Smirnoff wrote: >> >> On Thu, May 24, 2018 at 06:44:20AM +0200, Mateusz Guzik

Re: Deorbiting i386

2018-05-26 Thread Matthew Macy
On Fri, May 25, 2018 at 9:24 PM, Kurt Lidl <l...@pix.net> wrote: > On 5/24/18 3:22 PM, Matthew Macy wrote: >> >> i386 is definitely on the wane, but so long as it's used by more than >> a handful of people it will be supported. All you need to know about >> spa

Re: svn commit: r334118 - in head/sys: compat/linprocfs compat/linux compat/linuxkpi/common/include/linux dev/mlx5/mlx5_ib dev/wtap net net/altq netinet netinet/netdump netinet6 netpfil/pf nfs ofed/dr

2018-05-25 Thread Matthew Macy
Odd. I tested the same thing as did pho with regular interfaces. Will fix asap. On Fri, May 25, 2018 at 09:36 Mark Johnston wrote: > On Wed, May 23, 2018 at 09:02:15PM +, Matt Macy wrote: > > Author: mmacy > > Date: Wed May 23 21:02:14 2018 > > New Revision: 334118 > >

Re: svn commit: r334189 - head/sys/contrib/ck/include

2018-05-24 Thread Matthew Macy
I asked for this, so working on a fix. Let me know if you're already about to commit. On Thu, May 24, 2018 at 3:14 PM, John Baldwin wrote: > On Thursday, May 24, 2018 09:38:18 PM Olivier Houchard wrote: >> Author: cognet >> Date: Thu May 24 21:38:18 2018 >> New Revision: 334189

Re: svn commit: r334128 - in head: . lib/libpmcstat lib/libpmcstat/pmu-events lib/libpmcstat/pmu-events/arch lib/libpmcstat/pmu-events/arch/arm64 lib/libpmcstat/pmu-events/arch/arm64/arm lib/libpmcsta

2018-05-24 Thread Matthew Macy
On Thu, May 24, 2018 at 3:36 PM, John Baldwin wrote: > On Thursday, May 24, 2018 04:30:06 AM Matt Macy wrote: >> Author: mmacy >> Date: Thu May 24 04:30:06 2018 >> New Revision: 334128 >> URL: https://svnweb.freebsd.org/changeset/base/334128 >> >> Log: >> libpmcstat: compile

Re: Deorbiting i386

2018-05-24 Thread Matthew Macy
On Thu, May 24, 2018 at 8:51 AM, Andrew Gallatin wrote: > On 05/23/18 20:09, Pedro Giffuni wrote: >> >> FWIW; >> >> On 23/05/2018 17:18, Cy Schubert wrote: >>> >>> In message <20180523202228.gc58...@spindle.one-eyed-alien.net>, Brooks >>> Davis wr >>> ites:

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

2018-05-24 Thread Matthew Macy
> > False positives are compiler bugs. No they're not. No more than missed optimization opportunities. They're limitations in the control flow analysis. > > It does happen, with GCC more than with clang, that the compiler has too > many bugs and it's a bad practice to pessimize code to work

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

2018-05-24 Thread Matthew Macy
On Thu, May 24, 2018 at 8:58 AM, Warner Losh <i...@bsdimp.com> wrote: > > > On Thu, May 24, 2018 at 12:53 AM, Matthew Macy <mm...@freebsd.org> wrote: >> >> On Wed, May 23, 2018 at 11:42 PM, Michael Tuexen >> <michael.tue...@macmic.franken.de> wrote:

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

2018-05-24 Thread Matthew Macy
On Thu, May 24, 2018 at 8:54 AM, Warner Losh <i...@bsdimp.com> wrote: > > > On Thu, May 24, 2018 at 12:36 AM, Matthew Macy <mm...@freebsd.org> wrote: >> >> On Wed, May 23, 2018 at 11:35 PM, Michael Tuexen >> <michael.tue...@macmic.franken.de> wrote:

Re: svn commit: r334128 - in head: . lib/libpmcstat lib/libpmcstat/pmu-events lib/libpmcstat/pmu-events/arch lib/libpmcstat/pmu-events/arch/arm64 lib/libpmcstat/pmu-events/arch/arm64/arm lib/libpmcsta

2018-05-24 Thread Matthew Macy
Ugh. Not intentional On Thu, May 24, 2018 at 02:35 Sergey Kandaurov wrote: > On 24 May 2018 at 07:30, Matt Macy wrote: > >> Author: mmacy >> Date: Thu May 24 04:30:06 2018 >> New Revision: 334128 >> URL: https://svnweb.freebsd.org/changeset/base/334128 >>

Re: svn commit: r334134 - head/lib/libpmcstat

2018-05-24 Thread Matthew Macy
Bugs in the code I'd just imported because I imported from the wrong branch :-/ On Wed, May 23, 2018 at 11:50 PM, Cy Schubert wrote: > In message <201805240647.w4o6lesd071...@repo.freebsd.org>, Matt Macy > writes: >> Author: mmacy >> Date: Thu May 24 06:47:40 2018 >>

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

2018-05-24 Thread Matthew Macy
On Wed, May 23, 2018 at 11:42 PM, Michael Tuexen <michael.tue...@macmic.franken.de> wrote: >> On 24. May 2018, at 08:36, Matthew Macy <mm...@freebsd.org> wrote: >> >> On Wed, May 23, 2018 at 11:35 PM, Michael Tuexen >> <michael.tue...@macmic.franken.de

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

2018-05-24 Thread Matthew Macy
On Wed, May 23, 2018 at 11:35 PM, Michael Tuexen <michael.tue...@macmic.franken.de> wrote: >> On 24. May 2018, at 06:51, Matthew Macy <mm...@freebsd.org> wrote: >> >> Warnings find bugs PERIOD. Although most are not useful, I've found > Some warnings indicate b

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

2018-05-24 Thread Matthew Macy
ild error, and we did carry about > building with gcc8, in this case the assignment should be added with > a comment /* pacify gcc */. > > On Wed, May 23, 2018 at 03:59:33PM -0700, Matthew Macy wrote: > M> On Wed, May 23, 2018 at 3:57 PM, Gleb Smirnoff <gleb...@freebsd.org>

Re: svn commit: r334129 - head/sys/amd64/conf

2018-05-24 Thread Matthew Macy
On Wed, May 23, 2018 at 10:32 PM, Ravi Pokala wrote: > -Original Message- > From: on behalf of Matt Macy > > Date: 2018-05-23, Wednesday at 21:31 > To: , , >

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

2018-05-24 Thread Matthew Macy
On Wed, May 23, 2018 at 10:25 PM, Gleb Smirnoff <gleb...@freebsd.org> wrote: > On Wed, May 23, 2018 at 10:13:25PM -0700, Matthew Macy wrote: > M> On Wed, May 23, 2018 at 10:07 PM, Gleb Smirnoff <gleb...@freebsd.org> > wrote: > M> > Can you please explain the bu

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

2018-05-24 Thread Matthew Macy
On Wed, May 23, 2018 at 09:51:34PM -0700, Matthew Macy wrote: > M> Warnings find bugs PERIOD. Although most are not useful, I've found > M> quite a number of real issues from compiling with gcc8. > M> > M> If you want to _actually_ be helpful fix these: > M> https://

Re: svn commit: r334104 - in head/sys: netinet sys

2018-05-23 Thread Matthew Macy
On Wed, May 23, 2018 at 11:52 AM, John Baldwin wrote: > On Wednesday, May 23, 2018 05:00:05 PM Matt Macy wrote: >> Author: mmacy >> Date: Wed May 23 17:00:05 2018 >> New Revision: 334104 >> URL: https://svnweb.freebsd.org/changeset/base/334104 >> >> Log: >> epoch: allow for

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

2018-05-23 Thread Matthew Macy
On Wed, May 23, 2018 at 3:57 PM, Gleb Smirnoff <gleb...@freebsd.org> wrote: > The initialization isn't useful. It silences a gcc warning. So yes it is. It's this exchange which is not useful. -M > On Wed, May 23, 2018 at 03:52:42PM -0700, Matthew Macy wrote: > M> Ta

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

2018-05-23 Thread Matthew Macy
Talk to the gcc devs. The warning is useful even if there are false positives. On Wed, May 23, 2018 at 3:27 PM, Gleb Smirnoff wrote: > Hi, > > On Sat, May 19, 2018 at 05:10:52AM +, Matt Macy wrote: > M> Author: mmacy > M> Date: Sat May 19 05:10:51 2018 > M> New

Re: svn commit: r334074 - head/sys/sys

2018-05-23 Thread Matthew Macy
Thanks. On Wed, May 23, 2018 at 11:40 AM, Mark Linimon <lini...@lonesome.com> wrote: > On Wed, May 23, 2018 at 09:56:00AM -0700, Matthew Macy wrote: >> Thanks updated for 1200064. Someone(tm) needs to do 1200063. > > done. > > mcl

Re: svn commit: r334074 - head/sys/sys

2018-05-23 Thread Matthew Macy
On Wed, May 23, 2018 at 9:43 AM, John Baldwin wrote: > On Wednesday, May 23, 2018 06:15:55 AM Matt Macy wrote: >> Author: mmacy >> Date: Wed May 23 06:15:55 2018 >> New Revision: 334074 >> URL: https://svnweb.freebsd.org/changeset/base/334074 >> >> Log: >> Bump FreeBSD_version

Re: svn commit: r334074 - head/sys/sys

2018-05-23 Thread Matthew Macy
Track On Wed, May 23, 2018 at 06:53 Ian Lepore wrote: > On Wed, 2018-05-23 at 06:15 +, Matt Macy wrote: > > Author: mmacy > > Date: Wed May 23 06:15:55 2018 > > New Revision: 334074 > > URL: https://svnweb.freebsd.org/changeset/base/334074 > > > > Log: > > Bump

Re: svn commit: r333968 - in head/sys: netinet netinet6

2018-05-22 Thread Matthew Macy
On Tue, May 22, 2018 at 00:33 Eitan Adler wrote: > On 21 May 2018 at 01:34, Matt Macy wrote: > > Author: mmacy > > Date: Mon May 21 08:34:10 2018 > > New Revision: 333968 > > URL: https://svnweb.freebsd.org/changeset/base/333968 > > > > Log: > >

Re: svn commit: r333911 - head/sys/netinet

2018-05-21 Thread Matthew Macy
On Mon, May 21, 2018 at 6:15 AM, Jonathan Looney wrote: > On Sat, May 19, 2018 at 10:27 PM, Matt Macy wrote: >> >> + il = malloc(sizeof(struct in_pcblist) + n * sizeof(struct inpcb >> *), M_TEMP, M_WAITOK|M_ZERO); >> + inp_list =

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

2018-05-21 Thread Matthew Macy
Bear in mind that prior to my change most functions would call it without ever using it on non-debug builds. On Mon, May 21, 2018 at 9:54 AM, Eric van Gyzen wrote: > On 05/19/2018 00:09, Matt Macy wrote: >> @@ -1663,16 +1655,18 @@ static int >> umtxq_sleep_pi(struct umtx_q

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

2018-05-21 Thread Matthew Macy
Good point. Will fix. On Mon, May 21, 2018 at 9:54 AM, Eric van Gyzen wrote: > On 05/19/2018 00:09, Matt Macy wrote: >> @@ -1663,16 +1655,18 @@ static int >> umtxq_sleep_pi(struct umtx_q *uq, struct umtx_pi *pi, uint32_t owner, >> const char *wmesg, struct abs_timeout

Re: svn commit: r333968 - in head/sys: netinet netinet6

2018-05-21 Thread Matthew Macy
Looking closer I think the ifp should always be set. I'll just add an assert to that effect and make it non-conditional. -M On Mon, May 21, 2018 at 1:55 AM, Marko Zec wrote: > On Mon, 21 May 2018 08:34:10 + > Matt Macy wrote: > >> Author: mmacy >> Date: Mon

Re: svn commit: r333968 - in head/sys: netinet netinet6

2018-05-21 Thread Matthew Macy
Sorry about that On Mon, May 21, 2018 at 04:59 Hans Petter Selasky wrote: > On 05/21/18 13:49, Ed Maste wrote: > > After r333968 the build is also broken on all archs but amd64 and i386. > > It looks like amd64 and i386 build with VIMAGE enabled by default, while > the others

Re: svn commit: r333967 - head/sys/netinet

2018-05-21 Thread Matthew Macy
On Mon, May 21, 2018 at 00:47 Marko Zec wrote: > On Mon, 21 May 2018 07:12:06 + > Matt Macy wrote: > > > Author: mmacy > > Date: Mon May 21 07:12:06 2018 > > New Revision: 333967 > > URL: https://svnweb.freebsd.org/changeset/base/333967 > > > > Log: > >

Re: svn commit: r333967 - head/sys/netinet

2018-05-21 Thread Matthew Macy
Thanks On Mon, May 21, 2018 at 00:47 Marko Zec wrote: > On Mon, 21 May 2018 07:12:06 + > Matt Macy wrote: > > > Author: mmacy > > Date: Mon May 21 07:12:06 2018 > > New Revision: 333967 > > URL: https://svnweb.freebsd.org/changeset/base/333967 > > > > Log: >

Re: svn commit: r333924 - head/sys/fs/nfsclient

2018-05-20 Thread Matthew Macy
> I'm not in a situation where I can use gcc, but if you email me the > list of warnings, I can look at them. > > rick > > ________ > From: Matthew Macy <mm...@freebsd.org> > Sent: Sunday, May 20, 2018 7:16:31 PM > To: Rick Macklem > C

Re: svn commit: r333924 - head/sys/fs/nfsclient

2018-05-20 Thread Matthew Macy
buildkernel and WITHOUT_FORMAT_EXTENSIONS= XCC=/usr/local/bin/gcc8 make -j buildkernel KERNCONF=GENERIC-NODEBUG Thanks. On Sun, May 20, 2018 at 4:09 PM, Matthew Macy <mm...@freebsd.org> wrote: > gcc8 > > On Sun, May 20, 2018 at 15:14 Rick Macklem <rmack...@uoguelph.ca> w

Re: svn commit: r333924 - head/sys/fs/nfsclient

2018-05-20 Thread Matthew Macy
gcc8 On Sun, May 20, 2018 at 15:14 Rick Macklem wrote: > Matt Macy wrote: > >Author: mmacy > >Date: Sun May 20 06:14:12 2018 > >New Revision: 333924 > >URL: https://svnweb.freebsd.org/changeset/base/333924 > > > >Log: > > nfsclient: warnings cleanups > Just wondering what

Re: svn commit: r333872 - head/cddl/contrib/opensolaris/tools/ctf/cvt

2018-05-19 Thread Matthew Macy
On Sat, May 19, 2018 at 4:49 AM, Ed Maste wrote: > On 19 May 2018 at 02:31, Matt Macy wrote: >> Author: mmacy >> Date: Sat May 19 06:31:17 2018 >> New Revision: 333872 >> URL: https://svnweb.freebsd.org/changeset/base/333872 >> >> Log: >> ctfconvert:

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

2018-05-19 Thread Matthew Macy
On Sat, May 19, 2018 at 8:56 AM, Emmanuel Vadot <m...@bidouilliste.com> wrote: > On 2018-05-19 17:39, Matthew Macy wrote: >> >> On Sat, May 19, 2018 at 07:17 Emmanuel Vadot <m...@bidouilliste.com> >> wrote: >> >>> On 2018-05-19 15:35, Rodney W. Gri

Re: svn commit: r333819 - in head/sys: conf modules/blake2 modules/crypto modules/drm2/i915kms modules/ipfilter

2018-05-19 Thread Matthew Macy
sys/conf/files: compile-with "${NORMAL_C} ${NO_WSHIFT_COUNT_NEGATIVE} ${NO_WSHIFT_COUNT_OVERFLOW} -I$S/dev/ath" On Sat, May 19, 2018 at 5:30 AM, Matthew Macy <mm...@freebsd.org> wrote: > Oops I’ll add a separate define for that > > On Sat, May 19, 2018 at 04:27 Ed Maste <ema

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

2018-05-19 Thread Matthew Macy
gt; (r333821) > >> +++ head/sys/kern/uipc_usrreq.c Sat May 19 02:15:40 2018 > (r333822) > >> @@ -4,7 +4,7 @@ > >> * Copyright (c) 1982, 1986, 1989, 1991, 1993 > >> * The Regents of the University of California. > >> * Copyright (c) 2004-2009 Robert N. M. Wat

Re: svn commit: r333819 - in head/sys: conf modules/blake2 modules/crypto modules/drm2/i915kms modules/ipfilter

2018-05-19 Thread Matthew Macy
Oops I’ll add a separate define for that On Sat, May 19, 2018 at 04:27 Ed Maste wrote: > On 18 May 2018 at 20:04, Matt Macy wrote: > > Author: mmacy > > Date: Sat May 19 00:04:01 2018 > > New Revision: 333819 > > URL:

Re: svn commit: r333425 - in head/sys: cddl/compat/opensolaris/sys cddl/contrib/opensolaris/uts/common/fs/zfs compat/cloudabi compat/linux compat/linuxkpi/common/include/linux dev/filemon dev/hwpmc fs

2018-05-19 Thread Matthew Macy
r333874 On Sat, May 19, 2018 at 12:16 AM, Matthew Macy <mm...@freebsd.org> wrote: > I can do that tomorrow. But point is that something else will push it over > soon. > > On Sat, May 19, 2018 at 12:14 AM, Mateusz Guzik <mjgu...@gmail.com> wrote: >> imo al

Re: svn commit: r333425 - in head/sys: cddl/compat/opensolaris/sys cddl/contrib/opensolaris/uts/common/fs/zfs compat/cloudabi compat/linux compat/linuxkpi/common/include/linux dev/filemon dev/hwpmc fs

2018-05-19 Thread Matthew Macy
; > On Sat, May 19, 2018 at 9:13 AM, Matthew Macy <mm...@freebsd.org> wrote: >> >> I guess we'll need to allocate more pages at boot. We must have been >> on the edge already if that pushed us over. >> -M >> >> On Fri, May 18, 2018 at 12:03 PM, Il

Re: svn commit: r333425 - in head/sys: cddl/compat/opensolaris/sys cddl/contrib/opensolaris/uts/common/fs/zfs compat/cloudabi compat/linux compat/linuxkpi/common/include/linux dev/filemon dev/hwpmc fs

2018-05-19 Thread Matthew Macy
I guess we'll need to allocate more pages at boot. We must have been on the edge already if that pushed us over. -M On Fri, May 18, 2018 at 12:03 PM, Ilya Bakulin wrote: > Hi Matt, > seems this commit has broken at least BeagleBone Black booting process. On > all revisions after

Re: svn commit: r333757 - head/sys/sys

2018-05-18 Thread Matthew Macy
Sorry, will do On Fri, May 18, 2018 at 15:29 John Baldwin wrote: > On Thursday, May 17, 2018 07:30:57 PM Matt Macy wrote: > > Author: mmacy > > Date: Thu May 17 19:30:57 2018 > > New Revision: 333757 > > URL: https://svnweb.freebsd.org/changeset/base/333757 > > > > Log: > >

Re: svn commit: r333775 - in head/sys: kern net sys tests/epoch

2018-05-17 Thread Matthew Macy
> - epoch_enter_critical() - can be called inside a different epoch, > starts a section that will acquire any MTX_DEF mutexes or do > anything that might sleep. Should read will _not_ acquire ... > - epoch_exit_critical() - corresponding exit call > - epoch_wait_critical() - wait

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

2018-05-17 Thread Matthew Macy
It's not breaking the build there, but I'd be fine with removing it more generally. -M On Thu, May 17, 2018 at 2:08 PM, Nathan Whitehorn wrote: > > > On 05/17/18 14:04, Matt Macy wrote: >> >> Author: mmacy >> Date: Thu May 17 21:04:19 2018 >> New Revision: 333765 >> URL:

Re: svn commit: r333745 - in head/sys/contrib/ck: include src

2018-05-17 Thread Matthew Macy
On Thu, May 17, 2018 at 12:32 PM, Pedro Giffuni <p...@freebsd.org> wrote: > > > On 17/05/2018 14:27, Emmanuel Vadot wrote: >> >> On Thu, 17 May 2018 14:20:05 -0500 >> Pedro Giffuni <p...@freebsd.org> wrote: >> >>> On 17/05/2018 14:12, Matth

Re: svn commit: r333745 - in head/sys/contrib/ck: include src

2018-05-17 Thread Matthew Macy
How do I avoid problems while allowing timely updates? -M On Thu, May 17, 2018 at 11:38 AM, Emmanuel Vadot wrote: > > Hi Matt, > > On Thu, 17 May 2018 18:14:10 + (UTC) > Matt Macy wrote: > >> Author: mmacy >> Date: Thu May 17 18:14:10 2018 >> New

Re: svn commit: r333345 - head/sys/dev/e1000

2018-05-15 Thread Matthew Macy
See r333631 On Tue, May 15, 2018 at 09:18 Mark Johnston wrote: > On Tue, May 08, 2018 at 01:39:45AM +, Matt Macy wrote: > > Author: mmacy > > Date: Tue May 8 01:39:45 2018 > > New Revision: 45 > > URL: https://svnweb.freebsd.org/changeset/base/45 > > > > Log: > >

Re: svn commit: r333509 - in head/sys: dev/hwpmc kern sys

2018-05-12 Thread Matthew Macy
Fixed in 333575. On Sat, May 12, 2018 at 00:35 Peter Holm wrote: > On Sat, May 12, 2018 at 01:26:34AM +, Matt Macy wrote: > > Author: mmacy > > Date: Sat May 12 01:26:34 2018 > > New Revision: 333509 > > URL: https://svnweb.freebsd.org/changeset/base/333509 > > > > Log: > >

Re: svn commit: r333466 - in head: contrib/bmake sys/conf sys/kern sys/modules/epoch_test sys/sys sys/tests/epoch

2018-05-11 Thread Matthew Macy
It fixes something that is completely broken in bmake that everyone in the know patches on their local systems. It was included by accident. I immediately backed it out in the subsequent commit. On Fri, May 11, 2018 at 1:13 PM, Bryan Drewery wrote: > On 5/10/2018 10:55 AM,

Re: svn commit: r333466 - in head: contrib/bmake sys/conf sys/kern sys/modules/epoch_test sys/sys sys/tests/epoch

2018-05-11 Thread Matthew Macy
Thanks On Fri, May 11, 2018 at 11:47 Mark Johnston wrote: > On Thu, May 10, 2018 at 05:55:25PM +, Matt Macy wrote: > > Author: mmacy > > Date: Thu May 10 17:55:24 2018 > > New Revision: 333466 > > URL: https://svnweb.freebsd.org/changeset/base/333466 > > > > Log: > >

  1   2   >