svn commit: r367275 - head/sys/kern

2020-11-02 Thread Mateusz Guzik
Author: mjg Date: Mon Nov 2 17:39:15 2020 New Revision: 367275 URL: https://svnweb.freebsd.org/changeset/base/367275 Log: malloc: prefix zones with malloc- Reviewed by: markj Differential Revision:https://reviews.freebsd.org/D27038 Modified: head/sys/kern/kern_malloc.c

svn commit: r367276 - head/sys/contrib/openzfs/module/zstd

2020-11-02 Thread Mateusz Guzik
Author: mjg Date: Mon Nov 2 17:39:59 2020 New Revision: 367276 URL: https://svnweb.freebsd.org/changeset/base/367276 Log: zfs: zstd: short-circuit cleaning buffers if none exist This avoids a barrage of locking every minute. Modified: head/sys/contrib/openzfs/module/zstd/zfs_zstd.c

Re: svn commit: r367280 - head/lib/libc/gen

2020-11-02 Thread Stefan Esser
Am 02.11.20 um 20:20 schrieb Oliver Pinter:> On Monday, November 2, 2020, Stefan Eßer > wrote: Author: se Date: Mon Nov  2 18:48:06 2020 New Revision: 367280 URL: https://svnweb.freebsd.org/changeset/base/367280

Re: svn commit: r367280 - head/lib/libc/gen

2020-11-02 Thread Konstantin Belousov
On Mon, Nov 02, 2020 at 10:49:07PM +0100, Emmanuel Vadot wrote: > I think that the first question we want to ask is : Do we want to > support LOCALBASE being different than /usr/local > I honestly don't see any advantages of making it !=/usr/local/ and > before we start putting a lot of

svn commit: r367280 - head/lib/libc/gen

2020-11-02 Thread Stefan Eßer
Author: se Date: Mon Nov 2 18:48:06 2020 New Revision: 367280 URL: https://svnweb.freebsd.org/changeset/base/367280 Log: Re-arrange some of the code to separate writable user tree variables from R/O variables. While here fix some nearby style. No functional change intended. MFC

svn commit: r367285 - head/sbin/ifconfig

2020-11-02 Thread Konstantin Belousov
Author: kib Date: Mon Nov 2 21:47:34 2020 New Revision: 367285 URL: https://svnweb.freebsd.org/changeset/base/367285 Log: ifconfig: properly detect invalid mediaopt keywords. When invalid keyword is specified, ifconfig(8) is silent about it, instead random request is sent to the driver.

svn commit: r367274 - in head: lib/libmemstat share/man/man9 sys/kern usr.bin/vmstat

2020-11-02 Thread Mateusz Guzik
Author: mjg Date: Mon Nov 2 17:38:08 2020 New Revision: 367274 URL: https://svnweb.freebsd.org/changeset/base/367274 Log: malloc: export kernel zones instead of relying on them being power-of-2 Reviewed by: markj (previous version) Differential Revision:

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

2020-11-02 Thread Conrad Meyer
Author: cem Date: Mon Nov 2 18:45:43 2020 New Revision: 367279 URL: https://svnweb.freebsd.org/changeset/base/367279 Log: linux(4): Quiesce unrecognized ioctl warning for F2FS query On Linux, sqlite probes for underlying F2FS filesystems that support certain kinds of atomic update with

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

2020-11-02 Thread Conrad Meyer
Author: cem Date: Mon Nov 2 18:45:15 2020 New Revision: 367278 URL: https://svnweb.freebsd.org/changeset/base/367278 Log: linux(4): Deduplicate ioctl range construction with a helper macro No functional change. Reviewed by: emaste, trasz Differential Revision:

Re: svn commit: r367280 - head/lib/libc/gen

2020-11-02 Thread Emmanuel Vadot
On Mon, 2 Nov 2020 22:41:38 +0100 Stefan Esser wrote: > Am 02.11.20 um 20:20 schrieb Oliver Pinter:> On Monday, November 2, > 2020, Stefan Eßer > > wrote: > > > > Author: se > > Date: Mon Nov  2 18:48:06 2020 > > New Revision: 367280 > > URL:

svn commit: r367282 - in head/sys/arm64: arm64 include

2020-11-02 Thread Ruslan Bukin
Author: br Date: Mon Nov 2 19:56:15 2020 New Revision: 367282 URL: https://svnweb.freebsd.org/changeset/base/367282 Log: Add routines for ARM System MMU (SMMU) pmap management. Reviewed by: markj Discussed with: kib Sponsored by: DARPA, Innovate UK Differential Revision:

svn commit: r367284 - in head/release: . tools

2020-11-02 Thread Emmanuel Vadot
Author: manu Date: Mon Nov 2 21:10:49 2020 New Revision: 367284 URL: https://svnweb.freebsd.org/changeset/base/367284 Log: release: Add an image for CI A lot of projects CI can't do FreeBSD tests currently. The main reason is that the project CI infrastructure is runned on Linux and

svn commit: r367277 - head

2020-11-02 Thread Emmanuel Vadot
Author: manu Date: Mon Nov 2 18:23:50 2020 New Revision: 367277 URL: https://svnweb.freebsd.org/changeset/base/367277 Log: pkgbase: Add incremental packages This adds a new target update-packages which will create the new packages compared to the last run. This is how to use it:

svn commit: r367281 - in head/sys: amd64/amd64 arm64/arm64 mips/mips powerpc/powerpc riscv/riscv

2020-11-02 Thread Alan Cox
Author: alc Date: Mon Nov 2 19:20:06 2020 New Revision: 367281 URL: https://svnweb.freebsd.org/changeset/base/367281 Log: Tidy up the #includes. Recent changes, such as the introduction of VM_ALLOC_WAITOK and vm_page_unwire_noq(), have eliminated the need for many of the #includes.

Re: svn commit: r367280 - head/lib/libc/gen

2020-11-02 Thread Oliver Pinter
On Monday, November 2, 2020, Stefan Eßer wrote: > Author: se > Date: Mon Nov 2 18:48:06 2020 > New Revision: 367280 > URL: https://svnweb.freebsd.org/changeset/base/367280 > > Log: > Re-arrange some of the code to separate writable user tree variables from > R/O variables. > > While here

Re: svn commit: r367280 - head/lib/libc/gen

2020-11-02 Thread Stefan Esser
Am 02.11.20 um 22:49 schrieb Emmanuel Vadot: On Mon, 2 Nov 2020 22:41:38 +0100 Stefan Esser wrote: Am 02.11.20 um 20:20 schrieb Oliver Pinter:> On Monday, November 2, 2020, Stefan Eßer > wrote: Author: se Date: Mon Nov  2 18:48:06 2020 New Revision:

Re: svn commit: r367280 - head/lib/libc/gen

2020-11-02 Thread Emmanuel Vadot
On Tue, 3 Nov 2020 00:10:39 +0200 Konstantin Belousov wrote: > On Mon, Nov 02, 2020 at 10:49:07PM +0100, Emmanuel Vadot wrote: > > I think that the first question we want to ask is : Do we want to > > support LOCALBASE being different than /usr/local > > I honestly don't see any advantages of

Re: svn commit: r367280 - head/lib/libc/gen

2020-11-02 Thread Stefan Esser
Am 02.11.20 um 23:10 schrieb Konstantin Belousov: On Mon, Nov 02, 2020 at 10:49:07PM +0100, Emmanuel Vadot wrote: I think that the first question we want to ask is : Do we want to support LOCALBASE being different than /usr/local I honestly don't see any advantages of making it

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

2020-11-02 Thread Conrad Meyer
Author: cem Date: Tue Nov 3 02:10:54 2020 New Revision: 367290 URL: https://svnweb.freebsd.org/changeset/base/367290 Log: linux(4) prctl(2): Implement PR_[GS]ET_DUMPABLE Proxy the flag to the roughly analogous FreeBSD procctl 'TRACE'. TRACE-disabled processes are not coredumped, and

Re: svn commit: r367280 - head/lib/libc/gen

2020-11-02 Thread Konstantin Belousov
On Mon, Nov 02, 2020 at 11:22:15PM +0100, Emmanuel Vadot wrote: > On Tue, 3 Nov 2020 00:10:39 +0200 > Konstantin Belousov wrote: > > > On Mon, Nov 02, 2020 at 10:49:07PM +0100, Emmanuel Vadot wrote: > > > I think that the first question we want to ask is : Do we want to > > > support LOCALBASE

svn commit: r367287 - in head: share/man/man4 sys/kern sys/sys

2020-11-02 Thread Conrad Meyer
Author: cem Date: Tue Nov 3 01:17:45 2020 New Revision: 367287 URL: https://svnweb.freebsd.org/changeset/base/367287 Log: unix(4): Add SOL_LOCAL:LOCAL_CREDS_PERSISTENT This option is intended to be semantically identical to Linux's SOL_SOCKET:SO_PASSCRED. For now, it is mutually

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

2020-11-02 Thread Conrad Meyer
Author: cem Date: Tue Nov 3 01:19:13 2020 New Revision: 367288 URL: https://svnweb.freebsd.org/changeset/base/367288 Log: linux(4): Emulate Linux SOL_SOCKET:SO_PASSCRED This is required by some major linux applications, such as Chrome and Firefox. (As well as Electron-using

Re: svn commit: r367288 - head/sys/compat/linux

2020-11-02 Thread Andrew Gallatin
On 11/2/20 8:19 PM, Conrad Meyer wrote: Log: linux(4): Emulate Linux SOL_SOCKET:SO_PASSCRED This is required by some major linux applications, such as Chrome and Firefox. (As well as Electron-using applications, which are essentially a bundled version of Chrome.)

Re: svn commit: r367280 - head/lib/libc/gen

2020-11-02 Thread Emmanuel Vadot
On Mon, 2 Nov 2020 23:24:34 +0100 Stefan Esser wrote: > Am 02.11.20 um 22:49 schrieb Emmanuel Vadot: > > On Mon, 2 Nov 2020 22:41:38 +0100 > > Stefan Esser wrote: > > > >> Am 02.11.20 um 20:20 schrieb Oliver Pinter:> On Monday, November 2, > >> 2020, Stefan Eßer >>> >

Re: svn commit: r367280 - head/lib/libc/gen

2020-11-02 Thread Emmanuel Vadot
On Tue, 3 Nov 2020 00:32:14 +0200 Konstantin Belousov wrote: > On Mon, Nov 02, 2020 at 11:22:15PM +0100, Emmanuel Vadot wrote: > > On Tue, 3 Nov 2020 00:10:39 +0200 > > Konstantin Belousov wrote: > > > > > On Mon, Nov 02, 2020 at 10:49:07PM +0100, Emmanuel Vadot wrote: > > > > I think that

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

2020-11-02 Thread Conrad Meyer
Author: cem Date: Tue Nov 3 01:10:27 2020 New Revision: 367286 URL: https://svnweb.freebsd.org/changeset/base/367286 Log: linux(4): style: Eliminate dead 'break' after 'return' No functional change. Modified: head/sys/compat/linux/linux_misc.c Modified:

Re: svn commit: r367288 - head/sys/compat/linux

2020-11-02 Thread Conrad Meyer
No, not as far as I can tell. On Mon, Nov 2, 2020 at 5:48 PM Andrew Gallatin wrote: > > On 11/2/20 8:19 PM, Conrad Meyer wrote: > > > > Log: > >linux(4): Emulate Linux SOL_SOCKET:SO_PASSCRED > > > >This is required by some major linux applications, such as Chrome and > >Firefox. (As

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

2020-11-02 Thread Michal Meloun
Author: mmel Date: Mon Nov 2 08:26:19 2020 New Revision: 367268 URL: https://svnweb.freebsd.org/changeset/base/367268 Log: Improve loading of multipage aligned buffers. The multipage alignment requirements is incompatible with many aspects of actual busdma code. Multi-page alignment

svn commit: r367269 - head/sys/ofed/drivers/infiniband/core

2020-11-02 Thread Hans Petter Selasky
Author: hselasky Date: Mon Nov 2 10:44:29 2020 New Revision: 367269 URL: https://svnweb.freebsd.org/changeset/base/367269 Log: Fix for referencing file via its vnode in ibore. Use the native vnode lookup functions, instead of going via the LinuxKPI, because the file referenced is

svn commit: r367273 - head/lib/libnetmap

2020-11-02 Thread Adrian Chadd
Author: adrian Date: Mon Nov 2 15:01:37 2020 New Revision: 367273 URL: https://svnweb.freebsd.org/changeset/base/367273 Log: [libnetmap] Fix 32 bit compilation under gcc-6.4 Use uintptr_t to cast a uint64_t to a pointer type. Yeah, it isn't technically correct for platforms with