Re: svn commit: r340709 - in head/sys: compat/linuxkpi/common/include/linux vm

2018-11-20 Thread Konstantin Belousov
On Tue, Nov 20, 2018 at 04:58:32PM -0800, Ben Widawsky wrote: > On 18-11-20 19:51:48, Mark Johnston wrote: > > On Tue, Nov 20, 2018 at 04:42:39PM -0800, Ben Widawsky wrote: > > > On 18-11-20 19:35:15, Mark Johnston wrote: > > > > On Tue, Nov 20, 2018 at 10:49:19PM +, Ben Widawsky wrote: > > >

svn commit: r340720 - in head/sys: compat/linuxkpi/common/include/linux vm

2018-11-20 Thread Ben Widawsky
Author: bwidawsk Date: Wed Nov 21 04:34:18 2018 New Revision: 340720 URL: https://svnweb.freebsd.org/changeset/base/340720 Log: linuxkpi: Use pageproc instead of vmproc According to markj@: pageproc contains the page daemon and laundry threads, which are responsible for managing the

Re: svn commit: r339898 - head/lib/libc/amd64/sys

2018-11-20 Thread Shawn Webb
On Tue, Oct 30, 2018 at 12:11:30AM +, Konstantin Belousov wrote: > Author: kib > Date: Tue Oct 30 00:11:30 2018 > New Revision: 339898 > URL: https://svnweb.freebsd.org/changeset/base/339898 > > Log: > Convert amd64_get/set_fs/gsbase to ifunc. > > Note that this is the first use of

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

2018-11-20 Thread Marcelo Araujo
Em qua, 21 de nov de 2018 às 08:23, Shawn Webb escreveu: > On Tue, Nov 20, 2018 at 10:21:19PM +, Marcelo Araujo wrote: > > Author: araujo > > Date: Tue Nov 20 22:21:19 2018 > > New Revision: 340707 > > URL: https://svnweb.freebsd.org/changeset/base/340707 > > > > Log: > > Define

Re: svn commit: r340709 - in head/sys: compat/linuxkpi/common/include/linux vm

2018-11-20 Thread Ben Widawsky
On 18-11-21 02:00:57, Oliver Pinter wrote: > > > On Tuesday, November 20, 2018, Ben Widawsky wrote: > > Author: bwidawsk > Date: Tue Nov 20 22:49:19 2018 > New Revision: 340709 > URL: https://svnweb.freebsd.org/changeset/base/340709 > > Log: >   linuxkpi: Add some

Re: svn commit: r340709 - in head/sys: compat/linuxkpi/common/include/linux vm

2018-11-20 Thread Oliver Pinter
On Tuesday, November 20, 2018, Ben Widawsky wrote: > Author: bwidawsk > Date: Tue Nov 20 22:49:19 2018 > New Revision: 340709 > URL: https://svnweb.freebsd.org/changeset/base/340709 > > Log: > linuxkpi: Add some basic swap functions > > These are used by kms-drm to determine various

Re: svn commit: r340709 - in head/sys: compat/linuxkpi/common/include/linux vm

2018-11-20 Thread Ben Widawsky
On 18-11-20 19:51:48, Mark Johnston wrote: > On Tue, Nov 20, 2018 at 04:42:39PM -0800, Ben Widawsky wrote: > > On 18-11-20 19:35:15, Mark Johnston wrote: > > > On Tue, Nov 20, 2018 at 10:49:19PM +, Ben Widawsky wrote: > > > > Author: bwidawsk > > > > Date: Tue Nov 20 22:49:19 2018 > > > > New

Re: svn commit: r340709 - in head/sys: compat/linuxkpi/common/include/linux vm

2018-11-20 Thread Mark Johnston
On Tue, Nov 20, 2018 at 04:42:39PM -0800, Ben Widawsky wrote: > On 18-11-20 19:35:15, Mark Johnston wrote: > > On Tue, Nov 20, 2018 at 10:49:19PM +, Ben Widawsky wrote: > > > Author: bwidawsk > > > Date: Tue Nov 20 22:49:19 2018 > > > New Revision: 340709 > > > URL:

Re: svn commit: r340709 - in head/sys: compat/linuxkpi/common/include/linux vm

2018-11-20 Thread Ben Widawsky
On 18-11-20 19:35:15, Mark Johnston wrote: > On Tue, Nov 20, 2018 at 10:49:19PM +, Ben Widawsky wrote: > > Author: bwidawsk > > Date: Tue Nov 20 22:49:19 2018 > > New Revision: 340709 > > URL: https://svnweb.freebsd.org/changeset/base/340709 > > > > Log: > > linuxkpi: Add some basic swap

Re: svn commit: r340709 - in head/sys: compat/linuxkpi/common/include/linux vm

2018-11-20 Thread Mark Johnston
On Tue, Nov 20, 2018 at 10:49:19PM +, Ben Widawsky wrote: > Author: bwidawsk > Date: Tue Nov 20 22:49:19 2018 > New Revision: 340709 > URL: https://svnweb.freebsd.org/changeset/base/340709 > > Log: > linuxkpi: Add some basic swap functions > > These are used by kms-drm to determine

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

2018-11-20 Thread Shawn Webb
On Tue, Nov 20, 2018 at 10:21:19PM +, Marcelo Araujo wrote: > Author: araujo > Date: Tue Nov 20 22:21:19 2018 > New Revision: 340707 > URL: https://svnweb.freebsd.org/changeset/base/340707 > > Log: > Define AHCI_PORT_IDENT and increase by 1 the VTBLK_BLK_ID_BYTES > to avoid buffer

svn commit: r340717 - head/sbin/ipfw

2018-11-20 Thread Guangyuan Yang
Author: ygy (doc committer) Date: Wed Nov 21 00:22:31 2018 New Revision: 340717 URL: https://svnweb.freebsd.org/changeset/base/340717 Log: Fix incorrect DSCP value range from 0..64 to 0..63. PR: 232786 Submitted by: Sergey Akhmatov Reviewed by: AllanJude MFC after:1

svn commit: r340716 - head/sys/x86/include

2018-11-20 Thread Ben Widawsky
Author: bwidawsk Date: Wed Nov 21 00:21:58 2018 New Revision: 340716 URL: https://svnweb.freebsd.org/changeset/base/340716 Log: Add definitions for Intel Speed Shift These definitions will be used by a driver to implement Hardware P-States (autonomous control of HWP, via Intel Speed

svn commit: r340713 - head

2018-11-20 Thread Jung-uk Kim
== --- head/ObsoleteFiles.inc Tue Nov 20 23:27:15 2018(r340712) +++ head/ObsoleteFiles.inc Wed Nov 21 00:00:00 2018(r340713) @@ -38,14 +38,6 @@ # xargs -n1 | sort | uniq -d; # done -# 20181120: OpenSSL

svn commit: r340712 - head/tools/tools/git

2018-11-20 Thread Ben Widawsky
Author: bwidawsk Date: Tue Nov 20 23:27:15 2018 New Revision: 340712 URL: https://svnweb.freebsd.org/changeset/base/340712 Log: git-svn-init: Add docs to the choice of repos Modified: head/tools/tools/git/git-svn-init Modified: head/tools/tools/git/git-svn-init

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

2018-11-20 Thread Ben Widawsky
Author: bwidawsk Date: Tue Nov 20 23:05:09 2018 New Revision: 340710 URL: https://svnweb.freebsd.org/changeset/base/340710 Log: linuxkpi: Remove duplicated text Somehow this got botched while moving from git -> svn Modified: head/sys/compat/linuxkpi/common/include/linux/swap.h

svn commit: r340709 - in head/sys: compat/linuxkpi/common/include/linux vm

2018-11-20 Thread Ben Widawsky
Author: bwidawsk Date: Tue Nov 20 22:49:19 2018 New Revision: 340709 URL: https://svnweb.freebsd.org/changeset/base/340709 Log: linuxkpi: Add some basic swap functions These are used by kms-drm to determine various heuristics relate memory conditions. The number of free swap pages

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

2018-11-20 Thread Marcelo Araujo
Author: araujo Date: Tue Nov 20 22:21:19 2018 New Revision: 340707 URL: https://svnweb.freebsd.org/changeset/base/340707 Log: Define AHCI_PORT_IDENT and increase by 1 the VTBLK_BLK_ID_BYTES to avoid buffer accessed out of bounds, also switch to snprintf(3). PR: 200859

svn commit: r340706 - head

2018-11-20 Thread Jung-uk Kim
== --- head/ObsoleteFiles.inc Tue Nov 20 21:35:20 2018(r340705) +++ head/ObsoleteFiles.inc Tue Nov 20 22:12:10 2018(r340706) @@ -38,6 +38,14 @@ # xargs -n1 | sort | uniq -d; # done +# 20181120: OpenSSL 1.1.1a +OLD_FILES+=usr/share/openssl

svn commit: r340703 - in head: crypto/openssl crypto/openssl/apps crypto/openssl/crypto crypto/openssl/crypto/async/arch crypto/openssl/crypto/bio crypto/openssl/crypto/bn crypto/openssl/crypto/bn/...

2018-11-20 Thread Jung-uk Kim
Author: jkim Date: Tue Nov 20 21:10:04 2018 New Revision: 340703 URL: https://svnweb.freebsd.org/changeset/base/340703 Log: Merge OpenSSL 1.1.1a. Added: head/crypto/openssl/crypto/getenv.c - copied unchanged from r340690, vendor-crypto/openssl/dist/crypto/getenv.c

svn commit: r340702 - in head/lib/csu: amd64 common i386

2018-11-20 Thread Ed Maste
Author: emaste Date: Tue Nov 20 21:04:20 2018 New Revision: 340702 URL: https://svnweb.freebsd.org/changeset/base/340702 Log: csu: use BSD-1-clause license on csu files Copyright on these files is held by kib@ and/or the Foundation, and both agree to this change. Approved by: kib

svn commit: r340701 - head/lib/csu/common

2018-11-20 Thread Ed Maste
Author: emaste Date: Tue Nov 20 20:59:49 2018 New Revision: 340701 URL: https://svnweb.freebsd.org/changeset/base/340701 Log: Add NT_FREEBSD_FEATURE_CTL ELF note to csu This note will be used to allow binaries to opt out of, or in to, upcoming vulnerability mitigation and other features.

svn commit: r340699 - head/sys/kern

2018-11-20 Thread Mark Johnston
Author: markj Date: Tue Nov 20 20:32:10 2018 New Revision: 340699 URL: https://svnweb.freebsd.org/changeset/base/340699 Log: Clear pad bytes in the struct exported by kern.ntp_pll.gettime. Reported by: Thomas Barabosch, Fraunhofer FKIE MFC after:3 days Sponsored by: The FreeBSD

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

2018-11-20 Thread Mark Millard via svn-src-head
Mateusz Guzik mjg at FreeBSD.org wrote on Tue Nov 20 14:58:42 UTC 2018 : > +#if defined(__mips__) || defined(__powerpc__) > +#define UNR64_LOCKED > +#endif But on powerpc64 ( system clang from head -r339076 ): # clang -dM -E -x c /dev/null | grep -i __power #define __POWERPC__ 1 #define

svn commit: r340694 - head/sys/powerpc/conf

2018-11-20 Thread Niclas Zeising
Author: zeising (doc,ports committer) Date: Tue Nov 20 19:31:02 2018 New Revision: 340694 URL: https://svnweb.freebsd.org/changeset/base/340694 Log: Enable evdev on ppc32 Enable evdev on ppc32 as well, similar to what was done i386 and amd64 in r340387 and ppc64 in r340632. Evdev

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

2018-11-20 Thread Mark Millard via svn-src-head
Warner Losh imp at FreeBSD.org wrote on Tue Nov 20 07:11:24 UTC 2018 : > Instead, used fixed constants because there's no way to say ceil(X) > for integer math. . . . For a ratio of unsigned integers, with 0 // ceil_x_div_y(x,y), given 0https://lists.freebsd.org/mailman/listinfo/svn-src-head To

svn commit: r340689 - in head: sbin/ipfw sys/netinet

2018-11-20 Thread Andrey V. Elsukov
Author: ae Date: Tue Nov 20 18:38:28 2018 New Revision: 340689 URL: https://svnweb.freebsd.org/changeset/base/340689 Log: Make multiline APPLY_MASK() macro to be function-like. Reported by: cem MFC after:1 week Modified: head/sbin/ipfw/ipv6.c head/sys/netinet/ip_fw.h Modified:

Re: svn commit: r340360 - in head: sbin/ipfw sys/netinet6 sys/netpfil/ipfw/nptv6

2018-11-20 Thread Conrad Meyer
Hi Andrey, On Mon, Nov 12, 2018 at 3:21 AM Andrey V. Elsukov wrote: > > Author: ae > Date: Mon Nov 12 11:20:59 2018 > New Revision: 340360 > URL: https://svnweb.freebsd.org/changeset/base/340360 > > Log: > Add ability to use dynamic external prefix in ipfw_nptv6 module. > > ... > Modified:

svn commit: r340687 - head/tests/sys/netinet

2018-11-20 Thread Mark Johnston
Author: markj Date: Tue Nov 20 18:13:18 2018 New Revision: 340687 URL: https://svnweb.freebsd.org/changeset/base/340687 Log: Plug a trivial memory leak. CID: 1396911 MFC with: r340485 Modified: head/tests/sys/netinet/ip_reass_test.c Modified:

svn commit: r340686 - head/sbin/dumpon

2018-11-20 Thread Mark Johnston
Author: markj Date: Tue Nov 20 18:10:56 2018 New Revision: 340686 URL: https://svnweb.freebsd.org/changeset/base/340686 Log: Avoid clobbering a user-specified -g value after r340547. CID: 1396919 MFC with: r340547 Modified: head/sbin/dumpon/dumpon.c Modified:

svn commit: r340681 - in head/stand/i386: btx/btx btx/btxldr gptboot

2018-11-20 Thread Ed Maste
Author: emaste Date: Tue Nov 20 16:54:42 2018 New Revision: 340681 URL: https://svnweb.freebsd.org/changeset/base/340681 Log: stand: remove CLANG_NO_IAS from btx and gptboot Many components under stand/ had CLANG_NO_IAS added when Clang's Integrated Assembler (IAS) did not handle .codeNN

Re: svn commit: r340678 - head/sys/arm64/arm64

2018-11-20 Thread Rodney W. Grimes
> Author: markj > Date: Tue Nov 20 15:12:37 2018 > New Revision: 340678 > URL: https://svnweb.freebsd.org/changeset/base/340678 > > Log: > Handle kernel superpage mappings in pmap_remove_l2(). > > PR: 233088 > Reviewed by:alc, andrew, kib > Tested by: sbruno > MFC

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

2018-11-20 Thread Warner Losh
On Tue, Nov 20, 2018 at 8:28 AM Mateusz Guzik wrote: > On 11/20/18, Konstantin Belousov wrote: > > On Tue, Nov 20, 2018 at 02:58:41PM +, Mateusz Guzik wrote: > >> Author: mjg > >> Date: Tue Nov 20 14:58:41 2018 > >> New Revision: 340676 > >> URL:

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

2018-11-20 Thread Bruce Evans
On Mon, 19 Nov 2018, Warner Losh wrote: On Mon, Nov 19, 2018 at 9:05 AM Bruce Evans wrote: On Tue, 20 Nov 2018, Bruce Evans wrote: On Tue, 20 Nov 2018, Bruce Evans wrote: On Mon, 19 Nov 2018, Warner Losh wrote: ... I found my test program. But I think I understand the problem now.

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

2018-11-20 Thread Mateusz Guzik
On 11/20/18, Konstantin Belousov wrote: > On Tue, Nov 20, 2018 at 02:58:41PM +, Mateusz Guzik wrote: >> Author: mjg >> Date: Tue Nov 20 14:58:41 2018 >> New Revision: 340676 >> URL: https://svnweb.freebsd.org/changeset/base/340676 >> >> Log: >> Implement unr64 >> >> Important users of unr

svn commit: r340679 - head/sys/fs/tmpfs

2018-11-20 Thread Mateusz Guzik
Author: mjg Date: Tue Nov 20 15:14:30 2018 New Revision: 340679 URL: https://svnweb.freebsd.org/changeset/base/340679 Log: tmpfs: use unr64 for inode numbers Sponsored by: The FreeBSD Foundation Modified: head/sys/fs/tmpfs/tmpfs.h head/sys/fs/tmpfs/tmpfs_subr.c

svn commit: r340678 - head/sys/arm64/arm64

2018-11-20 Thread Mark Johnston
Author: markj Date: Tue Nov 20 15:12:37 2018 New Revision: 340678 URL: https://svnweb.freebsd.org/changeset/base/340678 Log: Handle kernel superpage mappings in pmap_remove_l2(). PR: 233088 Reviewed by: alc, andrew, kib Tested by:sbruno MFC after:3 days Sponsored

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

2018-11-20 Thread Konstantin Belousov
On Tue, Nov 20, 2018 at 02:58:41PM +, Mateusz Guzik wrote: > Author: mjg > Date: Tue Nov 20 14:58:41 2018 > New Revision: 340676 > URL: https://svnweb.freebsd.org/changeset/base/340676 > > Log: > Implement unr64 > > Important users of unr like tmpfs or pipes can get away with just >

svn commit: r340677 - head/sys/kern

2018-11-20 Thread Mateusz Guzik
Author: mjg Date: Tue Nov 20 14:59:27 2018 New Revision: 340677 URL: https://svnweb.freebsd.org/changeset/base/340677 Log: pipe: use unr64 Reviewed by: kib Sponsored by: The FreeBSD Foundation Differential Revision:https://reviews.freebsd.org/D18054 Modified:

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

2018-11-20 Thread Mateusz Guzik
Author: mjg Date: Tue Nov 20 14:58:41 2018 New Revision: 340676 URL: https://svnweb.freebsd.org/changeset/base/340676 Log: Implement unr64 Important users of unr like tmpfs or pipes can get away with just ever-increasing counters, making the overhead of managing the state for 32 bit

svn commit: r340675 - head/libexec/rtld-elf

2018-11-20 Thread Konstantin Belousov
Author: kib Date: Tue Nov 20 14:52:43 2018 New Revision: 340675 URL: https://svnweb.freebsd.org/changeset/base/340675 Log: rtld: when immediate bind mode is requested, process irelocs in PLT immediately after other PLT relocs. Otherwise, if the object has relro page, we write to readonly

svn commit: r340674 - head/sys/compat/linux

2018-11-20 Thread Tijl Coosemans
Author: tijl Date: Tue Nov 20 14:18:57 2018 New Revision: 340674 URL: https://svnweb.freebsd.org/changeset/base/340674 Log: Fix another user address dereference in linux_sendmsg syscall. This was hidden behind the LINUX_CMSG_NXTHDR macro which dereferences its second argument. Stop

svn commit: r340668 - head/share/man/man7

2018-11-20 Thread Mateusz Piotrowski
Author: 0mp (ports committer) Date: Tue Nov 20 10:01:56 2018 New Revision: 340668 URL: https://svnweb.freebsd.org/changeset/base/340668 Log: ports(7): Do not mention deprecated WITH_OPENSSL_PORT. Reviewed by: eadler Approved by: krion (mentor, implicit), mat (mentor, implicit)