svn commit: r334756 - head/sys/kern

2018-06-06 Thread Matt Macy
Author: mmacy Date: Thu Jun 7 04:57:40 2018 New Revision: 334756 URL: https://svnweb.freebsd.org/changeset/base/334756 Log: AF_UNIX: check for unp == unp2 on disconnect Modified: head/sys/kern/uipc_usrreq.c Modified: head/sys/kern/uipc_usrreq.c ==

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

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

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 r334754

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 war

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 part

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

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-head@freebsd.org> >

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 b

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 requ

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

2018-06-06 Thread Matthew Macy
815209 +/- 1579.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 >> Differenti

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 enable

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 ===

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 ===

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 US

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 user-modi

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 i

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). Now

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 19

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 ==

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 oft

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. Pul

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: 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 st

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 matter

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 1:28

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

2018-06-06 Thread Peter Holm
3% > (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/ker

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 t

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: head/usr.sbin/gpioc

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 d

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 intended/expe

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. B

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: pe

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 Mo

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 the

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 >>> >>> Lo

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 Technologies

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 Spon

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. Subm

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 Spo

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: b

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 > > This

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 Sp

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, >> >> -Orig

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 Technol

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 Sponsor

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 takin

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 needed

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 > >

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 a

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 upda

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 parenthe

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 5

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-head@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: head/sys/netinet6/ip6_outpu

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 symbols

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: https://svnweb.freebsd.org/changeset/base

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: head/usr.bi

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

2018-06-06 Thread Eitan Adler
On 6 June 2018 at 00:07, Mark Millard wrote: > Eitan Adler eadler at FreeBSD.org wrote on > Wed Jun 6 06:42:14 UTC 2018 : > >> + err(1, "calloc for kern.smp.maxcpus", size); > > What is "size" used for when the string makes no use of it? Fixed. Thanks! -- Eitan Adler Source, Ports,

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

2018-06-06 Thread Mark Millard via svn-src-head
Eitan Adler eadler at FreeBSD.org wrote on Wed Jun 6 06:42:14 UTC 2018 : > + err(1, "calloc for kern.smp.maxcpus", size); What is "size" used for when the string makes no use of it? === Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar) __

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 us