Author: markj
Date: Wed Jul 29 19:38:49 2020
New Revision: 363671
URL: https://svnweb.freebsd.org/changeset/base/363671
Log:
Remove the volatile qualifier from busy_lock.
Use atomic(9) to load the lock state. Some places were doing this
already, so it was inconsistent. In
Author: markj
Date: Wed Jul 29 14:33:31 2020
New Revision: 363665
URL: https://svnweb.freebsd.org/changeset/base/363665
Log:
MFC r363420:
usb(4): Stop checking for failures from malloc(M_WAITOK).
Modified:
stable/11/sys/compat/linuxkpi/common/src/linux_usb.c
Author: markj
Date: Wed Jul 29 14:30:42 2020
New Revision: 363664
URL: https://svnweb.freebsd.org/changeset/base/363664
Log:
MFC r363420:
usb(4): Stop checking for failures from malloc(M_WAITOK).
Modified:
stable/12/sys/compat/linuxkpi/common/src/linux_usb.c
Author: markj
Date: Tue Jul 28 19:50:39 2020
New Revision: 363654
URL: https://svnweb.freebsd.org/changeset/base/363654
Log:
vm_page_xbusy_claim(): Use atomics to update busy lock state.
vm_page_xbusy_claim() could clobber the waiter bit. For its original
use, kernel memory pages, this
Author: markj
Date: Tue Jul 28 15:26:19 2020
New Revision: 363649
URL: https://svnweb.freebsd.org/changeset/base/363649
Log:
ps(1): Fix formatting of the "command" field for kernel threads.
When -H is specified, for kernel threads the command is formatted as
"/" and truncated to
Author: markj
Date: Tue Jul 28 15:16:29 2020
New Revision: 363648
URL: https://svnweb.freebsd.org/changeset/base/363648
Log:
MFC r363395:
traceroute6: Fix most warnings at the default WARNS level.
Modified:
stable/12/usr.sbin/traceroute6/Makefile
On Tue, Jul 28, 2020 at 08:44:11AM -0500, Eric van Gyzen wrote:
> On 7/27/20 9:25 AM, Mark Johnston wrote:
> > +
> > + /*
> > +* We may be attempting to free the page as part of the handling for an
> > +* I/O error, in which case the page was xb
Author: markj
Date: Mon Jul 27 19:05:53 2020
New Revision: 363623
URL: https://svnweb.freebsd.org/changeset/base/363623
Log:
cxgbe(4): Stop checking for failures from malloc(M_WAITOK).
PR: 240545
Submitted by: Andrew Reiter
Reviewed by: np
MFC after:1 week
Author: markj
Date: Mon Jul 27 15:34:07 2020
New Revision: 363612
URL: https://svnweb.freebsd.org/changeset/base/363612
Log:
MFC r354018 (by tuexen):
Store a handle for the event handler.
Modified:
stable/12/sys/netinet/sctp_pcb.h
stable/12/sys/netinet/sctp_usrreq.c
Directory Properties:
Author: markj
Date: Mon Jul 27 15:09:07 2020
New Revision: 363610
URL: https://svnweb.freebsd.org/changeset/base/363610
Log:
Update the expression used to decide whether to build sctp.ko.
This is a direct commit to stable/12.
Reported by: Jenkins
Modified:
D-2-Clause-FreeBSD
+ *
+ * Copyright (c) 2019-2020 The FreeBSD Foundation
+ *
+ * This software was developed by Mark Johnston under sponsorship from
+ * the FreeBSD Foundation.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided tha
Author: markj
Date: Mon Jul 27 14:28:55 2020
New Revision: 363608
URL: https://svnweb.freebsd.org/changeset/base/363608
Log:
mpr(4), mps(4): Stop checking for failures from malloc(M_WAITOK).
PR: 240545
Submitted by: Andrew Reiter
Reviewed by: imp
MFC after:1 week
Author: markj
Date: Mon Jul 27 14:25:10 2020
New Revision: 363607
URL: https://svnweb.freebsd.org/changeset/base/363607
Log:
vm_page_free_invalid(): Relax the xbusy assertion.
vm_page_assert_xbusied() asserts that the busying thread is the current
thread. For some uses of
Author: markj
Date: Mon Jul 27 14:16:27 2020
New Revision: 363606
URL: https://svnweb.freebsd.org/changeset/base/363606
Log:
MFC r363374:
crypto(9): Stop checking for failures from malloc(M_WAITOK).
PR: 240545
Modified:
stable/12/sys/opencrypto/cryptodev.c
Directory Properties:
Author: markj
Date: Mon Jul 27 14:15:50 2020
New Revision: 363605
URL: https://svnweb.freebsd.org/changeset/base/363605
Log:
MFC r363164, r363166:
ipfw(8): Fix most warnings with the default WARNS level.
Modified:
stable/12/sbin/ipfw/Makefile
stable/12/sbin/ipfw/altq.c
Author: markj
Date: Mon Jul 27 14:14:06 2020
New Revision: 363604
URL: https://svnweb.freebsd.org/changeset/base/363604
Log:
MFC r363367:
ext2fs: Stop checking for failures from malloc(M_WAITOK).
PR: 240545
Modified:
stable/12/sys/fs/ext2fs/ext2_acl.c
Author: markj
Date: Mon Jul 27 14:11:08 2020
New Revision: 363603
URL: https://svnweb.freebsd.org/changeset/base/363603
Log:
MFC r363373:
Fix a memory leak in dsl_scan_visitbp().
PR: 247445
Modified:
stable/11/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dsl_scan.c
Directory
Author: markj
Date: Mon Jul 27 14:10:12 2020
New Revision: 363602
URL: https://svnweb.freebsd.org/changeset/base/363602
Log:
MFC r363373:
Fix a memory leak in dsl_scan_visitbp().
PR: 247445
Modified:
stable/12/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dsl_scan.c
Directory
Author: markj
Date: Mon Jul 27 14:09:37 2020
New Revision: 363601
URL: https://svnweb.freebsd.org/changeset/base/363601
Log:
MFC r363375:
libdwarf: Hide SHT_NOBITS sections.
PR: 239516
Modified:
stable/11/contrib/elftoolchain/libdwarf/libdwarf_elf_init.c
Directory Properties:
Author: markj
Date: Mon Jul 27 14:08:29 2020
New Revision: 363600
URL: https://svnweb.freebsd.org/changeset/base/363600
Log:
MFC r363375:
libdwarf: Hide SHT_NOBITS sections.
PR: 239516
Modified:
stable/12/contrib/elftoolchain/libdwarf/libdwarf_elf_init.c
Directory Properties:
Author: markj
Date: Sun Jul 26 18:12:54 2020
New Revision: 363570
URL: https://svnweb.freebsd.org/changeset/base/363570
Log:
MFC r363052:
whois: Handle referrals to rwhois servers.
PR: 243862
Modified:
stable/12/usr.bin/whois/whois.c
Directory Properties:
stable/12/ (props
Author: markj
Date: Fri Jul 24 14:51:28 2020
New Revision: 363474
URL: https://svnweb.freebsd.org/changeset/base/363474
Log:
MFC r363084:
Add a --sctp flag to nc.
Modified:
stable/12/contrib/netcat/nc.1
stable/12/contrib/netcat/netcat.c
Directory Properties:
stable/12/ (props
Author: markj
Date: Thu Jul 23 15:03:28 2020
New Revision: 363449
URL: https://svnweb.freebsd.org/changeset/base/363449
Log:
rc.firewall: Merge two identical conditions into one.
No functional change intended.
PR: 247949
Submitted by: Jose Luis Duran
MFC after:1
Author: markj
Date: Thu Jul 23 14:21:45 2020
New Revision: 363447
URL: https://svnweb.freebsd.org/changeset/base/363447
Log:
MFOpenZFS: Fix zpool history unbounded memory usage
In original implementation, zpool history will read the whole history
before printing anything, causing memory
Author: markj
Date: Thu Jul 23 14:03:37 2020
New Revision: 363446
URL: https://svnweb.freebsd.org/changeset/base/363446
Log:
cuse: Stop checking for failures from malloc(M_WAITOK).
PR: 240545
Submitted by: Andrew Reiter
Reviewed by: hselasky
MFC after:1 week
Author: markj
Date: Thu Jul 23 14:03:24 2020
New Revision: 363445
URL: https://svnweb.freebsd.org/changeset/base/363445
Log:
ntb: Stop checking for failures from malloc(M_WAITOK).
PR: 240545
Submitted by: Andrew Reiter
Reviewed by: cem, mav
MFC after:1 week
Author: markj
Date: Wed Jul 22 14:32:47 2020
New Revision: 363420
URL: https://svnweb.freebsd.org/changeset/base/363420
Log:
usb(4): Stop checking for failures from malloc(M_WAITOK).
Handle the fact that parts of usb(4) can be compiled into the boot
loader, where M_WAITOK does not
Author: markj
Date: Wed Jul 22 14:24:41 2020
New Revision: 363419
URL: https://svnweb.freebsd.org/changeset/base/363419
Log:
MFC r363181:
Add safexcel(4) to cryptotest.
Modified:
stable/12/tests/sys/opencrypto/cryptotest.py
Directory Properties:
stable/12/ (props changed)
Modified:
Author: markj
Date: Wed Jul 22 14:22:35 2020
New Revision: 363418
URL: https://svnweb.freebsd.org/changeset/base/363418
Log:
MFC r363180, r363182, r363251:
Add a driver for the SafeXcel EIP-97.
Added:
stable/12/share/man/man4/safexcel.4
- copied unchanged from r363180,
Author: markj
Date: Tue Jul 21 15:03:36 2020
New Revision: 363395
URL: https://svnweb.freebsd.org/changeset/base/363395
Log:
traceroute6: Fix most warnings at the default WARNS level.
Fix some style issues as well. Leave -Wno-cast-aligned set for now, as
most of the warnings come casts
Author: markj
Date: Tue Jul 21 14:35:50 2020
New Revision: 363391
URL: https://svnweb.freebsd.org/changeset/base/363391
Log:
Fix the powerpc build after r363389.
This is a direct commit to stable/12.
Reported by: Jenkins
Modified:
stable/12/sys/powerpc/aim/mmu_oea.c
Author: markj
Date: Tue Jul 21 14:17:35 2020
New Revision: 363389
URL: https://svnweb.freebsd.org/changeset/base/363389
Log:
MFC r363266 (by cem):
Revert r240317 to prevent leaking pmap entries
Modified:
stable/12/sys/amd64/amd64/pmap.c
stable/12/sys/i386/i386/pmap.c
Author: markj
Date: Mon Jul 20 18:22:38 2020
New Revision: 363375
URL: https://svnweb.freebsd.org/changeset/base/363375
Log:
libdwarf: Hide SHT_NOBITS sections.
gnu_debuglink external debug files will contain an .eh_frame section of
type SHT_NOBITS. libdwarf does not handle such
Author: markj
Date: Mon Jul 20 17:44:13 2020
New Revision: 363374
URL: https://svnweb.freebsd.org/changeset/base/363374
Log:
crypto(9): Stop checking for failures from malloc(M_WAITOK).
PR: 240545
Submitted by: Andrew Reiter
Reviewed by: cem, delphij, jhb
MFC after:1
Author: markj
Date: Mon Jul 20 17:05:44 2020
New Revision: 363373
URL: https://svnweb.freebsd.org/changeset/base/363373
Log:
Fix a memory leak in dsl_scan_visitbp().
This should be triggered only if arc_read() fails, i.e., quite rarely.
The same logic is already present in OpenZFS.
Author: markj
Date: Mon Jul 20 14:28:26 2020
New Revision: 363367
URL: https://svnweb.freebsd.org/changeset/base/363367
Log:
ext2fs: Stop checking for failures from malloc(M_WAITOK).
PR: 240545
Submitted by: Andrew Reiter
Reviewed by: fsu
MFC after:1 week
Author: markj
Date: Mon Jul 20 13:37:14 2020
New Revision: 363365
URL: https://svnweb.freebsd.org/changeset/base/363365
Log:
MFC r363102:
ping(8): Check for integer truncation when handling the value for -s.
PR: 239976
Modified:
stable/12/sbin/ping/ping.c
Directory Properties:
Author: markj
Date: Mon Jul 20 13:30:42 2020
New Revision: 363364
URL: https://svnweb.freebsd.org/changeset/base/363364
Log:
MFC r363162:
Print arm64 physmem info during boot.
PR: 243682
Modified:
stable/12/sys/arm64/arm64/machdep.c
Directory Properties:
stable/12/ (props
Author: markj
Date: Fri Jul 17 14:45:16 2020
New Revision: 363273
URL: https://svnweb.freebsd.org/changeset/base/363273
Log:
Clean up crypto_init().
The function is called from a KLD load handler, so it may sleep.
- Stop checking for errors from uma_zcreate(), they don't happen.
-
Author: markj
Date: Thu Jul 16 15:12:52 2020
New Revision: 363254
URL: https://svnweb.freebsd.org/changeset/base/363254
Log:
Add a RELNOTES entry for r363253.
Sponsored by: The FreeBSD Foundation
Modified:
head/RELNOTES
Modified: head/RELNOTES
Author: markj
Date: Thu Jul 16 15:09:04 2020
New Revision: 363253
URL: https://svnweb.freebsd.org/changeset/base/363253
Log:
Switch from SCTP to SCTP_SUPPORT in GENERIC configs.
This removes SCTP from in-tree kernel configuration files. Now, SCTP
can be enabled by simply loading the
Author: markj
Date: Thu Jul 16 14:21:55 2020
New Revision: 363251
URL: https://svnweb.freebsd.org/changeset/base/363251
Log:
safexcel(4): Silence an integer truncation warning.
In practice overflow is not possible, but we might as well use the right
type for DMA ring sizes.
CID:
Author: markj
Date: Thu Jul 16 13:50:21 2020
New Revision: 363246
URL: https://svnweb.freebsd.org/changeset/base/363246
Log:
Fix a mismerge in r363243.
This is a direct commit to stable/12.
Reported by: Jenkins
Modified:
stable/12/sys/vm/vm_map.c
Modified:
Author: markj
Date: Thu Jul 16 13:38:20 2020
New Revision: 363245
URL: https://svnweb.freebsd.org/changeset/base/363245
Log:
MFC r363051, r363055:
Avoid copying out kernel pointers from msgctl/semctl(IPC_STAT).
Modified:
stable/12/lib/libc/sys/msgctl.2
stable/12/lib/libc/sys/semctl.2
Author: markj
Date: Thu Jul 16 13:37:11 2020
New Revision: 363243
URL: https://svnweb.freebsd.org/changeset/base/363243
Log:
MFC r363158:
Add vm_map_valid_range_KBI().
Modified:
stable/12/sys/vm/vm_map.c
stable/12/sys/vm/vm_map.h
Directory Properties:
stable/12/ (props changed)
Author: markj
Date: Tue Jul 14 15:05:38 2020
New Revision: 363183
URL: https://svnweb.freebsd.org/changeset/base/363183
Log:
Add a RELNOTES entry for safexcel(4).
Sponsored by: Rubicon Communications, LLC (Netgate)
Modified:
head/RELNOTES
Modified: head/RELNOTES
Author: markj
Date: Tue Jul 14 15:05:24 2020
New Revision: 363182
URL: https://svnweb.freebsd.org/changeset/base/363182
Log:
safexcel(4): Fix the INVARIANTS build after a last-second change.
Reported by: Jenkins
MFC with: r363180
Modified:
head/sys/dev/safexcel/safexcel.c
Author: markj
Date: Tue Jul 14 14:11:54 2020
New Revision: 363181
URL: https://svnweb.freebsd.org/changeset/base/363181
Log:
Add safexcel(4) to cryptotest.
MFC after:1 week
Sponsored by: Rubicon Communications, LLC (Netgate)
Modified:
head/tests/sys/opencrypto/cryptotest.py
Author: markj
Date: Tue Jul 14 14:09:29 2020
New Revision: 363180
URL: https://svnweb.freebsd.org/changeset/base/363180
Log:
Add a driver for the SafeXcel EIP-97.
The EIP-97 is a packet processing module found on the ESPRESSObin. This
commit adds a crypto(9) driver for the crypto and
Author: markj
Date: Mon Jul 13 19:10:16 2020
New Revision: 363166
URL: https://svnweb.freebsd.org/changeset/base/363166
Log:
ipfw(8): Handle unaligned pointers in pr_u64.
struct _ipfw_dyn_rule is defined as packed, and as a result, its
uint64_t fields are misaligned on some 32-bit
Author: markj
Date: Mon Jul 13 17:51:04 2020
New Revision: 363164
URL: https://svnweb.freebsd.org/changeset/base/363164
Log:
ipfw(8): Fix most warnings with the default WARNS level.
- Add missing const and static qualifiers.
- Avoid shadowing the global "co" by renaming it to "g_co".
-
Author: markj
Date: Mon Jul 13 17:05:44 2020
New Revision: 363162
URL: https://svnweb.freebsd.org/changeset/base/363162
Log:
Print arm64 physmem info during boot.
PR: 243682
Reviewed by: andrew, emaste
MFC after:1 week
Event:July 2020 Bugathon
Author: markj
Date: Mon Jul 13 16:43:23 2020
New Revision: 363161
URL: https://svnweb.freebsd.org/changeset/base/363161
Log:
MFC r362970, r362971:
Permit cpuset_(get|set)domain() in capability mode.
Modified:
stable/12/sys/compat/freebsd32/freebsd32_sysent.c
Author: markj
Date: Mon Jul 13 16:42:30 2020
New Revision: 363160
URL: https://svnweb.freebsd.org/changeset/base/363160
Log:
MFC r362968:
Allow accesses of the caller's CPU and domain sets in capability mode.
Modified:
stable/12/sys/kern/kern_cpuset.c
Directory Properties:
stable/12/
Author: markj
Date: Mon Jul 13 16:41:58 2020
New Revision: 363159
URL: https://svnweb.freebsd.org/changeset/base/363159
Log:
MFC r362966:
Lift cpuset Capsicum checks into a subroutine.
Modified:
stable/12/sys/kern/kern_cpuset.c
Directory Properties:
stable/12/ (props changed)
Author: markj
Date: Mon Jul 13 16:39:27 2020
New Revision: 363158
URL: https://svnweb.freebsd.org/changeset/base/363158
Log:
Add vm_map_valid_range_KBI().
This is required for standalone module builds.
Reported by: hselasky
Reviewed by: dougm, hselasky, kib
MFC after:3 days
On Mon, Jul 13, 2020 at 05:27:06PM +0200, Hans Petter Selasky wrote:
> On 2020-06-19 05:32, Mark Johnston wrote:
> > +++ head/sys/vm/vm_map.hFri Jun 19 03:32:04 2020(r362361)
> > @@ -255,6 +255,17 @@ vm_map_modflags(vm_map_t map, vm_flags_t set, vm_flags
> >
Author: markj
Date: Sat Jul 11 17:10:16 2020
New Revision: 363102
URL: https://svnweb.freebsd.org/changeset/base/363102
Log:
ping(8): Check for integer truncation when handling the value for -s.
PR: 239976
Submitted by: Neeraj
MFC after:1 week
Event:
Author: markj
Date: Fri Jul 10 19:58:26 2020
New Revision: 363086
URL: https://svnweb.freebsd.org/changeset/base/363086
Log:
Add a RELNOTES entry for r363084.
Modified:
head/RELNOTES
Modified: head/RELNOTES
==
---
Author: markj
Date: Fri Jul 10 19:58:07 2020
New Revision: 363085
URL: https://svnweb.freebsd.org/changeset/base/363085
Log:
Adjust .Dd, missed in r363084.
MFC with: r363084
Modified:
head/contrib/netcat/nc.1
Modified: head/contrib/netcat/nc.1
Author: markj
Date: Fri Jul 10 19:54:04 2020
New Revision: 363084
URL: https://svnweb.freebsd.org/changeset/base/363084
Log:
Add a --sctp flag to nc.
The change adds an SCTP mode akin to UDP mode. This is handy for doing
smoke testing of SCTP.
Use a long option to minimize the risk
ight (c) 2019-2020 The FreeBSD Foundation
+ *
+ * This software was developed by Mark Johnston under sponsorship from
+ * the FreeBSD Foundation.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are
+ * m
Author: markj
Date: Thu Jul 9 18:34:54 2020
New Revision: 363055
URL: https://svnweb.freebsd.org/changeset/base/363055
Log:
Apply the logic from r363051 to semctl(2) and __sem_base field.
Reported by: Jeffball
MFC after:1 week
Sponsored by: The FreeBSD Foundation
Differential
Author: markj
Date: Thu Jul 9 17:26:49 2020
New Revision: 363051
URL: https://svnweb.freebsd.org/changeset/base/363051
Log:
Avoid copying out kernel pointers from msgctl(IPC_STAT).
While this behaviour is harmless, it is really just an artifact of the
fact that the msgctl(2)
Author: markj
Date: Thu Jul 9 17:27:14 2020
New Revision: 363052
URL: https://svnweb.freebsd.org/changeset/base/363052
Log:
whois: Handle referrals to rwhois servers.
PR: 243862
Submitted by: b...@desync.com
Differential Revision:https://reviews.freebsd.org/D25156
Author: markj
Date: Thu Jul 9 14:42:41 2020
New Revision: 363045
URL: https://svnweb.freebsd.org/changeset/base/363045
Log:
MFC r362497:
Move the definition of SCTP's system_base_info into sctp_crc32.c.
Modified:
stable/12/sys/netinet/sctp_crc32.c
stable/12/sys/netinet/sctp_pcb.c
Author: markj
Date: Thu Jul 9 14:18:14 2020
New Revision: 363044
URL: https://svnweb.freebsd.org/changeset/base/363044
Log:
MFC r362614, r362618:
Add SCTP_SUPPORT handling to config.mk.
Modified:
stable/12/sys/conf/config.mk
stable/12/sys/conf/kern.opts.mk
Directory Properties:
Author: markj
Date: Thu Jul 9 14:17:04 2020
New Revision: 363043
URL: https://svnweb.freebsd.org/changeset/base/363043
Log:
MFC r362619:
ipfw: Support the literal IPv6 address syntax in the fwd command.
Modified:
stable/12/sbin/ipfw/ipfw2.c
Directory Properties:
stable/12/ (props
Author: markj
Date: Wed Jul 8 13:40:27 2020
New Revision: 363009
URL: https://svnweb.freebsd.org/changeset/base/363009
Log:
MFC r362840:
Fix a possible refcount leak when handling IPSec traffic.
PR: 246951
Modified:
stable/11/sys/netinet/ip_input.c
Modified:
Author: markj
Date: Tue Jul 7 16:35:52 2020
New Revision: 362993
URL: https://svnweb.freebsd.org/changeset/base/362993
Log:
Rebuild sysent when capabilities.conf is updated.
Reviewed by: brooks
Sponsored by: The FreeBSD Foundation
Differential Revision:
Author: markj
Date: Mon Jul 6 21:20:57 2020
New Revision: 362976
URL: https://svnweb.freebsd.org/changeset/base/362976
Log:
Split nhop_ref_object().
Now nhop_ref_object() unconditionally acquires a reference, and the new
nhop_try_ref_object() uses refcount_acquire_if_not_zero() to
Author: markj
Date: Mon Jul 6 20:23:14 2020
New Revision: 362975
URL: https://svnweb.freebsd.org/changeset/base/362975
Log:
MFC r359154:
Fix synchronization in the IPV6_2292PKTOPTIONS set handler.
Modified:
stable/11/sys/netinet6/ip6_output.c
Directory Properties:
stable/11/ (props
Author: markj
Date: Mon Jul 6 16:34:49 2020
New Revision: 362971
URL: https://svnweb.freebsd.org/changeset/base/362971
Log:
Regenerate.
Sponsored by: The FreeBSD Foundation
Modified:
head/sys/compat/freebsd32/freebsd32_sysent.c
head/sys/kern/init_sysent.c
Modified:
Author: markj
Date: Mon Jul 6 16:34:29 2020
New Revision: 362970
URL: https://svnweb.freebsd.org/changeset/base/362970
Log:
Permit cpuset_(get|set)domain() in capability mode.
These system calls already perform validation of their parameters when
called in capability mode, identical to
Author: markj
Date: Mon Jul 6 16:34:09 2020
New Revision: 362968
URL: https://svnweb.freebsd.org/changeset/base/362968
Log:
Allow accesses of the caller's CPU and domain sets in capability mode.
cpuset_(get|set)(affinity|domain)(2) permit a get or set of the calling
thread or process'
Author: markj
Date: Mon Jul 6 16:33:21 2020
New Revision: 362966
URL: https://svnweb.freebsd.org/changeset/base/362966
Log:
Lift cpuset Capsicum checks into a subroutine.
Otherwise the same checks are duplicated across four different system
call implementations,
Author: markj
Date: Mon Jul 6 14:52:21 2020
New Revision: 362963
URL: https://svnweb.freebsd.org/changeset/base/362963
Log:
iflib: Fix some nits in the rx refill code.
- Get rid of the ifl_vm_addrs array. It is not used by any existing
consumer, so we are just dirtying a couple of
Author: markj
Date: Mon Jul 6 14:52:09 2020
New Revision: 362962
URL: https://svnweb.freebsd.org/changeset/base/362962
Log:
iflib: Fix handling of mbuf cluster allocation failures.
When refilling an rx freelist, make sure we only update the hardware
producer index if at least one
Author: markj
Date: Mon Jul 6 14:00:20 2020
New Revision: 362961
URL: https://svnweb.freebsd.org/changeset/base/362961
Log:
MFC r362338:
Add the SCTP_SUPPORT kernel option.
Modified:
stable/12/share/man/man4/sctp.4
stable/12/sys/conf/NOTES
stable/12/sys/conf/options
Author: markj
Date: Mon Jul 6 13:54:18 2020
New Revision: 362959
URL: https://svnweb.freebsd.org/changeset/base/362959
Log:
MFC r362496, r362592:
acpi_ibm(4): Add support for putting fans in disengaged mode.
PR: 247306
Modified:
stable/12/share/man/man4/acpi_ibm.4
Author: markj
Date: Mon Jul 6 13:54:44 2020
New Revision: 362960
URL: https://svnweb.freebsd.org/changeset/base/362960
Log:
MFC r362739:
Remove some redundant assignments and computations.
Modified:
stable/12/sys/compat/linuxkpi/common/src/linux_page.c
stable/12/sys/dev/md/md.c
Author: markj
Date: Wed Jul 1 15:42:48 2020
New Revision: 362840
URL: https://svnweb.freebsd.org/changeset/base/362840
Log:
Fix a possible next-hop refcount leak when handling IPSec traffic.
It may be possible to fix this by deferring the lookup, but let's
keep the initial change simple
Author: markj
Date: Wed Jul 1 15:27:34 2020
New Revision: 362838
URL: https://svnweb.freebsd.org/changeset/base/362838
Log:
MFC r362789 (by gallatin):
Fix a panic when unloading firmware
Modified:
stable/12/sys/kern/subr_firmware.c
Directory Properties:
stable/12/ (props changed)
Author: markj
Date: Wed Jul 1 15:02:56 2020
New Revision: 362836
URL: https://svnweb.freebsd.org/changeset/base/362836
Log:
MFC r362585:
ipfw(4): make O_IPVER/ipversion match IPv4 or 6, not just IPv4.
Modified:
stable/12/sys/netpfil/ipfw/ip_fw2.c
Directory Properties:
stable/12/
Author: markj
Date: Wed Jul 1 15:00:03 2020
New Revision: 362835
URL: https://svnweb.freebsd.org/changeset/base/362835
Log:
MFC r362582:
ipfw(8): In fill_ip6(), use a single statement for both "me" and "me6".
Modified:
stable/12/sbin/ipfw/ipv6.c
Directory Properties:
stable/12/ (props
Author: markj
Date: Tue Jun 30 22:01:21 2020
New Revision: 362814
URL: https://svnweb.freebsd.org/changeset/base/362814
Log:
Convert cryptostats to a counter_u64 array.
The global counters were not SMP-friendly. Use per-CPU counters
instead.
Reviewed by: jhb
Sponsored by:
Author: markj
Date: Tue Jun 30 15:56:54 2020
New Revision: 362801
URL: https://svnweb.freebsd.org/changeset/base/362801
Log:
Remove CRYPTO_TIMING.
It was added a very long time ago. It is single-threaded, so only
really useful for basic measurements, and in the meantime we've gotten
Author: markj
Date: Tue Jun 30 15:57:11 2020
New Revision: 362802
URL: https://svnweb.freebsd.org/changeset/base/362802
Log:
Remove unused 32-bit compatibility structures from cryptodev.
The counters are exported by a sysctl and have the same width on all
platforms anyway.
Reviewed
On Sun, Jun 28, 2020 at 06:40:59PM -0600, Alan Somers wrote:
> On Wed, Jan 2, 2019 at 10:09 AM Mark Johnston wrote:
>
> > Author: markj
> > Date: Wed Jan 2 17:09:35 2019
> > New Revision: 342699
> > URL: https://svnweb.freebsd.org/changeset/base/342699
> >
&
Author: markj
Date: Sun Jun 28 21:35:04 2020
New Revision: 362740
URL: https://svnweb.freebsd.org/changeset/base/362740
Log:
Fix UMA's first-touch policy on systems with empty domains.
Suppose a thread is running on a CPU in a NUMA domain with no physical
RAM. When an item is freed to a
Author: markj
Date: Sun Jun 28 21:34:38 2020
New Revision: 362739
URL: https://svnweb.freebsd.org/changeset/base/362739
Log:
Remove some redundant assignments and computations.
Reported by: alc
Reviewed by: alc, kib
Sponsored by: The FreeBSD Foundation
MFC after:1 week
Author: markj
Date: Fri Jun 26 16:16:25 2020
New Revision: 362653
URL: https://svnweb.freebsd.org/changeset/base/362653
Log:
MFC r362361, r362363:
Add a helper function for validating VA ranges.
Modified:
stable/12/sys/compat/linuxkpi/common/src/linux_page.c
stable/12/sys/vm/vm_fault.c
Author: markj
Date: Thu Jun 25 20:30:30 2020
New Revision: 362631
URL: https://svnweb.freebsd.org/changeset/base/362631
Log:
Implement an approximation of Linux MADV_DONTNEED semantics.
Linux MADV_DONTNEED is not advisory: it has side effects for anonymous
memory, and some system
Author: markj
Date: Thu Jun 25 19:27:22 2020
New Revision: 362619
URL: https://svnweb.freebsd.org/changeset/base/362619
Log:
ipfw: Support the literal IPv6 address syntax in the fwd command.
Discussed with: rgrimes, Lutz Donnerhacke
Submitted by: Neel Chauhan
MFC after:2
Author: markj
Date: Thu Jun 25 19:12:27 2020
New Revision: 362618
URL: https://svnweb.freebsd.org/changeset/base/362618
Log:
Add SCTP_SUPPORT to the default kernel options.
Otherwise out-of-tree module builds will be broken for a lack of a
definition of MK_SCTP_SUPPORT.
Reported by:
On Thu, Jun 25, 2020 at 03:21:22PM +, Mark Johnston wrote:
> Author: markj
> Date: Thu Jun 25 15:21:21 2020
> New Revision: 362613
> URL: https://svnweb.freebsd.org/changeset/base/362613
>
> Log:
> Call swap_pager_freespace() from vm_object_page_remove().
>
>
Author: markj
Date: Thu Jun 25 15:25:00 2020
New Revision: 362614
URL: https://svnweb.freebsd.org/changeset/base/362614
Log:
Add SCTP_SUPPORT handling to config.mk.
Reviewed by: jhb, tuexen
MFC after:2 weeks
Sponsored by: The FreeBSD Foundation
Differential Revision:
Author: markj
Date: Thu Jun 25 15:21:21 2020
New Revision: 362613
URL: https://svnweb.freebsd.org/changeset/base/362613
Log:
Call swap_pager_freespace() from vm_object_page_remove().
All vm_object_page_remove() callers, except
linux_invalidate_mapping_pages() in the LinuxKPI, free swap
Author: markj
Date: Wed Jun 24 19:51:03 2020
New Revision: 362592
URL: https://svnweb.freebsd.org/changeset/base/362592
Log:
acpi_ibm(4): Rename disengaged mode to unthrottled mode.
This mode was added in r362496. Rename it to make the meaning more
clear.
PR: 247306
Author: markj
Date: Wed Jun 24 15:46:33 2020
New Revision: 362585
URL: https://svnweb.freebsd.org/changeset/base/362585
Log:
ipfw(4): make O_IPVER/ipversion match IPv4 or 6, not just IPv4.
Submitted by: Neel Chauhan
Reviewed by: Lutz Donnerhacke
MFC after:1 week
Differential
301 - 400 of 3705 matches
Mail list logo