Re: svn commit: r336025 - in head/sys: amd64/include i386/include

2018-07-06 Thread Don Lewis
On 7 Jul, Alexey Dokuchaev wrote: > On Fri, Jul 06, 2018 at 05:06:03PM -0700, Don Lewis wrote: >> The other machine is my Pentium-M laptop, which is mostly used for light >> browsing and as a VNC client when I'm on the road. Performance is >> acceptable for those uses. Both machines run

Re: svn commit: r336025 - in head/sys: amd64/include i386/include

2018-07-06 Thread Don Lewis
On 6 Jul, Warner Losh wrote: > On Fri, Jul 6, 2018 at 6:06 PM, Don Lewis wrote: > >> On 6 Jul, Warner Losh wrote: >> > On Fri, Jul 6, 2018 at 9:32 AM, Rodney W. Grimes < >> > free...@pdx.rh.cn85.dnsmgr.net> wrote: >> > >> >> > Author: hselasky >> >> > Date: Fri Jul 6 10:13:42 2018 >> >> > New

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

2018-07-06 Thread Cy Schubert
In message <20180706135634.gp5...@kib.kiev.ua>, Konstantin Belousov writes: > On Fri, Jul 06, 2018 at 01:22:44PM +, Sean Bruno wrote: > > Author: sbruno > > Date: Fri Jul 6 13:22:44 2018 > > New Revision: 336031 > > URL: https://svnweb.freebsd.org/changeset/base/336031 > > > > Log: > >

Re: svn commit: r336025 - in head/sys: amd64/include i386/include

2018-07-06 Thread Alexey Dokuchaev
On Fri, Jul 06, 2018 at 05:06:03PM -0700, Don Lewis wrote: > The other machine is my Pentium-M laptop, which is mostly used for light > browsing and as a VNC client when I'm on the road. Performance is > acceptable for those uses. Both machines run stripped down UP kernels to > avoid wasting RAM

Re: svn commit: r336046 - in head/sys: amd64/include i386/include sys

2018-07-06 Thread Alexey Dokuchaev
On Fri, Jul 06, 2018 at 10:52:37PM +0300, Konstantin Belousov wrote: > On Fri, Jul 06, 2018 at 07:50:25PM +, Konstantin Belousov wrote: > > New Revision: 336046 > > URL: https://svnweb.freebsd.org/changeset/base/336046 > > > > Log: > > Revert to recommit with the proper message. > > I am

svn commit: r336056 - head/sys/powerpc/powernv

2018-07-06 Thread Justin Hibbits
Author: jhibbits Date: Sat Jul 7 01:58:40 2018 New Revision: 336056 URL: https://svnweb.freebsd.org/changeset/base/336056 Log: Let ofw_iicbus work its magic on OPAL i2c buses. ofw_iicbus already has attachments on iichb. Rather than adding an explicit attachment onto opal_i2c, simply

svn commit: r336055 - head/sys/vm

2018-07-06 Thread Jeff Roberson
Author: jeff Date: Sat Jul 7 01:54:45 2018 New Revision: 336055 URL: https://svnweb.freebsd.org/changeset/base/336055 Log: Use the ticks since the last update to reduce hysteresis in the partpopq and contention on the vm_reserv_domain lock. This gives a roughly 8x speedup on

Re: svn commit: r336025 - in head/sys: amd64/include i386/include

2018-07-06 Thread Warner Losh
On Fri, Jul 6, 2018 at 6:06 PM, Don Lewis wrote: > On 6 Jul, Warner Losh wrote: > > On Fri, Jul 6, 2018 at 9:32 AM, Rodney W. Grimes < > > free...@pdx.rh.cn85.dnsmgr.net> wrote: > > > >> > Author: hselasky > >> > Date: Fri Jul 6 10:13:42 2018 > >> > New Revision: 336025 > >> > URL:

svn commit: r336054 - head/sys/dev/hyperv/vmbus

2018-07-06 Thread Dexuan Cui
Author: dexuan Date: Sat Jul 7 00:41:04 2018 New Revision: 336054 URL: https://svnweb.freebsd.org/changeset/base/336054 Log: hyperv: Fix boot-up after malloc() returns memory of NX by default now FreeBSD VM can't boot up on Hyper-V after the recent malloc change in r335068: Make UMA and

Re: svn commit: r336025 - in head/sys: amd64/include i386/include

2018-07-06 Thread Don Lewis
On 6 Jul, Warner Losh wrote: > On Fri, Jul 6, 2018 at 9:32 AM, Rodney W. Grimes < > free...@pdx.rh.cn85.dnsmgr.net> wrote: > >> > Author: hselasky >> > Date: Fri Jul 6 10:13:42 2018 >> > New Revision: 336025 >> > URL: https://svnweb.freebsd.org/changeset/base/336025 >> > >> > Log: >> > Make

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

2018-07-06 Thread Hiroki Sato
Daichi GOTO wrote in <201807061207.w66c76cr043...@repo.freebsd.org>: da> Author: daichi da> Date: Fri Jul 6 12:07:06 2018 da> New Revision: 336028 da> URL: https://svnweb.freebsd.org/changeset/base/336028 da> da> Log: da> Changed to eliminate the upper limit of command length displayed da>

svn commit: r336053 - in head: sys/arm/include sys/arm64/include tests/sys/kern

2018-07-06 Thread John Baldwin
Author: jhb Date: Fri Jul 6 23:49:17 2018 New Revision: 336053 URL: https://svnweb.freebsd.org/changeset/base/336053 Log: Export a breakpoint() function to userland for arm and arm64. Enable ptrace() tests using breakpoint() on these architectures. Reviewed by: andrew Differential

Re: svn commit: r336025 - in head/sys: amd64/include i386/include

2018-07-06 Thread Jeff Roberson
On Fri, 6 Jul 2018, Rodney W. Grimes wrote: On Fri, Jul 6, 2018, 12:27 PM Rodney W. Grimes < free...@pdx.rh.cn85.dnsmgr.net> wrote: On Fri, Jul 6, 2018 at 9:52 AM, Rodney W. Grimes < free...@pdx.rh.cn85.dnsmgr.net> wrote: On Fri, Jul 6, 2018 at 9:32 AM, Rodney W. Grimes <

Re: svn commit: r336025 - in head/sys: amd64/include i386/include

2018-07-06 Thread Jeff Roberson
On Fri, 6 Jul 2018, Rodney W. Grimes wrote: On Friday, July 6, 2018, Rodney W. Grimes wrote: Author: hselasky Date: Fri Jul 6 10:13:42 2018 New Revision: 336025 URL: https://svnweb.freebsd.org/changeset/base/336025 Log: Make sure kernel modules built by default are portable between UP

svn commit: r336052 - in head/sys/modules: uchcom ucycom

2018-07-06 Thread Ian Lepore
Author: ian Date: Fri Jul 6 22:07:26 2018 New Revision: 336052 URL: https://svnweb.freebsd.org/changeset/base/336052 Log: Set .PATH to dev/usb/serial so that these modules compile again. Modified: head/sys/modules/uchcom/Makefile head/sys/modules/ucycom/Makefile Modified:

svn commit: r336051 - head/sys/dev/ichiic

2018-07-06 Thread Oleksandr Tymoshenko
Author: gonzo Date: Fri Jul 6 22:01:00 2018 New Revision: 336051 URL: https://svnweb.freebsd.org/changeset/base/336051 Log: ig4(4): Fix Apollo lake entries platform identifier Identify Apollo Lake controllers as IG4_APL and not as a IG4_SKYLAKE Reported by: rpokala@ Modified:

Re: svn commit: r336025 - in head/sys: amd64/include i386/include

2018-07-06 Thread Rodney W. Grimes
> On Friday, July 6, 2018, Rodney W. Grimes > wrote: > > > > Author: hselasky > > > Date: Fri Jul 6 10:13:42 2018 > > > New Revision: 336025 > > > URL: https://svnweb.freebsd.org/changeset/base/336025 > > > > > > Log: > > > Make sure kernel modules built by default are portable between UP and

Re: svn commit: r336020 - in head/sys: amd64/include arm/include arm64/include i386/include kern mips/include powerpc/include riscv/include sparc64/include sys vm x86/acpica

2018-07-06 Thread John Baldwin
On 7/5/18 7:06 PM, Matt Macy wrote: > Author: mmacy > Date: Fri Jul 6 02:06:03 2018 > New Revision: 336020 > URL: https://svnweb.freebsd.org/changeset/base/336020 > > Log: > Back pcpu zone with domain correct pages > > - Change pcpu zone consumers to use a stride size of PAGE_SIZE. >

svn commit: r336050 - head/sys/dev/ichiic

2018-07-06 Thread Oleksandr Tymoshenko
Author: gonzo Date: Fri Jul 6 21:22:50 2018 New Revision: 336050 URL: https://svnweb.freebsd.org/changeset/base/336050 Log: ig4(4): add support for Apollo Lake I2C controllers Add PCI ids for I2C controllers on Apollo Lake platform. Also convert switch/case probe logic into a table.

Re: svn commit: r336025 - in head/sys: amd64/include i386/include

2018-07-06 Thread Oliver Pinter
On Friday, July 6, 2018, Rodney W. Grimes wrote: > > Author: hselasky > > Date: Fri Jul 6 10:13:42 2018 > > New Revision: 336025 > > URL: https://svnweb.freebsd.org/changeset/base/336025 > > > > Log: > > Make sure kernel modules built by default are portable between UP and > > SMP systems

Re: svn commit: r336025 - in head/sys: amd64/include i386/include

2018-07-06 Thread Warner Losh
On Fri, Jul 6, 2018, 3:50 PM Tijl Coosemans wrote: > On Fri, 6 Jul 2018 11:09:27 -0700 (PDT) "Rodney W. Grimes" < > free...@pdx.rh.cn85.dnsmgr.net> wrote: > > > On Fri, Jul 6, 2018, 12:27 PM Rodney W. Grimes < > > > free...@pdx.rh.cn85.dnsmgr.net> wrote: > > > > > > > > On Fri, Jul 6, 2018 at

Re: svn commit: r336025 - in head/sys: amd64/include i386/include

2018-07-06 Thread Tijl Coosemans
On Fri, 6 Jul 2018 11:09:27 -0700 (PDT) "Rodney W. Grimes" wrote: > > On Fri, Jul 6, 2018, 12:27 PM Rodney W. Grimes < > > free...@pdx.rh.cn85.dnsmgr.net> wrote: > > > > > > On Fri, Jul 6, 2018 at 9:52 AM, Rodney W. Grimes < > > > > free...@pdx.rh.cn85.dnsmgr.net> wrote: > > > > > >

Re: svn commit: r336046 - in head/sys: amd64/include i386/include sys

2018-07-06 Thread Konstantin Belousov
On Fri, Jul 06, 2018 at 07:50:25PM +, Konstantin Belousov wrote: > Author: kib > Date: Fri Jul 6 19:50:25 2018 > New Revision: 336046 > URL: https://svnweb.freebsd.org/changeset/base/336046 > > Log: > Revert to recommit with the proper message. I am sorry for the second mistake of the

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

2018-07-06 Thread Konstantin Belousov
Author: kib Date: Fri Jul 6 19:50:44 2018 New Revision: 336047 URL: https://svnweb.freebsd.org/changeset/base/336047 Log: Expand x86 struct pcpus to UMA_PCPU_ALLOC_SIZE AKA PAGE_SIZE. This restores counters(9) operation. Revert r336024. Improve assert of pcpu size on x86. Reviewed

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

2018-07-06 Thread Konstantin Belousov
Author: kib Date: Fri Jul 6 19:50:25 2018 New Revision: 336046 URL: https://svnweb.freebsd.org/changeset/base/336046 Log: Revert to recommit with the proper message. Modified: head/sys/amd64/include/counter.h head/sys/amd64/include/pcpu.h head/sys/i386/include/pcpu.h

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

2018-07-06 Thread Konstantin Belousov
Author: kib Date: Fri Jul 6 19:48:47 2018 New Revision: 336045 URL: https://svnweb.freebsd.org/changeset/base/336045 Log: Save a call to pmap_remove() if entry cannot have any pages mapped. Due to the way rtld creates mappings for the shared objects, each dso causes unmap of at least

svn commit: r336044 - head/sys/arm64/linux

2018-07-06 Thread Ed Maste
Author: emaste Date: Fri Jul 6 19:47:09 2018 New Revision: 336044 URL: https://svnweb.freebsd.org/changeset/base/336044 Log: Regen arm64 linux sysent after r336043 Modified: head/sys/arm64/linux/linux_proto.h head/sys/arm64/linux/linux_systrace_args.c Modified:

svn commit: r336043 - head/sys/arm64/linux

2018-07-06 Thread Ed Maste
Author: emaste Date: Fri Jul 6 19:44:49 2018 New Revision: 336043 URL: https://svnweb.freebsd.org/changeset/base/336043 Log: Fix arm64 linuxulator clone() argument order Linux/arm64 is CLONE_BACKWARDS - i.e., "Architecture has tls passed as the 4th argument of clone(2), not the 5th

svn commit: r336042 - head/sys/dev/cxgbe/common

2018-07-06 Thread Navdeep Parhar
Author: np Date: Fri Jul 6 19:33:58 2018 New Revision: 336042 URL: https://svnweb.freebsd.org/changeset/base/336042 Log: cxgbe(4): Assume that any unknown flash on the card is 4MB and has 64KB sectors, instead of refusing to attach to the card. Submitted by: Casey Leedom @ Chelsio MFC

svn commit: r336041 - head/sys/fs/nfsserver

2018-07-06 Thread Rick Macklem
Author: rmacklem Date: Fri Jul 6 19:18:45 2018 New Revision: 336041 URL: https://svnweb.freebsd.org/changeset/base/336041 Log: Change the pNFS server so that it does not disable a mirrored DS for an NFSERR_STALE error reported via a LayoutReturn. The current FreeBSD client can generate

svn commit: r336038 - in head/sys: kern sys

2018-07-06 Thread Jamie Gritton
Author: jamie Date: Fri Jul 6 18:50:22 2018 New Revision: 336038 URL: https://svnweb.freebsd.org/changeset/base/336038 Log: Change prison_add_vfs() to the more generic prison_add_allow(), which can add any dynamic allow.* or allow.*.* parameter. Also keep prison_add_vfs() as a wrapper.

Re: svn commit: r336025 - in head/sys: amd64/include i386/include

2018-07-06 Thread Rodney W. Grimes
> On Fri, Jul 6, 2018, 12:27 PM Rodney W. Grimes < > free...@pdx.rh.cn85.dnsmgr.net> wrote: > > > > On Fri, Jul 6, 2018 at 9:52 AM, Rodney W. Grimes < > > > free...@pdx.rh.cn85.dnsmgr.net> wrote: > > > > > > > > On Fri, Jul 6, 2018 at 9:32 AM, Rodney W. Grimes < > > > > >

Re: svn commit: r336025 - in head/sys: amd64/include i386/include

2018-07-06 Thread Warner Losh
On Fri, Jul 6, 2018, 12:27 PM Rodney W. Grimes < free...@pdx.rh.cn85.dnsmgr.net> wrote: > > On Fri, Jul 6, 2018 at 9:52 AM, Rodney W. Grimes < > > free...@pdx.rh.cn85.dnsmgr.net> wrote: > > > > > > On Fri, Jul 6, 2018 at 9:32 AM, Rodney W. Grimes < > > > > free...@pdx.rh.cn85.dnsmgr.net> wrote: >

Re: svn commit: r336025 - in head/sys: amd64/include i386/include

2018-07-06 Thread Bruce Evans
On Fri, 6 Jul 2018, John Baldwin wrote: On 7/6/18 8:52 AM, Rodney W. Grimes wrote: ... Trivial to fix this with +#if defined(SMP) || !defined(_KERNEL) || defined(KLD_MODULE) || !defined(KLD_UP_MODULES) This is not worth it. Note that we already use LOCK always in userland which is probably

svn commit: r336037 - head/sys/dev/psci

2018-07-06 Thread Emmanuel Vadot
Author: manu Date: Fri Jul 6 17:39:48 2018 New Revision: 336037 URL: https://svnweb.freebsd.org/changeset/base/336037 Log: psci: Add \n at the end of printf Add a \n at the end of the printf if no PSCI function was found otherwise it mess up the console log. Modified:

Re: svn commit: r336025 - in head/sys: amd64/include i386/include

2018-07-06 Thread Rodney W. Grimes
> On Fri, Jul 6, 2018 at 9:52 AM, Rodney W. Grimes < > free...@pdx.rh.cn85.dnsmgr.net> wrote: > > > > On Fri, Jul 6, 2018 at 9:32 AM, Rodney W. Grimes < > > > free...@pdx.rh.cn85.dnsmgr.net> wrote: > > > > > > > > Author: hselasky > > > > > Date: Fri Jul 6 10:13:42 2018 > > > > > New Revision:

Re: svn commit: r336025 - in head/sys: amd64/include i386/include

2018-07-06 Thread Rodney W. Grimes
> On 7/6/18 8:52 AM, Rodney W. Grimes wrote: > >> On Fri, Jul 6, 2018 at 9:32 AM, Rodney W. Grimes < > >> free...@pdx.rh.cn85.dnsmgr.net> wrote: > >> > Author: hselasky > Date: Fri Jul 6 10:13:42 2018 > New Revision: 336025 > URL:

svn commit: r336036 - head/sys/kern

2018-07-06 Thread Kyle Evans
Author: kevans Date: Fri Jul 6 16:51:35 2018 New Revision: 336036 URL: https://svnweb.freebsd.org/changeset/base/336036 Log: kern_environment: Fix SYSINIT ordering The dynamic environment was being initialized at SI_SUB_KMEM, SI_ORDER_ANY. I added the hint-merging at SI_SUB_KMEM,

Re: svn commit: r336025 - in head/sys: amd64/include i386/include

2018-07-06 Thread Warner Losh
On Fri, Jul 6, 2018 at 9:52 AM, Rodney W. Grimes < free...@pdx.rh.cn85.dnsmgr.net> wrote: > > On Fri, Jul 6, 2018 at 9:32 AM, Rodney W. Grimes < > > free...@pdx.rh.cn85.dnsmgr.net> wrote: > > > > > > Author: hselasky > > > > Date: Fri Jul 6 10:13:42 2018 > > > > New Revision: 336025 > > > > URL:

Re: svn commit: r336025 - in head/sys: amd64/include i386/include

2018-07-06 Thread John Baldwin
On 7/6/18 8:52 AM, Rodney W. Grimes wrote: >> On Fri, Jul 6, 2018 at 9:32 AM, Rodney W. Grimes < >> free...@pdx.rh.cn85.dnsmgr.net> wrote: >> Author: hselasky Date: Fri Jul 6 10:13:42 2018 New Revision: 336025 URL: https://svnweb.freebsd.org/changeset/base/336025

Re: svn commit: r336027 - head/gnu/usr.bin/binutils/libbfd

2018-07-06 Thread John Baldwin
On 7/6/18 4:50 AM, Andrew Turner wrote: > Author: andrew > Date: Fri Jul 6 11:50:59 2018 > New Revision: 336027 > URL: https://svnweb.freebsd.org/changeset/base/336027 > > Log: > Teach binutils that arm64 is a 64bit architecture. This is needed to cross > build from arm64 to other

Re: svn commit: r336023 - in head/sys: kern netinet

2018-07-06 Thread John Baldwin
On 7/6/18 3:03 AM, Brooks Davis wrote: > Author: brooks > Date: Fri Jul 6 10:03:33 2018 > New Revision: 336023 > URL: https://svnweb.freebsd.org/changeset/base/336023 > > Log: > Correct breakage on 32-bit platforms from r335979. Do we still need the kvaddr_t casts after the uintptr_t cast?

svn commit: r336035 - head/usr.bin/cpuset

2018-07-06 Thread Jamie Gritton
Author: jamie Date: Fri Jul 6 16:23:30 2018 New Revision: 336035 URL: https://svnweb.freebsd.org/changeset/base/336035 Log: Missed a bit of doc change from r335921. PR: 229266 Modified: head/usr.bin/cpuset/cpuset.1 Modified: head/usr.bin/cpuset/cpuset.1

svn commit: r336034 - in head: share/misc usr.bin/calendar/calendars

2018-07-06 Thread Ben Widawsky
Author: bwidawsk Date: Fri Jul 6 16:22:26 2018 New Revision: 336034 URL: https://svnweb.freebsd.org/changeset/base/336034 Log: Adding myself to committers-src.dot and calendar.freebsd Approved by: emaste (mentor) Differential Revision: https://reviews.freebsd.org/D16154 Modified:

Re: svn commit: r336025 - in head/sys: amd64/include i386/include

2018-07-06 Thread Rodney W. Grimes
> On Fri, Jul 6, 2018 at 9:32 AM, Rodney W. Grimes < > free...@pdx.rh.cn85.dnsmgr.net> wrote: > > > > Author: hselasky > > > Date: Fri Jul 6 10:13:42 2018 > > > New Revision: 336025 > > > URL: https://svnweb.freebsd.org/changeset/base/336025 > > > > > > Log: > > > Make sure kernel modules

Re: svn commit: r336025 - in head/sys: amd64/include i386/include

2018-07-06 Thread Warner Losh
On Fri, Jul 6, 2018 at 9:32 AM, Rodney W. Grimes < free...@pdx.rh.cn85.dnsmgr.net> wrote: > > Author: hselasky > > Date: Fri Jul 6 10:13:42 2018 > > New Revision: 336025 > > URL: https://svnweb.freebsd.org/changeset/base/336025 > > > > Log: > > Make sure kernel modules built by default are

Re: svn commit: r336025 - in head/sys: amd64/include i386/include

2018-07-06 Thread Rodney W. Grimes
> Author: hselasky > Date: Fri Jul 6 10:13:42 2018 > New Revision: 336025 > URL: https://svnweb.freebsd.org/changeset/base/336025 > > Log: > Make sure kernel modules built by default are portable between UP and > SMP systems by extending defined(SMP) to include defined(KLD_MODULE). > >

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

2018-07-06 Thread Sean Bruno
On 07/06/18 08:49, Ian Lepore wrote: > On Fri, 2018-07-06 at 13:22 +, Sean Bruno wrote: >> Author: sbruno >> Date: Fri Jul  6 13:22:44 2018 >> New Revision: 336031 >> URL: https://svnweb.freebsd.org/changeset/base/336031 >> >> Log: >>   r336028 changed next_msg to a char * from char [] of

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

2018-07-06 Thread Ian Lepore
On Fri, 2018-07-06 at 13:22 +, Sean Bruno wrote: > Author: sbruno > Date: Fri Jul  6 13:22:44 2018 > New Revision: 336031 > URL: https://svnweb.freebsd.org/changeset/base/336031 > > Log: >   r336028 changed next_msg to a char * from char [] of fixed size.  Change >   2nd argument of

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

2018-07-06 Thread Konstantin Belousov
On Fri, Jul 06, 2018 at 01:22:44PM +, Sean Bruno wrote: > Author: sbruno > Date: Fri Jul 6 13:22:44 2018 > New Revision: 336031 > URL: https://svnweb.freebsd.org/changeset/base/336031 > > Log: > r336028 changed next_msg to a char * from char [] of fixed size. Change > 2nd argument of

svn commit: r336033 - head/sys/netinet

2018-07-06 Thread Brooks Davis
Author: brooks Date: Fri Jul 6 13:34:45 2018 New Revision: 336033 URL: https://svnweb.freebsd.org/changeset/base/336033 Log: One more 32-bit fix for r335979. Reported by: tuexen Modified: head/sys/netinet/sctp_sysctl.c Modified: head/sys/netinet/sctp_sysctl.c

svn commit: r336032 - head/sys/mips/conf

2018-07-06 Thread Sean Bruno
Author: sbruno Date: Fri Jul 6 13:31:06 2018 New Revision: 336032 URL: https://svnweb.freebsd.org/changeset/base/336032 Log: Remove duplicate configuration values as they are already defined in std.AR_MIPS_BASE Modified: head/sys/mips/conf/DIR-825B1 Modified: head/sys/mips/conf/DIR-825B1

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

2018-07-06 Thread Michael Tuexen
> On 5. Jul 2018, at 15:13, Brooks Davis wrote: > > Author: brooks > Date: Thu Jul 5 13:13:48 2018 > New Revision: 335979 > URL: https://svnweb.freebsd.org/changeset/base/335979 > > Log: > Make struct xinpcb and friends word-size independent. > > Replace size_t members with ksize_t

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

2018-07-06 Thread Sean Bruno
Author: sbruno Date: Fri Jul 6 13:22:44 2018 New Revision: 336031 URL: https://svnweb.freebsd.org/changeset/base/336031 Log: r336028 changed next_msg to a char * from char [] of fixed size. Change 2nd argument of vsnprintf() to get the strlen of next_msg so that the appropriate size is

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

2018-07-06 Thread 後藤大地 via svn-src-head
Surely. I think your advice is appropriate. Could you please commit? > 2018/07/06 22:04、Sean Bruno のメール: > > > > On 07/06/18 06:07, Daichi GOTO wrote: >> -static char next_msg[MAX_COLS + 5]; >> +static char *next_msg = NULL; >> static int msglen = 0; >> /* Invariant: msglen is always the

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

2018-07-06 Thread Sean Bruno
On 07/06/18 06:07, Daichi GOTO wrote: > -static char next_msg[MAX_COLS + 5]; > +static char *next_msg = NULL; > static int msglen = 0; > /* Invariant: msglen is always the length of the message currently displayed > on the screen (even when next_msg doesn't contain that message). */ gcc

svn commit: r336030 - head/sys/vm

2018-07-06 Thread Konstantin Belousov
Author: kib Date: Fri Jul 6 12:44:48 2018 New Revision: 336030 URL: https://svnweb.freebsd.org/changeset/base/336030 Log: Save a call to pmap_remove() if entry cannot have any pages mapped. Due to the way rtld creates mappings for the shared objects, each dso causes unmap of at least

Re: svn commit: r336026 - in head: lib/libnv usr.sbin/config

2018-07-06 Thread Konstantin Belousov
On Fri, Jul 06, 2018 at 11:23:14AM +, Kyle Evans wrote: > Author: kevans > Date: Fri Jul 6 11:23:14 2018 > New Revision: 336026 > URL: https://svnweb.freebsd.org/changeset/base/336026 > > Log: > config(8): Fix broken ABI > > r336019 introduced ${SRCTOP}/sys to the include paths in

svn commit: r336029 - head/sys/vm

2018-07-06 Thread Konstantin Belousov
Author: kib Date: Fri Jul 6 12:37:46 2018 New Revision: 336029 URL: https://svnweb.freebsd.org/changeset/base/336029 Log: Style: no need for braces around single-line then clause. Reviewed by: alc, markj Sponsored by: The FreeBSD Foundation MFC after:3 days Differential

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

2018-07-06 Thread Daichi GOTO
Author: daichi Date: Fri Jul 6 12:07:06 2018 New Revision: 336028 URL: https://svnweb.freebsd.org/changeset/base/336028 Log: Changed to eliminate the upper limit of command length displayed by "-a" and expand to match terminal width Reviewed by: eadler Approved by: gnn (mentor)

svn commit: r336027 - head/gnu/usr.bin/binutils/libbfd

2018-07-06 Thread Andrew Turner
Author: andrew Date: Fri Jul 6 11:50:59 2018 New Revision: 336027 URL: https://svnweb.freebsd.org/changeset/base/336027 Log: Teach binutils that arm64 is a 64bit architecture. This is needed to cross build from arm64 to other architectures that use binutils. Sponsored by: ABT Systems

Re: svn commit: r336019 - in head: . usr.sbin/config

2018-07-06 Thread Kyle Evans
On Fri, Jul 6, 2018 at 1:08 AM, Bryan Drewery wrote: > On 7/5/18 6:53 PM, Kyle Evans wrote: >> On Thu, Jul 5, 2018 at 8:11 PM, Kyle Evans wrote: >>> Author: kevans >>> Date: Fri Jul 6 01:11:06 2018 >>> New Revision: 336019 >>> URL: https://svnweb.freebsd.org/changeset/base/336019 >>> >>> Log:

svn commit: r336026 - in head: lib/libnv usr.sbin/config

2018-07-06 Thread Kyle Evans
Author: kevans Date: Fri Jul 6 11:23:14 2018 New Revision: 336026 URL: https://svnweb.freebsd.org/changeset/base/336026 Log: config(8): Fix broken ABI r336019 introduced ${SRCTOP}/sys to the include paths in order to pull in a new sys/{c,}nv.h. This is wrong, because the build tree's

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

2018-07-06 Thread Hans Petter Selasky
Author: hselasky Date: Fri Jul 6 10:13:42 2018 New Revision: 336025 URL: https://svnweb.freebsd.org/changeset/base/336025 Log: Make sure kernel modules built by default are portable between UP and SMP systems by extending defined(SMP) to include defined(KLD_MODULE). This is a regression

svn commit: r336024 - head/sys/amd64/include

2018-07-06 Thread Matt Macy
Author: mmacy Date: Fri Jul 6 10:10:00 2018 New Revision: 336024 URL: https://svnweb.freebsd.org/changeset/base/336024 Log: counter(9): unbreak amd64 following r336020 Apply temporary fix to counter until daylight hours. The fact that the assembly for counter_u64_add relied on the

svn commit: r336023 - in head/sys: kern netinet

2018-07-06 Thread Brooks Davis
Author: brooks Date: Fri Jul 6 10:03:33 2018 New Revision: 336023 URL: https://svnweb.freebsd.org/changeset/base/336023 Log: Correct breakage on 32-bit platforms from r335979. Modified: head/sys/kern/kern_descrip.c head/sys/kern/uipc_socket.c head/sys/kern/uipc_usrreq.c

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

2018-07-06 Thread Brooks Davis
Sorry about that. I'm working on it. -- brooks On Thu, Jul 05, 2018 at 06:45:33PM -0700, Matthew Macy wrote: > 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, > >> > >>

Re: svn commit: r336017 - in head: include/rpcsvc lib/libutil libexec/rpc.rquotad sys/cddl/contrib/opensolaris/uts/common/fs/zfs usr.bin/quota

2018-07-06 Thread Toomas Soome via svn-src-head
Hi! Unfortunately this patch is not quite correct regarding how you define the RPC interfaces. The versioning in RPC is to specify the interface, much like versioning in shared library. If you have RPC program version 1, exposing functions get_quota() and get_active_quota(), and you want to

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

2018-07-06 Thread Matt Macy
Author: mmacy Date: Fri Jul 6 06:21:24 2018 New Revision: 336022 URL: https://svnweb.freebsd.org/changeset/base/336022 Log: hwpmc: remove hacks to work around incorrect pc_domain Modified: head/sys/dev/hwpmc/hwpmc_logging.c Modified: head/sys/dev/hwpmc/hwpmc_logging.c

svn commit: r336021 - in head/sys: kern sys

2018-07-06 Thread Matt Macy
Author: mmacy Date: Fri Jul 6 06:20:03 2018 New Revision: 336021 URL: https://svnweb.freebsd.org/changeset/base/336021 Log: epoch(9): simplify initialization replace manual NUMA aware allocation with a pcpu zone Modified: head/sys/kern/subr_epoch.c head/sys/sys/epoch_private.h

Re: svn commit: r336019 - in head: . usr.sbin/config

2018-07-06 Thread Bryan Drewery
On 7/5/18 6:53 PM, Kyle Evans wrote: > On Thu, Jul 5, 2018 at 8:11 PM, Kyle Evans wrote: >> Author: kevans >> Date: Fri Jul 6 01:11:06 2018 >> New Revision: 336019 >> URL: https://svnweb.freebsd.org/changeset/base/336019 >> >> Log: >> config(8): De-dupe hint/env vars within a single file >> >>