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

2018-05-25 Thread Eitan Adler
On 20 May 2018 at 23:39, Alexey Dokuchaev wrote: > On Mon, May 21, 2018 at 10:32:30AM +1000, Bruce Evans wrote: >> ... >> > if (smpmode && namelength > SMPUNAMELEN) >> > namelength = SMPUNAMELEN; >> > else if (namelength > UPUNAMELEN) >> ... what about

svn commit: r334236 - head/sbin/kldstat

2018-05-25 Thread Eitan Adler
Author: eadler Date: Sat May 26 05:15:07 2018 New Revision: 334236 URL: https://svnweb.freebsd.org/changeset/base/334236 Log: kldstat: align "Size" to the right This change also makes alignment and spacing an explicit number rather than a bunch of spaces. Reviewed by: mmacy

svn commit: r334235 - in head/sys/powerpc: aim include

2018-05-25 Thread Justin Hibbits
Author: jhibbits Date: Sat May 26 04:33:19 2018 New Revision: 334235 URL: https://svnweb.freebsd.org/changeset/base/334235 Log: On POWER9 clear the HID0_RADIX before enabling the page tables POWER9 supports Radix page tables in addition to Hashed page tables. When Radix page tables are

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

2018-05-25 Thread Justin Hibbits
Author: jhibbits Date: Sat May 26 04:24:25 2018 New Revision: 334234 URL: https://svnweb.freebsd.org/changeset/base/334234 Log: Fix a typo missed in r334232 Modified: head/sys/powerpc/powernv/opal_sensor.c Modified: head/sys/powerpc/powernv/opal_sensor.c

svn commit: r334233 - head/sys/vm

2018-05-25 Thread Alan Cox
Author: alc Date: Sat May 26 02:59:34 2018 New Revision: 334233 URL: https://svnweb.freebsd.org/changeset/base/334233 Log: Use pmap_enter(..., psind=1) in vm_fault_populate() on amd64. While superpage mappings were already being created by automatic promotion in vm_fault_populate(), this

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

2018-05-25 Thread Justin Hibbits
Author: jhibbits Date: Sat May 26 02:45:41 2018 New Revision: 334232 URL: https://svnweb.freebsd.org/changeset/base/334232 Log: Correct a typo for opal temperature sensor type constant Modified: head/sys/powerpc/powernv/opal_sensor.c Modified: head/sys/powerpc/powernv/opal_sensor.c

Re: Deorbiting i386

2018-05-25 Thread Maxim Sobolev
That again is very subjective view, David. Sorry. Arm32 is kinda kind of the hill these days in the low-power/low cost space, but arm as a company is much more interested it seems in going into server / mobile device space rather than solidifying it's current de-facto kingdom. Those platforms

svn commit: r334231 - head/sys/net

2018-05-25 Thread Eric Joyner
Author: erj Date: Sat May 26 00:46:08 2018 New Revision: 334231 URL: https://svnweb.freebsd.org/changeset/base/334231 Log: iflib: Add new shared flag: IFLIB_ADMIN_ALWAYS_RUN ixl(4)'s nvmupdate utility expects the nvmupdate process to run while the interface is down; these nvm update

svn commit: r334230 - head/sys/powerpc/aim

2018-05-25 Thread Justin Hibbits
Author: jhibbits Date: Sat May 26 00:41:50 2018 New Revision: 334230 URL: https://svnweb.freebsd.org/changeset/base/334230 Log: Only crop the VPN on POWER4 and derivatives for TLBIE operations Summary: PowerISA 2.03 and later require bits 14:65 in the RB register argument, which is the

svn commit: r334229 - stable/11/sys/cam

2018-05-25 Thread Sean Bruno
Author: sbruno Date: Fri May 25 23:18:06 2018 New Revision: 334229 URL: https://svnweb.freebsd.org/changeset/base/334229 Log: MFC r323829 cam iosched: Add a handler for the quanta sysctl to enforce valid values MFC r323831 cam iosched: Schedule

Re: svn commit: r334221 - head/etc

2018-05-25 Thread Mateusz Piotrowski
On Fri, 25 May 2018 22:56:30 +0200 Mateusz Piotrowski <0...@freebsd.org> wrote: >On Fri, 25 May 2018 19:36:26 + (UTC) >Mark Felder wrote: > >>Author: feld (ports committer) >>Date: Fri May 25 19:36:26 2018 >>New Revision: 334221 >>URL:

svn commit: r334228 - head/lib/libpmcstat

2018-05-25 Thread Bryan Drewery
Author: bdrewery Date: Fri May 25 21:46:53 2018 New Revision: 334228 URL: https://svnweb.freebsd.org/changeset/base/334228 Log: META_MODE: Fix trying to rebuild jevents due to missing .meta file. The tool is built separately in buildworld in a subdirectory rather than how other

svn commit: r334227 - head/lib/libpmcstat

2018-05-25 Thread Bryan Drewery
Author: bdrewery Date: Fri May 25 21:46:49 2018 New Revision: 334227 URL: https://svnweb.freebsd.org/changeset/base/334227 Log: Use proper BTOOLSPATH for build-tools path. Modified: head/lib/libpmcstat/Makefile Modified: head/lib/libpmcstat/Makefile

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

2018-05-25 Thread Bryan Drewery
Author: bdrewery Date: Fri May 25 21:46:07 2018 New Revision: 334226 URL: https://svnweb.freebsd.org/changeset/base/334226 Log: Cleanup style Modified: head/lib/libpmcstat/pmu-events/Makefile Modified: head/lib/libpmcstat/pmu-events/Makefile

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

2018-05-25 Thread Ian Lepore
On Fri, 2018-05-25 at 14:10 -0700, Bryan Drewery wrote: > On 5/9/2018 6:44 AM, Brad Davis wrote: > > > > Author: brd > > Date: Wed May  9 13:44:54 2018 > > New Revision: 333407 > > URL: https://svnweb.freebsd.org/changeset/base/333407 > > > > Log: > >   Enable directory creation with FILESDIR. >

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

2018-05-25 Thread Brad Davis
On Fri, May 25, 2018, at 3:10 PM, Bryan Drewery wrote: > On 5/9/2018 6:44 AM, Brad Davis wrote: > > Author: brd > > Date: Wed May 9 13:44:54 2018 > > New Revision: 333407 > > URL: https://svnweb.freebsd.org/changeset/base/333407 > > > > Log: > > Enable directory creation with FILESDIR. > >

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

2018-05-25 Thread Bryan Drewery
On 5/9/2018 6:44 AM, Brad Davis wrote: > Author: brd > Date: Wed May 9 13:44:54 2018 > New Revision: 333407 > URL: https://svnweb.freebsd.org/changeset/base/333407 > > Log: > Enable directory creation with FILESDIR. > > This is part of packaging base work. > > Reviewed by:

Re: svn commit: r334221 - head/etc

2018-05-25 Thread Mateusz Piotrowski
On Fri, 25 May 2018 19:36:26 + (UTC) Mark Felder wrote: >Author: feld (ports committer) >Date: Fri May 25 19:36:26 2018 >New Revision: 334221 >URL: https://svnweb.freebsd.org/changeset/base/334221 > >Log: > rc.subr: Support loading environmental variables from a file > >

svn commit: r334225 - head

2018-05-25 Thread Brooks Davis
-.for f in exect fstat fstatat fstatfs getdirentries getfsstat setlogin shmat sigreturn statfs +# 20180525 r334224 vadvise +.for f in exect fstat fstatat fstatfs getdirentries getfsstat setlogin shmat sigreturn statfs vadvise .if exists(${OBJTOP}/lib/libc/.depend.${f}.o) @if egrep -qw '${f

svn commit: r334224 - in head/sys: compat/freebsd32 kern sys

2018-05-25 Thread Brooks Davis
Author: brooks Date: Fri May 25 20:41:26 2018 New Revision: 334224 URL: https://svnweb.freebsd.org/changeset/base/334224 Log: Regen after r334223: make vadvise compat freebsd11. Modified: head/sys/compat/freebsd32/freebsd32_syscall.h head/sys/compat/freebsd32/freebsd32_syscalls.c

svn commit: r334223 - in head: lib/libc/sys sys/compat/freebsd32 sys/kern sys/vm

2018-05-25 Thread Brooks Davis
Author: brooks Date: Fri May 25 20:40:23 2018 New Revision: 334223 URL: https://svnweb.freebsd.org/changeset/base/334223 Log: Make vadvise compat freebsd11. The vadvise syscall (aka ovadvise) is undocumented and has always been implmented as returning EINVAL. Put the syscall under

Re: svn commit: r334199 - head/usr.sbin/bhyve

2018-05-25 Thread Rodney W. Grimes
> On Sat, May 26, 2018, 4:22 AM Rodney W. Grimes < > free...@pdx.rh.cn85.dnsmgr.net> wrote: > > > > On Sat, May 26, 2018, 4:09 AM Warner Losh wrote: > > > > > > > > > > > > > > > On Fri, May 25, 2018 at 2:02 PM, Ed Maste wrote: > > > > > > > >> On 25 May

Re: svn commit: r334199 - head/usr.sbin/bhyve

2018-05-25 Thread Marcelo Araujo
On Sat, May 26, 2018, 4:22 AM Rodney W. Grimes < free...@pdx.rh.cn85.dnsmgr.net> wrote: > > On Sat, May 26, 2018, 4:09 AM Warner Losh wrote: > > > > > > > > > > > On Fri, May 25, 2018 at 2:02 PM, Ed Maste wrote: > > > > > >> On 25 May 2018 at 14:26, Marcelo

Re: svn commit: r334199 - head/usr.sbin/bhyve

2018-05-25 Thread Rodney W. Grimes
> On Sat, May 26, 2018, 4:09 AM Warner Losh wrote: > > > > > > > On Fri, May 25, 2018 at 2:02 PM, Ed Maste wrote: > > > >> On 25 May 2018 at 14:26, Marcelo Araujo wrote: > >> > > >> >> The fact that we don't do NDEBUG builds

Re: svn commit: r334199 - head/usr.sbin/bhyve

2018-05-25 Thread Marcelo Araujo
On Sat, May 26, 2018, 4:09 AM Warner Losh wrote: > > > On Fri, May 25, 2018 at 2:02 PM, Ed Maste wrote: > >> On 25 May 2018 at 14:26, Marcelo Araujo wrote: >> > >> >> The fact that we don't do NDEBUG builds normally does not allow

Re: svn commit: r334199 - head/usr.sbin/bhyve

2018-05-25 Thread Edward Tomasz Napierała
On 0526T0226, Marcelo Araujo wrote: > 2018-05-26 2:21 GMT+08:00 Brooks Davis : [..] > > The correct code here would be one of: > > > > str = strdup(opt); > > if (str == NULL) > > goto out; > > > > No, it is not the correct code! If we go out and free(str) we have

Re: svn commit: r334199 - head/usr.sbin/bhyve

2018-05-25 Thread Warner Losh
On Fri, May 25, 2018 at 2:02 PM, Ed Maste wrote: > On 25 May 2018 at 14:26, Marcelo Araujo wrote: > > > >> The fact that we don't do NDEBUG builds normally does not allow us to > >> ignore that it exists. It's perfectly reasonable for a user to

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-25 Thread Bryan Drewery
On 5/23/2018 9:30 PM, 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 in events based on json description > > Added: > head/lib/libpmcstat/libpmcstat_pmu_util.c

Re: svn commit: r334199 - head/usr.sbin/bhyve

2018-05-25 Thread Ed Maste
On 25 May 2018 at 14:26, Marcelo Araujo wrote: > >> The fact that we don't do NDEBUG builds normally does not allow us to >> ignore that it exists. It's perfectly reasonable for a user to build >> with CFLAGS+=NDEBUG. That need to work. If code is going to fail to >>

Re: svn commit: r334199 - head/usr.sbin/bhyve

2018-05-25 Thread Ed Maste
On 25 May 2018 at 14:29, Marcelo Araujo wrote: > > One more thing, exit with err(1) is wrong, 1 is EPERM and should be 12 > ENOMEN! :D No, please see the err(3) manpage - err's first argument is the exit code for the program, not an errno. (err suggests using exit codes

svn commit: r334222 - head/sys/net

2018-05-25 Thread Matt Macy
Author: mmacy Date: Fri May 25 19:48:26 2018 New Revision: 334222 URL: https://svnweb.freebsd.org/changeset/base/334222 Log: rtrequest1_fib: we need to always bump the ifaddr refcount when we take a reference from an rtentry. r334118 introduced a case when this was not done. While we're

Re: svn commit: r334216 - head/usr.sbin/bhyve

2018-05-25 Thread Ed Maste
On 25 May 2018 at 14:54, Marcelo Araujo wrote: > Author: araujo > Date: Fri May 25 18:54:40 2018 > New Revision: 334216 > URL: https://svnweb.freebsd.org/changeset/base/334216 > > Log: > After a long discussion about assert(3), we gonna use a HardenedBSD > approach to chek

svn commit: r334221 - head/etc

2018-05-25 Thread Mark Felder
Author: feld (ports committer) Date: Fri May 25 19:36:26 2018 New Revision: 334221 URL: https://svnweb.freebsd.org/changeset/base/334221 Log: rc.subr: Support loading environmental variables from a file The current support for setting environment via foo_env="" in rc.conf is not scalable

Re: svn commit: r334216 - head/usr.sbin/bhyve

2018-05-25 Thread Shawn Webb
On Fri, May 25, 2018 at 10:08:46PM +0300, Konstantin Belousov wrote: > On Fri, May 25, 2018 at 06:54:40PM +, Marcelo Araujo wrote: > > Author: araujo > > Date: Fri May 25 18:54:40 2018 > > New Revision: 334216 > > URL: https://svnweb.freebsd.org/changeset/base/334216 > > > > Log: > > After

svn commit: r334220 - stable/11/sys/dev/cpuctl

2018-05-25 Thread Mark Johnston
Author: markj Date: Fri May 25 19:16:05 2018 New Revision: 334220 URL: https://svnweb.freebsd.org/changeset/base/334220 Log: MFC r334050, r334051: Flush caches before initiating a microcode update on Intel CPUs. Approved by: re (gjb, kib) Modified: stable/11/sys/dev/cpuctl/cpuctl.c

Re: svn commit: r334216 - head/usr.sbin/bhyve

2018-05-25 Thread Marcelo Araujo
Fixed at r334219. Thanks. 2018-05-26 3:08 GMT+08:00 Konstantin Belousov : > On Fri, May 25, 2018 at 06:54:40PM +, Marcelo Araujo wrote: > > Author: araujo > > Date: Fri May 25 18:54:40 2018 > > New Revision: 334216 > > URL:

svn commit: r334219 - head/usr.sbin/bhyve

2018-05-25 Thread Marcelo Araujo
Author: araujo Date: Fri May 25 19:12:30 2018 New Revision: 334219 URL: https://svnweb.freebsd.org/changeset/base/334219 Log: We don't need check if str is NULL as free(3) will handle NULL argument. Reported by: kib@ Modified: head/usr.sbin/bhyve/bhyverun.c Modified:

Re: svn commit: r334216 - head/usr.sbin/bhyve

2018-05-25 Thread Konstantin Belousov
On Fri, May 25, 2018 at 06:54:40PM +, Marcelo Araujo wrote: > Author: araujo > Date: Fri May 25 18:54:40 2018 > New Revision: 334216 > URL: https://svnweb.freebsd.org/changeset/base/334216 > > Log: > After a long discussion about assert(3), we gonna use a HardenedBSD > approach to chek

Re: svn commit: r334199 - head/usr.sbin/bhyve

2018-05-25 Thread Marcelo Araujo
2018-05-26 3:01 GMT+08:00 Shawn Webb : > On Sat, May 26, 2018 at 02:57:29AM +0800, Marcelo Araujo wrote: > > Thanks Shawn, > > > > I think there are plenty of places to fix this case! Thanks for the extra > > work :D. > > Any time. I'm glad to help. If you'd like, I

Re: svn commit: r334199 - head/usr.sbin/bhyve

2018-05-25 Thread Shawn Webb
On Sat, May 26, 2018 at 02:57:29AM +0800, Marcelo Araujo wrote: > Thanks Shawn, > > I think there are plenty of places to fix this case! Thanks for the extra > work :D. Any time. I'm glad to help. If you'd like, I might have time on Sunday to audit bhyve's code to find and fix more of these

svn commit: r334218 - head/sys/dev/mmc/host

2018-05-25 Thread Ilya Bakulin
Author: kibab Date: Fri May 25 19:00:28 2018 New Revision: 334218 URL: https://svnweb.freebsd.org/changeset/base/334218 Log: Fix building GENERIC-MMCCAM on arm64 Since GENERIC includes quite a few drivers now, all MMC drivers should have appropriate MMCCAM-related ifdefs and include

Re: svn commit: r334199 - head/usr.sbin/bhyve

2018-05-25 Thread Marcelo Araujo
Thanks Shawn, I think there are plenty of places to fix this case! Thanks for the extra work :D. 2018-05-26 2:34 GMT+08:00 Shawn Webb : > On Sat, May 26, 2018 at 02:26:33AM +0800, Marcelo Araujo wrote: > > 2018-05-26 2:21 GMT+08:00 Brooks Davis :

svn commit: r334217 - head/sys/dev/cxgbe

2018-05-25 Thread Navdeep Parhar
Author: np Date: Fri May 25 18:57:41 2018 New Revision: 334217 URL: https://svnweb.freebsd.org/changeset/base/334217 Log: cxgbe(4): Suppress a warning about code that is used only with options RATELIMIT. Reported by: mmacy@ Modified: head/sys/dev/cxgbe/t4_sge.c Modified:

svn commit: r334216 - head/usr.sbin/bhyve

2018-05-25 Thread Marcelo Araujo
Author: araujo Date: Fri May 25 18:54:40 2018 New Revision: 334216 URL: https://svnweb.freebsd.org/changeset/base/334216 Log: After a long discussion about assert(3), we gonna use a HardenedBSD approach to chek strdup(3) memory allocation. Submitted by: Shaw Webb

Re: svn commit: r334199 - head/usr.sbin/bhyve

2018-05-25 Thread Rodney W. Grimes
-- Start of PGP signed section. > On Sat, May 26, 2018 at 02:26:33AM +0800, Marcelo Araujo wrote: > > 2018-05-26 2:21 GMT+08:00 Brooks Davis : > > > > > On Sat, May 26, 2018 at 01:56:28AM +0800, Marcelo Araujo wrote: > > > > 2018-05-26 1:44 GMT+08:00 Brooks Davis

Re: svn commit: r334199 - head/usr.sbin/bhyve

2018-05-25 Thread Shawn Webb
On Sat, May 26, 2018 at 02:26:33AM +0800, Marcelo Araujo wrote: > 2018-05-26 2:21 GMT+08:00 Brooks Davis : > > > On Sat, May 26, 2018 at 01:56:28AM +0800, Marcelo Araujo wrote: > > > 2018-05-26 1:44 GMT+08:00 Brooks Davis : > > > > > > > On Sat, May 26,

Re: svn commit: r334199 - head/usr.sbin/bhyve

2018-05-25 Thread Marcelo Araujo
2018-05-26 2:21 GMT+08:00 Brooks Davis : > On Sat, May 26, 2018 at 01:56:28AM +0800, Marcelo Araujo wrote: > > 2018-05-26 1:44 GMT+08:00 Brooks Davis : > > > > > On Sat, May 26, 2018 at 01:21:33AM +0800, Marcelo Araujo wrote: > > > > On Sat, May 26, 2018,

Re: svn commit: r334199 - head/usr.sbin/bhyve

2018-05-25 Thread Marcelo Araujo
2018-05-26 2:21 GMT+08:00 Brooks Davis : > On Sat, May 26, 2018 at 01:56:28AM +0800, Marcelo Araujo wrote: > > 2018-05-26 1:44 GMT+08:00 Brooks Davis : > > > > > On Sat, May 26, 2018 at 01:21:33AM +0800, Marcelo Araujo wrote: > > > > On Sat, May 26, 2018,

Re: svn commit: r334199 - head/usr.sbin/bhyve

2018-05-25 Thread Brooks Davis
On Sat, May 26, 2018 at 01:56:28AM +0800, Marcelo Araujo wrote: > 2018-05-26 1:44 GMT+08:00 Brooks Davis : > > > On Sat, May 26, 2018 at 01:21:33AM +0800, Marcelo Araujo wrote: > > > On Sat, May 26, 2018, 1:11 AM Eitan Adler wrote: > > > > > > > On 25

svn commit: r334215 - head/usr.sbin/pmcstat

2018-05-25 Thread Sean Bruno
Author: sbruno Date: Fri May 25 18:11:13 2018 New Revision: 334215 URL: https://svnweb.freebsd.org/changeset/base/334215 Log: pmcstat(8) - Document per thread filtering. Submitted by: kbowling Sponsored by: Limelight Networks Differential Revision:

svn commit: r334214 - stable/11/sys/x86/x86

2018-05-25 Thread Konstantin Belousov
Author: kib Date: Fri May 25 18:07:20 2018 New Revision: 334214 URL: https://svnweb.freebsd.org/changeset/base/334214 Log: MFC r334064: Fix UP build. Approved by: re (gjb) Modified: stable/11/sys/x86/x86/cpu_machdep.c Directory Properties: stable/11/ (props changed) Modified:

Re: svn commit: r334199 - head/usr.sbin/bhyve

2018-05-25 Thread Marcelo Araujo
2018-05-26 1:44 GMT+08:00 Brooks Davis : > On Sat, May 26, 2018 at 01:21:33AM +0800, Marcelo Araujo wrote: > > On Sat, May 26, 2018, 1:11 AM Eitan Adler wrote: > > > > > On 25 May 2018 at 08:23, Marcelo Araujo > wrote: > > > > >

Re: svn commit: r334152 - in stable/11/sys: amd64/amd64 amd64/include dev/cpuctl i386/include x86/acpica x86/include x86/x86

2018-05-25 Thread Mike Tancsa
On 5/25/2018 1:47 PM, Konstantin Belousov wrote: >> cpu I586_CPU >> options CPU_GEODE >> ident ALIX_DSK > You do not have the SMP option in the config, right ? Sorry, yes, you are correct. This config is for a single core CPU. I have these 3 commented out as well.

Re: svn commit: r334152 - in stable/11/sys: amd64/amd64 amd64/include dev/cpuctl i386/include x86/acpica x86/include x86/x86

2018-05-25 Thread Konstantin Belousov
On Fri, May 25, 2018 at 01:21:00PM -0400, Mike Tancsa wrote: > On 5/24/2018 9:17 AM, Konstantin Belousov wrote: > > Author: kib > > Date: Thu May 24 13:17:24 2018 > > New Revision: 334152 > > URL: https://svnweb.freebsd.org/changeset/base/334152 > > > > Log: > > MFC r334004: > > Add Intel

Re: svn commit: r334199 - head/usr.sbin/bhyve

2018-05-25 Thread Brooks Davis
On Sat, May 26, 2018 at 01:21:33AM +0800, Marcelo Araujo wrote: > On Sat, May 26, 2018, 1:11 AM Eitan Adler wrote: > > > On 25 May 2018 at 08:23, Marcelo Araujo wrote: > > > > > > > > > On Fri, May 25, 2018, 11:11 PM Brooks Davis

svn commit: r334213 - head/sys/dev/usb/net

2018-05-25 Thread Ed Maste
Author: emaste Date: Fri May 25 17:31:43 2018 New Revision: 334213 URL: https://svnweb.freebsd.org/changeset/base/334213 Log: if_muge: Use lock assertion instead of broken locking in lan78xx_chip_init Previously lan78xx_chip_init locked the driver's mutex if not already locked, but

svn commit: r334212 - head/sys/modules/usb

2018-05-25 Thread Ed Maste
Author: emaste Date: Fri May 25 17:29:29 2018 New Revision: 334212 URL: https://svnweb.freebsd.org/changeset/base/334212 Log: if_muge: connect module to the build Supported Microchip devices: - LAN7515 USB 2 hub and gigabit Ethernet controller w/ PHY - LAN7800 USB 3.0 gigabit Ethernet

Re: svn commit: r334199 - head/usr.sbin/bhyve

2018-05-25 Thread Marcelo Araujo
On Sat, May 26, 2018, 1:11 AM Eitan Adler wrote: > On 25 May 2018 at 08:23, Marcelo Araujo wrote: > > > > > > On Fri, May 25, 2018, 11:11 PM Brooks Davis wrote: > >> > >> On Fri, May 25, 2018 at 02:07:05AM +, Marcelo Araujo

Re: svn commit: r334152 - in stable/11/sys: amd64/amd64 amd64/include dev/cpuctl i386/include x86/acpica x86/include x86/x86

2018-05-25 Thread Mike Tancsa
On 5/24/2018 9:17 AM, Konstantin Belousov wrote: > Author: kib > Date: Thu May 24 13:17:24 2018 > New Revision: 334152 > URL: https://svnweb.freebsd.org/changeset/base/334152 > > Log: > MFC r334004: > Add Intel Spec Store Bypass Disable control. > > This also includes the

Re: svn commit: r334199 - head/usr.sbin/bhyve

2018-05-25 Thread Eitan Adler
On 25 May 2018 at 08:23, Marcelo Araujo wrote: > > > On Fri, May 25, 2018, 11:11 PM Brooks Davis wrote: >> >> On Fri, May 25, 2018 at 02:07:05AM +, Marcelo Araujo wrote: >> > Author: araujo >> > Date: Fri May 25 02:07:05 2018 >> > New Revision:

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: 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 Mark Johnston
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 > URL: https://svnweb.freebsd.org/changeset/base/334118 > > Log: > UDP: further performance improvements on tx > > Cumulative throughput while running 64 >

Re: svn commit: r333388 - in head: . share/man/man4 sys/confsys/dev/nxge sys/modules sys/modules/nxge tools/kerneldoc/subsys tools/toolstools/tools/nxge usr.sbin/bsdconfig/share

2018-05-25 Thread Eugene Grosbein
24.05.2018 3:22, Brooks Davis wrote: >>> Except for old computers and old software that segfaults on 64-bit, how >>> many people still use i386? >>> Full disclosure: I'd like to see i386 deorbited before I retire. >> Plese don't. I routinely use FreeBSD11/i386 for cheap VPS hosts having less >>

svn commit: r334211 - in head/sys/i386: i386 include

2018-05-25 Thread Konstantin Belousov
Author: kib Date: Fri May 25 16:29:22 2018 New Revision: 334211 URL: https://svnweb.freebsd.org/changeset/base/334211 Log: Optimize i386 pmap_extract_and_hold(). In particular, stop using pmap_pte() to read non-promoted pte while walking the page table. pmap_pte() needs to shoot down

svn commit: r334210 - head/sys/i386/i386

2018-05-25 Thread Konstantin Belousov
Author: kib Date: Fri May 25 16:24:20 2018 New Revision: 334210 URL: https://svnweb.freebsd.org/changeset/base/334210 Log: Cleanup. Remove unused instruction and label. Tested by:bde Sponsored by: The FreeBSD Foundation Modified: head/sys/i386/i386/swtch.s Modified:

Re: svn commit: r334199 - head/usr.sbin/bhyve

2018-05-25 Thread Marcelo Araujo
On Fri, May 25, 2018, 11:11 PM Brooks Davis wrote: > On Fri, May 25, 2018 at 02:07:05AM +, Marcelo Araujo wrote: > > Author: araujo > > Date: Fri May 25 02:07:05 2018 > > New Revision: 334199 > > URL: https://svnweb.freebsd.org/changeset/base/334199 > > > > Log: > > Fix

Re: svn commit: r334199 - head/usr.sbin/bhyve

2018-05-25 Thread Marcelo Araujo
On Fri, May 25, 2018, 11:11 PM Brooks Davis wrote: > On Fri, May 25, 2018 at 02:07:05AM +, Marcelo Araujo wrote: > > Author: araujo > > Date: Fri May 25 02:07:05 2018 > > New Revision: 334199 > > URL: https://svnweb.freebsd.org/changeset/base/334199 > > > > Log: > > Fix

Re: svn commit: r334199 - head/usr.sbin/bhyve

2018-05-25 Thread Brooks Davis
On Fri, May 25, 2018 at 02:07:05AM +, Marcelo Araujo wrote: > Author: araujo > Date: Fri May 25 02:07:05 2018 > New Revision: 334199 > URL: https://svnweb.freebsd.org/changeset/base/334199 > > Log: > Fix a memory leak on topology_parse(). > > strdup(3) allocates memory for a copy of

svn commit: r334209 - head/sys/ddb

2018-05-25 Thread Bjoern A. Zeeb
Author: bz Date: Fri May 25 13:59:48 2018 New Revision: 334209 URL: https://svnweb.freebsd.org/changeset/base/334209 Log: Extend show proc with reaper, sigparent, and vmspace information I have regularly needed the last couple of months. Sponsored by: iXsystems, Inc. Modified:

svn commit: r334207 - head/include

2018-05-25 Thread Eitan Adler
Author: eadler Date: Fri May 25 13:40:05 2018 New Revision: 334207 URL: https://svnweb.freebsd.org/changeset/base/334207 Log: Add time2posix and posix2time to time.h These are documented in `time2posix.3` but the symbols are not actually visible. Since these are not POSIX hide them

svn commit: r334208 - head/usr.bin/rctl

2018-05-25 Thread Eitan Adler
Author: eadler Date: Fri May 25 13:40:07 2018 New Revision: 334208 URL: https://svnweb.freebsd.org/changeset/base/334208 Log: rctl: correct use of "vmem" instead of "vmemoryuse" Submitted by: Jamie Landeg-Jones PR: 228482 MFC after:1 month Modified:

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

2018-05-25 Thread Rick Macklem
Andriy Gapon wrote: >On 25/05/2018 04:15, Mateusz Guzik wrote: >> Author: mjg >> Date: Thu May 25 23:58:57 2018 >> New Revision: 334197 >> URL: https://svnweb.freebsd.org/changeset/base/334197 >> >> Log: >> Implement Mostly Exclusive locks. >> >> High lock contention is one of the biggest

svn commit: r334206 - head/share/misc

2018-05-25 Thread Gleb Popov
Author: arrowd (ports committer) Date: Fri May 25 11:49:21 2018 New Revision: 334206 URL: https://svnweb.freebsd.org/changeset/base/334206 Log: Add myself (arrowd) to share/misc/committers-ports.dot Approved by: tcberner (mentor) Modified: head/share/misc/committers-ports.dot

Re: Deorbiting i386

2018-05-25 Thread Maxim Konovalov
On Thu, 24 May 2018, 21:27-0700, Maxim Sobolev wrote: > The idea looks very inmature and short-sighted to me. i386 is here > to stay not as a server/desktop platform but as an embedded/low > power/low cost platform for at least 5-10 years to come. [...] At least I'd include vendors@ to this

Re: Deorbiting i386

2018-05-25 Thread Poul-Henning Kamp
In message <52678325-8265-4333-8c4f-2c8d53c82...@theravensnest.org>, David Chisnall writes: >On 25 May 2018, at 05:27, Maxim Sobolev wrote: >> >> The idea looks very inmature and short-sighted to me. i386 is here to >stay not as a server/desktop platform but as an

Re: Deorbiting i386

2018-05-25 Thread David Chisnall
On 25 May 2018, at 05:27, Maxim Sobolev wrote: > > The idea looks very inmature and short-sighted to me. i386 is here to stay > not as a server/desktop platform but as an embedded/low power/low cost > platform for at least 5-10 years to come. There are plenty of

Re: Deorbiting i386

2018-05-25 Thread Maxim Sobolev
The idea looks very inmature and short-sighted to me. i386 is here to stay not as a server/desktop platform but as an embedded/low power/low cost platform for at least 5-10 years to come. There are plenty of applications in the world that don't need > 3gb of memory space and have no use for extra

Re: Deorbiting i386

2018-05-25 Thread Cy Schubert
In message

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

2018-05-25 Thread Renato Botelho
On 24/05/18 22:52, Brad Davis wrote: > On Thu, May 24, 2018, at 4:16 PM, Bryan Drewery wrote: >> On 5/24/2018 1:41 PM, Renato Botelho wrote: >>> On 09/05/18 10:44, Brad Davis wrote: Author: brd Date: Wed May 9 13:44:54 2018 New Revision: 333407 URL:

svn commit: r334205 - head/sys/xen

2018-05-25 Thread Roger Pau Monné
Author: royger Date: Fri May 25 08:44:00 2018 New Revision: 334205 URL: https://svnweb.freebsd.org/changeset/base/334205 Log: xen: remove dead code from gnttab.h This code was left over when it was imported from Linux. The original committer thought that those functions would be

svn commit: r334204 - in head/sys: amd64/include dev/acpica i386/include x86/x86

2018-05-25 Thread Andriy Gapon
Author: avg Date: Fri May 25 07:33:20 2018 New Revision: 334204 URL: https://svnweb.freebsd.org/changeset/base/334204 Log: re-synchronize TSC-s on SMP systems after resume, if necessary The TSC-s are checked and synchronized only if they were good originally. That is, invariant,

svn commit: r334203 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2018-05-25 Thread Andriy Gapon
Author: avg Date: Fri May 25 07:29:52 2018 New Revision: 334203 URL: https://svnweb.freebsd.org/changeset/base/334203 Log: fix zfs_getpages crash when called from sendfile, followup to r329363 It turns out that sendfile_swapin() has an optimization where it may insert pointers to

Re: svn commit: r334054 - in head: sys/kern sys/netipsec tools/tools/crypto usr.bin/netstat

2018-05-25 Thread Jan Beich
Fabien Thomas writes: > + IPSECSTAT_INC(ips_spdcache_hits); > + > + SPDCACHE_UNLOCK(hashv); > + goto out; > + } > + > + IPSECSTAT_INC(ips_spdcache_misses); Breaks kernel build with "nooption IPSEC": ld: error: undefined symbol:

svn commit: r334202 - stable/10/sys/contrib/ipfilter/netinet

2018-05-25 Thread Cy Schubert
Author: cy Date: Fri May 25 06:26:07 2018 New Revision: 334202 URL: https://svnweb.freebsd.org/changeset/base/334202 Log: MFC r92-r93, r333427 r92: Fix memory leak. (CID 1199373). r93: Document intentional fallthrough. (CID 976535) r333427: Fix style error

svn commit: r334201 - stable/11/sys/contrib/ipfilter/netinet

2018-05-25 Thread Cy Schubert
Author: cy Date: Fri May 25 06:25:33 2018 New Revision: 334201 URL: https://svnweb.freebsd.org/changeset/base/334201 Log: MFC r92-r93, r333427 r92: Fix memory leak. (CID 1199373). r93: Document intentional fallthrough. (CID 976535) r333427: Fix style error

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

2018-05-25 Thread Andriy Gapon
On 25/05/2018 04:15, Mateusz Guzik wrote: > Author: mjg > Date: Thu May 25 23:58:57 2018 > New Revision: 334197 > URL: https://svnweb.freebsd.org/changeset/base/334197 > > Log: > Implement Mostly Exclusive locks. > > High lock contention is one of the biggest scalability bottlenecks on >