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

2018-06-06 Thread Matthew Macy
Median Avg >>> Stddev >>> x 10 3986994 3991728 3990137.5 3989985.2 >>> 1300.0164 >>> + 10 470 4806664 4806116.5 4805194 >>> 1990.6625 >>> Difference at 95.0% confidence >

svn commit: r334754 - head/sbin/nvmecontrol

2018-06-06 Thread Justin Hibbits
Author: jhibbits Date: Thu Jun 7 04:02:09 2018 New Revision: 334754 URL: https://svnweb.freebsd.org/changeset/base/334754 Log: Print Maximum Data Transfer Size as a long rather than int PowerPC has PAGE_SIZE as a long, not an int. This causes the compiler to throw a format mismatch

svn commit: r334755 - head/sbin

2018-06-06 Thread Justin Hibbits
Author: jhibbits Date: Thu Jun 7 04:03:19 2018 New Revision: 334755 URL: https://svnweb.freebsd.org/changeset/base/334755 Log: Build nvmecontrol on powerpc64 The nvme driver is compiled for powerpc64 already, and the one fix required to build nvmecontrol on powerpc64 was fixed in

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

2018-06-06 Thread Ravi Pokala
> I believe the theory is that the compiler (remember, this is > __builtin_memset) can optimize away portions of the zeroing, or can optimize > zeroing for small sizes. Ahhh! I didn't consider that the compiler would be doing analysis of the larger context, and potentially skipping zeroing

svn commit: r334753 - head/lib/libpmc

2018-06-06 Thread Matt Macy
Author: mmacy Date: Thu Jun 7 03:19:21 2018 New Revision: 334753 URL: https://svnweb.freebsd.org/changeset/base/334753 Log: libpmc: add missed (uintmax_t) casts Modified: head/lib/libpmc/libpmc_json.cc (contents, props changed) Modified: head/lib/libpmc/libpmc_json.cc

svn commit: r334752 - head/sys/kern

2018-06-06 Thread Alan Cox
Author: alc Date: Thu Jun 7 02:54:11 2018 New Revision: 334752 URL: https://svnweb.freebsd.org/changeset/base/334752 Log: pidctrl_daemon() implements a variation on the classical, discrete PID controller that tries to handle early invocations of the controller, in other words, invocations

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

2018-06-06 Thread Jonathan T. Looney
On Wed, Jun 6, 2018 at 10:14 PM, Ravi Pokala wrote: > > -Original Message- > From: on behalf of Mateusz Guzik < mjgu...@gmail.com> > Date: 2018-06-06, Wednesday at 09:01 > To: Ravi Pokala > Cc: Mateusz Guzik , src-committers < src-committ...@freebsd.org>, , < svn-src-h...@freebsd.org> >

svn commit: r334750 - head/sys/dev/hwpmc

2018-06-06 Thread Matt Macy
Author: mmacy Date: Thu Jun 7 02:20:27 2018 New Revision: 334750 URL: https://svnweb.freebsd.org/changeset/base/334750 Log: hwpmc: don't do EMIT64 on constant Modified: head/sys/dev/hwpmc/hwpmc_logging.c Modified: head/sys/dev/hwpmc/hwpmc_logging.c

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

2018-06-06 Thread Ravi Pokala
-Original Message- From: on behalf of Mateusz Guzik Date: 2018-06-06, Wednesday at 09:01 To: Ravi Pokala Cc: Mateusz Guzik , src-committers , , Subject: Re: svn commit: r334702 - head/sys/sys > On Wed, Jun 6, 2018 at 1:35 PM, Ravi Pokala wrote: > >>> + * Passing the flag down

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

2018-06-06 Thread Matthew Macy
.64 >> 20.4314% +/- 0.0421713% >> (Student's t, pooled s = 1681.19) >> >> Tested by: pho >> Reported by:mjg >> Approved by:sbruno >> Sponsored by: Limelight Networks >> Differential Revision: ht

svn commit: r334749 - in head: lib lib/libpmc sys/dev/hwpmc sys/sys usr.sbin usr.sbin/pmc usr.sbin/pmccontrol usr.sbin/pmcstat

2018-06-06 Thread Matt Macy
Author: mmacy Date: Thu Jun 7 02:03:22 2018 New Revision: 334749 URL: https://svnweb.freebsd.org/changeset/base/334749 Log: pmc: convert native to jsonl and track TSC value of samples - add '-j' options to filter to enable converting native pmc log format to json lines format to

svn commit: r334747 - head/sys/dev/hwpmc

2018-06-06 Thread Matt Macy
Author: mmacy Date: Thu Jun 7 00:54:43 2018 New Revision: 334747 URL: https://svnweb.freebsd.org/changeset/base/334747 Log: hwpmc: don't log pid->name more than once Modified: head/sys/dev/hwpmc/hwpmc_mod.c Modified: head/sys/dev/hwpmc/hwpmc_mod.c

svn commit: r334748 - head/lib/libpmc

2018-06-06 Thread Matt Macy
Author: mmacy Date: Thu Jun 7 00:55:17 2018 New Revision: 334748 URL: https://svnweb.freebsd.org/changeset/base/334748 Log: libpmc: simplify lookup by idx Modified: head/lib/libpmc/libpmc_pmu_util.c (contents, props changed) Modified: head/lib/libpmc/libpmc_pmu_util.c

svn commit: r334746 - in head/sys: amd64/include i386/include

2018-06-06 Thread Matt Macy
Author: mmacy Date: Thu Jun 7 00:54:11 2018 New Revision: 334746 URL: https://svnweb.freebsd.org/changeset/base/334746 Log: cpufunc: add rdtscp for x86 Modified: head/sys/amd64/include/cpufunc.h head/sys/i386/include/cpufunc.h Modified: head/sys/amd64/include/cpufunc.h

Re: svn commit: r334617 - in head: . etc

2018-06-06 Thread Eugene Grosbein
07.06.2018 7:27, Ian Lepore wrote: >>> I don't understand the drama over this. rc.d startup scripts are >>> *binaries*. >> This is plain wrong. Example: before introduction of rcNG we had >> /etc/rc.serial >> supposed to be user-modified to contain local settings for serial >> ports (uncluding

Re: svn commit: r334617 - in head: . etc

2018-06-06 Thread Ian Lepore
On Thu, 2018-06-07 at 07:20 +0700, Eugene Grosbein wrote: > 07.06.2018 3:06, Ian Lepore wrote: > > > > > I don't understand the drama over this.  rc.d startup scripts are > > *binaries*. > This is plain wrong. Example: before introduction of rcNG we had > /etc/rc.serial > supposed to be

svn commit: r334745 - head/usr.sbin/bsdinstall/partedit

2018-06-06 Thread Justin Hibbits
Author: jhibbits Date: Thu Jun 7 00:24:10 2018 New Revision: 334745 URL: https://svnweb.freebsd.org/changeset/base/334745 Log: Add partition scheme for mpc85xx devices Some mpc85xx devices with u-boot need MBR partitioning with a FAT boot partition. Since the infrastructure is already

Re: svn commit: r334617 - in head: . etc

2018-06-06 Thread Eugene Grosbein
07.06.2018 3:06, Ian Lepore wrote: > I don't understand the drama over this. rc.d startup scripts are > *binaries*. This is plain wrong. Example: before introduction of rcNG we had /etc/rc.serial supposed to be user-modified to contain local settings for serial ports (uncluding USB serial).

svn commit: r334744 - in head: . tools/build/mk usr.bin/grep usr.bin/grep/nls

2018-06-06 Thread Baptiste Daroussin
Author: bapt Date: Wed Jun 6 23:12:35 2018 New Revision: 334744 URL: https://svnweb.freebsd.org/changeset/base/334744 Log: Remove NLS support from BSD grep GNU grep as in actually in base does not have any translations support compiled in, so no functionnality loss. We do support

svn commit: r334743 - releng/11.2/sys/netinet

2018-06-06 Thread Michael Tuexen
Author: tuexen Date: Wed Jun 6 22:34:20 2018 New Revision: 334743 URL: https://svnweb.freebsd.org/changeset/base/334743 Log: MFstable/11 334732: Don't overflow a buffer if we receive an INIT or INIT-ACK chunk without a RANDOM parameter but with a CHUNKS or HMAC-ALGO parameter. Please

svn commit: r334742 - stable/11/sys/fs/msdosfs

2018-06-06 Thread Pedro F. Giffuni
Author: pfg Date: Wed Jun 6 22:29:21 2018 New Revision: 334742 URL: https://svnweb.freebsd.org/changeset/base/334742 Log: MFC r11: msdosfs: use vfs_timestamp() to generate timestamps instead of getnanotime(). Most filesystems, with the notable exceptions of msdosfs and autofs use

svn commit: r334741 - stable/10/sys/fs/nfsserver

2018-06-06 Thread Rick Macklem
Author: rmacklem Date: Wed Jun 6 22:18:24 2018 New Revision: 334741 URL: https://svnweb.freebsd.org/changeset/base/334741 Log: MFC: r333580 Fix a slow leak of session structures in the NFSv4.1 server. For a fairly rare case of a client doing an ExchangeID after a hard reboot, the old

svn commit: r334739 - stable/11/sys/fs/nfsserver

2018-06-06 Thread Rick Macklem
Author: rmacklem Date: Wed Jun 6 22:02:20 2018 New Revision: 334739 URL: https://svnweb.freebsd.org/changeset/base/334739 Log: MFC: r333580 Fix a slow leak of session structures in the NFSv4.1 server. For a fairly rare case of a client doing an ExchangeID after a hard reboot, the old

svn commit: r334740 - releng/11.2/sys/netinet

2018-06-06 Thread Michael Tuexen
Author: tuexen Date: Wed Jun 6 22:02:44 2018 New Revision: 334740 URL: https://svnweb.freebsd.org/changeset/base/334740 Log: MFstable/11 334731 Limit the retransmission timer for SYN-ACKs by TCPTV_REXMTMAX. Use the same logic to handle the SYN-ACK retransmission when sent from the

svn commit: r334738 - head/lib/libc/string

2018-06-06 Thread Conrad Meyer
Author: cem Date: Wed Jun 6 21:32:49 2018 New Revision: 334738 URL: https://svnweb.freebsd.org/changeset/base/334738 Log: strdup.3: Document standardization in POSIX Sponsored by: Dell EMC Isilon Modified: head/lib/libc/string/strdup.3 Modified: head/lib/libc/string/strdup.3

svn commit: r334737 - releng/11.2/sys/netinet

2018-06-06 Thread Michael Tuexen
Author: tuexen Date: Wed Jun 6 21:23:42 2018 New Revision: 334737 URL: https://svnweb.freebsd.org/changeset/base/334737 Log: MFstable/11 r334730 Ensure net.inet.tcp.syncache.rexmtlimit is limited by TCP_MAXRXTSHIFT. If the sysctl variable is set to a value larger than

Re: svn commit: r334617 - in head: . etc

2018-06-06 Thread Rodney W. Grimes
> On Wed, Jun 6, 2018, at 12:33 PM, Rodney W. Grimes wrote: > > > > > > On Tue, Jun 5, 2018, at 1:28 PM, Konstantin Belousov wrote: > > > > On Wed, Jun 06, 2018 at 01:39:00AM +0700, Eugene Grosbein wrote: > > > > > 06.06.2018 1:26, Konstantin Belousov wrote: > > > > > > > > > > >>> I find it

svn commit: r334736 - releng/11.2/release/doc/en_US.ISO8859-1/relnotes

2018-06-06 Thread Glen Barber
Author: gjb Date: Wed Jun 6 20:32:39 2018 New Revision: 334736 URL: https://svnweb.freebsd.org/changeset/base/334736 Log: Remove the r333006 entry following r334735. Approved by: re (implicit) Sponsored by: The FreeBSD Foundation Modified:

svn commit: r334735 - releng/11.2/release/amd64

2018-06-06 Thread Glen Barber
Author: gjb Date: Wed Jun 6 20:31:15 2018 New Revision: 334735 URL: https://svnweb.freebsd.org/changeset/base/334735 Log: Revert r333006: This revision implemented hybrid ISOs for the amd64 architecture, however it was discovered to have caused a regression in booting legacy-mode

svn commit: r334734 - releng/11.2/sys/netinet

2018-06-06 Thread Michael Tuexen
Author: tuexen Date: Wed Jun 6 20:28:17 2018 New Revision: 334734 URL: https://svnweb.freebsd.org/changeset/base/334734 Log: MFstable/11 r334728: Ensure we are not dereferencing a NULL pointer. CID: 1385266 Approved by: re (marius@) Modified:

Re: svn commit: r334617 - in head: . etc

2018-06-06 Thread Konstantin Belousov
On Wed, Jun 06, 2018 at 02:06:48PM -0600, Ian Lepore wrote: > On Wed, 2018-06-06 at 11:33 -0700, Rodney W. Grimes wrote: > > > > > > > > > On Tue, Jun 5, 2018, at 1:28 PM, Konstantin Belousov wrote: > > > > > > > > On Wed, Jun 06, 2018 at 01:39:00AM +0700, Eugene Grosbein wrote: > > > > > > >

svn commit: r334733 - head/lib/libc/string

2018-06-06 Thread Conrad Meyer
Author: cem Date: Wed Jun 6 20:09:21 2018 New Revision: 334733 URL: https://svnweb.freebsd.org/changeset/base/334733 Log: strcpy.3: Improve legibility and clarity In the DESCRIPTION, put the more commonly used functions first in the corresponding sentence, to help catch the eye.

Re: svn commit: r334617 - in head: . etc

2018-06-06 Thread Ian Lepore
On Wed, 2018-06-06 at 11:33 -0700, Rodney W. Grimes wrote: > > > > > > On Tue, Jun 5, 2018, at 1:28 PM, Konstantin Belousov wrote: > > > > > > On Wed, Jun 06, 2018 at 01:39:00AM +0700, Eugene Grosbein wrote: > > > > > > > > 06.06.2018 1:26, Konstantin Belousov wrote: > > > > > > > > > > > >

svn commit: r334732 - stable/11/sys/netinet

2018-06-06 Thread Michael Tuexen
Author: tuexen Date: Wed Jun 6 20:03:35 2018 New Revision: 334732 URL: https://svnweb.freebsd.org/changeset/base/334732 Log: MFC r334532: Don't overflow a buffer if we receive an INIT or INIT-ACK chunk without a RANDOM parameter but with a CHUNKS or HMAC-ALGO parameter. Please note

svn commit: r334731 - stable/11/sys/netinet

2018-06-06 Thread Michael Tuexen
Author: tuexen Date: Wed Jun 6 20:02:05 2018 New Revision: 334731 URL: https://svnweb.freebsd.org/changeset/base/334731 Log: MFC r334497: Limit the retransmission timer for SYN-ACKs by TCPTV_REXMTMAX. Use the same logic to handle the SYN-ACK retransmission when sent from the syn

svn commit: r334730 - stable/11/sys/netinet

2018-06-06 Thread Michael Tuexen
Author: tuexen Date: Wed Jun 6 20:00:21 2018 New Revision: 334730 URL: https://svnweb.freebsd.org/changeset/base/334730 Log: MFC r334494: Ensure net.inet.tcp.syncache.rexmtlimit is limited by TCP_MAXRXTSHIFT. If the sysctl variable is set to a value larger than TCP_MAXRXTSHIFT+1,

svn commit: r334729 - stable/11/sys/netinet

2018-06-06 Thread Michael Tuexen
Author: tuexen Date: Wed Jun 6 19:56:19 2018 New Revision: 334729 URL: https://svnweb.freebsd.org/changeset/base/334729 Log: MFC r333603: Ensure that the MTU's used are multiple of 4. The length of SCTP packets is always a multiple of 4. Therefore, ensure that the MTUs used are

svn commit: r334728 - stable/11/sys/netinet

2018-06-06 Thread Michael Tuexen
Author: tuexen Date: Wed Jun 6 19:51:55 2018 New Revision: 334728 URL: https://svnweb.freebsd.org/changeset/base/334728 Log: MFC r04: Ensure we are not dereferencing a NULL pointer. CID: 1385266 Modified: stable/11/sys/netinet/sctp_indata.c Directory Properties:

svn commit: r334727 - stable/11/sys/netinet

2018-06-06 Thread Michael Tuexen
Author: tuexen Date: Wed Jun 6 19:48:39 2018 New Revision: 334727 URL: https://svnweb.freebsd.org/changeset/base/334727 Log: MFC r333178: Simplify the call to tcp_drop(), since the handling of soft error is also done in tcp_drop(). No functional change. Sponsored by:

svn commit: r334726 - in head: etc/rc.d sbin/pfctl

2018-06-06 Thread Kristof Provost
Author: kp Date: Wed Jun 6 19:36:37 2018 New Revision: 334726 URL: https://svnweb.freebsd.org/changeset/base/334726 Log: pf: Return non-zero from 'status' if pf is not enabled In the pf rc.d script the output of `/etc/rc.d/pf status` or `/etc/rc.d/pf onestatus` always provided an exit

svn commit: r334725 - head/sys/netinet

2018-06-06 Thread Michael Tuexen
Author: tuexen Date: Wed Jun 6 19:27:06 2018 New Revision: 334725 URL: https://svnweb.freebsd.org/changeset/base/334725 Log: Improve compliance with RFC 4895 and RFC 6458. Silently dicard SCTP chunks which have been requested to be authenticated but are received unauthenticated no

Re: svn commit: r334617 - in head: . etc

2018-06-06 Thread Cy Schubert
In message <1528231489.2440725.1397620864.5987B9ED@webmail.messagingengi ne.com> , Brad Davis writes: > This is a multi-part message in MIME format. > > --_--=_152823148924407253 > Content-Transfer-Encoding: 7bit > Content-Type: text/plain; charset="utf-8" > > > On Tue, Jun 5, 2018, at

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

2018-06-06 Thread Peter Holm
(Student's t, pooled s = 1681.19) > > Tested by: pho > Reported by:mjg > Approved by:sbruno > Sponsored by: Limelight Networks > Differential Revision: https://reviews.freebsd.org/D15430 > > Modified: > head/sys/kern/uipc_usrreq.c >

Re: svn commit: r334617 - in head: . etc

2018-06-06 Thread Brad Davis
On Wed, Jun 6, 2018, at 12:33 PM, Rodney W. Grimes wrote: > > > > On Tue, Jun 5, 2018, at 1:28 PM, Konstantin Belousov wrote: > > > On Wed, Jun 06, 2018 at 01:39:00AM +0700, Eugene Grosbein wrote: > > > > 06.06.2018 1:26, Konstantin Belousov wrote: > > > > > > > > >>> I find it often very useful

svn commit: r334724 - head/usr.sbin/gpioctl

2018-06-06 Thread Romain Tartière
Author: romain (ports committer) Date: Wed Jun 6 18:52:33 2018 New Revision: 334724 URL: https://svnweb.freebsd.org/changeset/base/334724 Log: gpioctl.8: Fix man page section Reviewed by: manu Approved by: manu Modified: head/usr.sbin/gpioctl/gpioctl.8 Modified:

Re: svn commit: r334617 - in head: . etc

2018-06-06 Thread Rodney W. Grimes
> > On Tue, Jun 5, 2018, at 1:28 PM, Konstantin Belousov wrote: > > On Wed, Jun 06, 2018 at 01:39:00AM +0700, Eugene Grosbein wrote: > > > 06.06.2018 1:26, Konstantin Belousov wrote: > > > > > > >>> I find it often very useful to do > > > >>> (cd src/etc/rc.d && make install) > > > >>> Same for

svn commit: r334723 - head/stand/lua

2018-06-06 Thread Kyle Evans
Author: kevans Date: Wed Jun 6 18:28:17 2018 New Revision: 334723 URL: https://svnweb.freebsd.org/changeset/base/334723 Log: lualoader: Add a loaded hook for others to execute upon config load This will not be executed on reload, though later work could allow for that. It's

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: r334702 - head/sys/sys

2018-06-06 Thread Conrad Meyer
Hi Ben, Ravi, GCC/Clang are fine with the just curly braces, or just do/while(0). The core benefit of the ({ }) syntax is to allow multiple-statement macros to have expression syntax externally (i.e., yield a value) — which is not possible in standard C due to concession to simplistic parsers.

svn commit: r334722 - head/sys/dev/puc

2018-06-06 Thread Conrad Meyer
Author: cem Date: Wed Jun 6 16:47:33 2018 New Revision: 334722 URL: https://svnweb.freebsd.org/changeset/base/334722 Log: puc(4): Add provisional support for Exar XR17V352 Reportedly, this is sufficient for 4800bps use, but maybe not any better. PR: 228781 Submitted by:

svn commit: r334721 - head/lib/msun/man

2018-06-06 Thread Conrad Meyer
Author: cem Date: Wed Jun 6 16:25:00 2018 New Revision: 334721 URL: https://svnweb.freebsd.org/changeset/base/334721 Log: clog.3, complex.3: Fix typos and igor style issues PR: 228783 Reported by: Karsten Modified: head/lib/msun/man/clog.3 head/lib/msun/man/complex.3

Re: svn commit: r334712 - head/sys/compat/linuxkpi/common/include/asm

2018-06-06 Thread Hans Petter Selasky
On 06/06/18 17:06, Mateusz Guzik wrote: On Wed, Jun 6, 2018 at 3:59 PM, Hans Petter Selasky wrote: cmpset loops are crap since they require an explicit re-read of the target value see fcmpset and refcount_acquire_if_not_zero for an example use See r334718. Thank you! --HPS

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

2018-06-06 Thread Hans Petter Selasky
Author: hselasky Date: Wed Jun 6 15:49:01 2018 New Revision: 334720 URL: https://svnweb.freebsd.org/changeset/base/334720 Log: Make some list functions RCU safe in the LinuxKPI. While at it rename hlist_add_after() into hlist_add_behind(). Submitted by: Johannes Lundberg MFC after:

svn commit: r334719 - in head: cddl/lib/libdtrace lib/libc/sys sys/kern sys/netinet sys/netinet6 sys/sys

2018-06-06 Thread Sean Bruno
Author: sbruno Date: Wed Jun 6 15:45:57 2018 New Revision: 334719 URL: https://svnweb.freebsd.org/changeset/base/334719 Log: Load balance sockets with new SO_REUSEPORT_LB option. This patch adds a new socket option, SO_REUSEPORT_LB, which allow multiple programs or threads to bind to

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

2018-06-06 Thread Bryan Drewery
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 May 25 21:46:07 2018 >>> New Revision: 334226 >>> URL: https://svnweb.freebsd.org/changeset/base/334226 >>> >>>

svn commit: r334718 - head/sys/compat/linuxkpi/common/include/asm

2018-06-06 Thread Hans Petter Selasky
Author: hselasky Date: Wed Jun 6 15:31:47 2018 New Revision: 334718 URL: https://svnweb.freebsd.org/changeset/base/334718 Log: Rewrite code using atomic_fcmpset_int() in the LinuxKPI. Suggested by: mjg@ MFC after:1 week Sponsored by: Mellanox Technologies Sponsored by: Limelight

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

2018-06-06 Thread Hans Petter Selasky
Author: hselasky Date: Wed Jun 6 15:19:30 2018 New Revision: 334717 URL: https://svnweb.freebsd.org/changeset/base/334717 Log: Implement the __add_wait_queue_entry_tail() function in the LinuxKPI. Submitted by: Johannes Lundberg MFC after:1 week Sponsored by: Mellanox

svn commit: r334716 - head/sys/kern

2018-06-06 Thread Justin Hibbits
Author: jhibbits Date: Wed Jun 6 15:12:19 2018 New Revision: 334716 URL: https://svnweb.freebsd.org/changeset/base/334716 Log: Revert r334708 This is the wrong place to put the barrier. Requested by: kib,mjg Modified: head/sys/kern/vfs_subr.c Modified: head/sys/kern/vfs_subr.c

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

2018-06-06 Thread Hans Petter Selasky
Author: hselasky Date: Wed Jun 6 15:10:11 2018 New Revision: 334715 URL: https://svnweb.freebsd.org/changeset/base/334715 Log: Implement the might_sleep_if() function macro in the LinuxKPI. Submitted by: Johannes Lundberg MFC after:1 week Sponsored by: Mellanox Technologies

Re: svn commit: r334712 - head/sys/compat/linuxkpi/common/include/asm

2018-06-06 Thread Mateusz Guzik
On Wed, Jun 6, 2018 at 3:59 PM, Hans Petter Selasky wrote: > Author: hselasky > Date: Wed Jun 6 13:59:51 2018 > New Revision: 334712 > URL: https://svnweb.freebsd.org/changeset/base/334712 > > Log: > Implement the atomic_dec_if_positive() function in the LinuxKPI. > > Submitted by: Johannes

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

2018-06-06 Thread Hans Petter Selasky
Author: hselasky Date: Wed Jun 6 15:06:21 2018 New Revision: 334714 URL: https://svnweb.freebsd.org/changeset/base/334714 Log: Rename two structure field members while keeping backwards compatibility in the LinuxKPI. Add a comment saying in which Linux version this change was made.

svn commit: r334713 - in head/sys/compat/linuxkpi/common: include/linux src

2018-06-06 Thread Hans Petter Selasky
Author: hselasky Date: Wed Jun 6 14:59:23 2018 New Revision: 334713 URL: https://svnweb.freebsd.org/changeset/base/334713 Log: Implement the init_wait_entry() function macro in the LinuxKPI. Submitted by: Johannes Lundberg MFC after:1 week Sponsored by: Mellanox Technologies

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

2018-06-06 Thread Bryan Drewery
Will look today or tomorrow. Pretty sure just a small thing is missing from Makefile.libcompat. Regards, Bryan Drewery > On Jun 5, 2018, at 00:32, 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:

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

2018-06-06 Thread Konstantin Belousov
On Wed, Jun 06, 2018 at 12:57:12PM +, Justin Hibbits wrote: > Author: jhibbits > Date: Wed Jun 6 12:57:11 2018 > New Revision: 334708 > URL: https://svnweb.freebsd.org/changeset/base/334708 > > Log: > Add a memory barrier after taking a reference on the vnode holdcnt in _vhold > >

svn commit: r334712 - head/sys/compat/linuxkpi/common/include/asm

2018-06-06 Thread Hans Petter Selasky
Author: hselasky Date: Wed Jun 6 13:59:51 2018 New Revision: 334712 URL: https://svnweb.freebsd.org/changeset/base/334712 Log: Implement the atomic_dec_if_positive() function in the LinuxKPI. Submitted by: Johannes Lundberg MFC after:1 week Sponsored by: Mellanox Technologies

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

2018-06-06 Thread Ravi Pokala
-Original Message- From: on behalf of Benjamin Kaduk Date: 2018-06-06, Wednesday at 07:40 To: Ravi Pokala Cc: Mateusz Guzik , src-committers , , Subject: Re: svn commit: r334702 - head/sys/sys > On Wed, Jun 6, 2018 at 6:35 AM, Ravi Pokala wrote: >> >> Hi Mateusz, >> >>

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

2018-06-06 Thread Hans Petter Selasky
Author: hselasky Date: Wed Jun 6 13:37:31 2018 New Revision: 334711 URL: https://svnweb.freebsd.org/changeset/base/334711 Log: Implement the ktime_compare() and ktime_after() functions in the LinuxKPI. Submitted by: Johannes Lundberg MFC after:1 week Sponsored by: Mellanox

svn commit: r334710 - head/sys/compat/linuxkpi/common/include/asm

2018-06-06 Thread Hans Petter Selasky
Author: hselasky Date: Wed Jun 6 13:29:52 2018 New Revision: 334710 URL: https://svnweb.freebsd.org/changeset/base/334710 Log: Implement the rdmsrl_safe() function macro in the LinuxKPI. Submitted by: Johannes Lundberg MFC after:1 week Sponsored by: Mellanox Technologies

Re: svn commit: r334089 - head/sbin/dumpon

2018-06-06 Thread John Baldwin
On 6/6/18 3:34 AM, Eitan Adler wrote: > On 23 May 2018 at 09:30, John Baldwin wrote: >> On Wednesday, May 23, 2018 10:45:32 AM Eitan Adler wrote: >>> Author: eadler >>> Date: Wed May 23 10:45:32 2018 >>> New Revision: 334089 >>> URL: https://svnweb.freebsd.org/changeset/base/334089 >>> >>> Log:

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

2018-06-06 Thread Andriy Gapon
On 06/06/2018 16:02, Warner Losh wrote: > > > On Wed, Jun 6, 2018 at 8:57 AM, Justin Hibbits > wrote: > > Author: jhibbits > Date: Wed Jun  6 12:57:11 2018 > New Revision: 334708 > URL: https://svnweb.freebsd.org/changeset/base/334708 >

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

2018-06-06 Thread Justin Hibbits
On Wed, Jun 6, 2018 at 9:02 AM, Warner Losh wrote: > > > On Wed, Jun 6, 2018 at 8:57 AM, Justin Hibbits wrote: >> >> Author: jhibbits >> Date: Wed Jun 6 12:57:11 2018 >> New Revision: 334708 >> URL: https://svnweb.freebsd.org/changeset/base/334708 >> >> Log: >> Add a memory barrier after

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

2018-06-06 Thread Mateusz Guzik
On Wed, Jun 6, 2018 at 1:35 PM, Ravi Pokala wrote: > > + * Passing the flag down requires malloc to blindly zero the entire > object. > > + * In practice a lot of the zeroing can be avoided if most of the object > > + * gets explicitly initialized after the allocation. Letting the > compiler > >

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

2018-06-06 Thread Warner Losh
On Wed, Jun 6, 2018 at 8:57 AM, Justin Hibbits wrote: > Author: jhibbits > Date: Wed Jun 6 12:57:11 2018 > New Revision: 334708 > URL: https://svnweb.freebsd.org/changeset/base/334708 > > Log: > Add a memory barrier after taking a reference on the vnode holdcnt in > _vhold > > This is

svn commit: r334709 - head/sys/netinet

2018-06-06 Thread Andrey V. Elsukov
Author: ae Date: Wed Jun 6 13:01:53 2018 New Revision: 334709 URL: https://svnweb.freebsd.org/changeset/base/334709 Log: Make in_delayed_cksum() be similar to IPv6 implementation. Use m_copyback() function to write checksum when it isn't located in the first mbuf of the chain. Handmade

svn commit: r334708 - head/sys/kern

2018-06-06 Thread Justin Hibbits
Author: jhibbits Date: Wed Jun 6 12:57:11 2018 New Revision: 334708 URL: https://svnweb.freebsd.org/changeset/base/334708 Log: Add a memory barrier after taking a reference on the vnode holdcnt in _vhold This is needed to avoid a race between the VNASSERT() below, and another thread

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

2018-06-06 Thread Bruce Evans
On Wed, 6 Jun 2018, Benjamin Kaduk wrote: On Wed, Jun 6, 2018 at 6:35 AM, Ravi Pokala wrote: Hi Mateusz, ... ... #ifdef _KERNEL #define malloc(size, type, flags) ({ \ Now that I'm taking another look at this, I'm confused as to why the entire macro expansion is inside

Re: svn commit: r334617 - in head: . etc

2018-06-06 Thread Brad Davis
On Wed, Jun 6, 2018, at 2:25 AM, Stefan Esser wrote: > Am 05.06.18 um 22:43 schrieb Brad Davis: > > > > On Tue, Jun 5, 2018, at 1:07 PM, Renato Botelho wrote: > >> On 05/06/18 15:26, Konstantin Belousov wrote: > >> > On Tue, Jun 05, 2018 at 12:13:05PM -0600, Brad Davis wrote: > >> >> On Tue, Jun

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

2018-06-06 Thread Benjamin Kaduk
On Wed, Jun 6, 2018 at 6:35 AM, Ravi Pokala wrote: > Hi Mateusz, > > -Original Message- > From: on behalf of Mateusz Guzik > > Date: 2018-06-06, Wednesday at 01:08 > To: , , < > svn-src-h...@freebsd.org> > Subject: svn commit: r334702 - head/sys/sys > > > ... > > #ifdef _KERNEL > >

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

2018-06-06 Thread Ravi Pokala
Hi Mateusz, -Original Message- From: on behalf of Mateusz Guzik Date: 2018-06-06, Wednesday at 01:08 To: , , Subject: svn commit: r334702 - head/sys/sys > Author: mjg > Date: Wed Jun 6 05:08:05 2018 > New Revision: 334702 > URL: https://svnweb.freebsd.org/changeset/base/334702 >

svn commit: r334707 - head/sys/netinet6

2018-06-06 Thread Andrey V. Elsukov
Author: ae Date: Wed Jun 6 10:46:24 2018 New Revision: 334707 URL: https://svnweb.freebsd.org/changeset/base/334707 Log: Use m_copyback() function to write delayed checksum when it isn't located in the first mbuf of the chain. MFC after:1 week Modified:

Re: svn commit: r334617 - in head: . etc

2018-06-06 Thread Stefan Esser
Am 05.06.18 um 22:43 schrieb Brad Davis: > > On Tue, Jun 5, 2018, at 1:07 PM, Renato Botelho wrote: >> On 05/06/18 15:26, Konstantin Belousov wrote: >> > On Tue, Jun 05, 2018 at 12:13:05PM -0600, Brad Davis wrote: >> >> On Tue, Jun 5, 2018, at 10:46 AM, Konstantin Belousov wrote: >> >>> I find it

Re: svn commit: r334089 - head/sbin/dumpon

2018-06-06 Thread Eitan Adler
On 23 May 2018 at 09:30, John Baldwin wrote: > On Wednesday, May 23, 2018 10:45:32 AM Eitan Adler wrote: >> Author: eadler >> Date: Wed May 23 10:45:32 2018 >> New Revision: 334089 >> URL: https://svnweb.freebsd.org/changeset/base/334089 >> >> Log: >> dumpon: point to better kernel debug

Re: svn commit: r334650 - head/sys/dev/usb

2018-06-06 Thread Gary Jennejohn
On Tue, 5 Jun 2018 16:30:05 -0700 Eitan Adler wrote: > On 5 June 2018 at 07:01, Kevin Lo wrote: > > On Tue, Jun 05, 2018 at 09:52:38AM +, Eitan Adler wrote: > >> Author: eadler > >> Date: Tue Jun 5 09:52:38 2018 > >> New Revision: 334650 > >> URL:

svn commit: r334706 - head/usr.bin/top

2018-06-06 Thread Eitan Adler
Author: eadler Date: Wed Jun 6 07:13:27 2018 New Revision: 334706 URL: https://svnweb.freebsd.org/changeset/base/334706 Log: top(1): fix err again I am amazed at my ability to get a one-line error reporting line wrong thrice. Modified: head/usr.bin/top/machine.c Modified:

svn commit: r334705 - head/sys/netinet

2018-06-06 Thread Tom Jones
Author: thj Date: Wed Jun 6 07:04:40 2018 New Revision: 334705 URL: https://svnweb.freebsd.org/changeset/base/334705 Log: Use UDP len when calculating UDP checksums The length of the IP payload is normally equal to the UDP length, UDP Options (draft-ietf-tsvwg-udp-options-02) suggests

Re: svn commit: r334557 - head/usr.bin/top

2018-06-06 Thread Eitan Adler
On 3 June 2018 at 22:42, Baptiste Daroussin wrote: > On Sun, Jun 03, 2018 at 01:41:24PM +, Eitan Adler wrote: >> Author: eadler >> Date: Sun Jun 3 13:41:23 2018 >> New Revision: 334557 >> URL: https://svnweb.freebsd.org/changeset/base/334557 >> >> Log: >> top(1): restore size for

svn commit: r334704 - head/usr.bin/top

2018-06-06 Thread Eitan Adler
Author: eadler Date: Wed Jun 6 06:42:12 2018 New Revision: 334704 URL: https://svnweb.freebsd.org/changeset/base/334704 Log: top(1): make error message happy We don't use a "size" variable, so just don't report it. Reported by: bapt Modified: head/usr.bin/top/machine.c Modified: