Author: markj
Date: Thu Aug 27 16:34:20 2020
New Revision: 364871
URL: https://svnweb.freebsd.org/changeset/base/364871
Log:
asmc(4): Handle errors from asmc_key_read() properly.
asmc_key_read() returns only 0 and 1, some callers were checking
incorrectly for failure.
PR: 2
Author: markj
Date: Thu Aug 27 16:34:33 2020
New Revision: 364872
URL: https://svnweb.freebsd.org/changeset/base/364872
Log:
fdc(4): Handle errors from fdc_in() properly.
fdc_in() returns only 0 and 1, some callers were checking incorrectly
for failure.
PR: 248940
Submitt
Author: markj
Date: Thu Aug 27 16:36:07 2020
New Revision: 364873
URL: https://svnweb.freebsd.org/changeset/base/364873
Log:
snd_ich(4): Handle errors from ich_init() properly during resume.
ich_init() returns an errno value or 0, but ich_pci_resume() was
comparing the return value with -
Author: markj
Date: Thu Aug 27 17:36:06 2020
New Revision: 364876
URL: https://svnweb.freebsd.org/changeset/base/364876
Log:
Fix writing of the final block of encrypted, compressed kernel dumps.
Previously any residual data in the final block of a compressed kernel
dump would be written u
Author: markj
Date: Mon Oct 19 15:24:35 2020
New Revision: 366834
URL: https://svnweb.freebsd.org/changeset/base/366834
Log:
vmx: Implement pmap (de)activation in C
Rewrite the code that maintains pm_active and invalidates EPTP-tagged
TLB entries in C. Previously this work was done in vm
Author: markj
Date: Mon Oct 19 16:52:27 2020
New Revision: 366837
URL: https://svnweb.freebsd.org/changeset/base/366837
Log:
vmem: Simplify bt_fill() callers a bit
No functional change intended.
Reviewed by: alc, kib, rlibby
MFC after:2 weeks
Sponsored by: The FreeBSD Foundati
Author: markj
Date: Mon Oct 19 16:54:06 2020
New Revision: 366838
URL: https://svnweb.freebsd.org/changeset/base/366838
Log:
vmem: Allocate btags before looping in vmem_xalloc()
BT_MAXALLOC (4) is the number of boundary tags required to complete an
allocation in the worst case: two to cli
Author: markj
Date: Mon Oct 19 16:55:03 2020
New Revision: 366839
URL: https://svnweb.freebsd.org/changeset/base/366839
Log:
uma: Avoid depleting keg reserves when filling a bucket
zone_import() fetches a free or partially free slab from the keg and
then uses its items to populate an arra
Author: markj
Date: Mon Oct 19 16:57:40 2020
New Revision: 366840
URL: https://svnweb.freebsd.org/changeset/base/366840
Log:
uma: Respect uk_reserve in keg_drain()
When a reserve of free items is configured for a zone, the reserve must
not be reclaimed under memory pressure. Modify keg_d
Author: markj
Date: Mon Oct 19 16:57:59 2020
New Revision: 366841
URL: https://svnweb.freebsd.org/changeset/base/366841
Log:
link_elf_obj: Colour VM objects
This will cause the VM to back sufficiently large .text sections, such
as those in zfs.ko or amdgpu.ko on amd64, with superpage mapp
Author: markj
Date: Mon Oct 19 17:07:19 2020
New Revision: 366842
URL: https://svnweb.freebsd.org/changeset/base/366842
Log:
icmp6: Count packets dropped due to an invalid hop limit
Pad the icmp6stat structure so that we can add more counters in the
future without breaking compatibility a
Author: markj
Date: Fri Oct 23 14:15:58 2020
New Revision: 366968
URL: https://svnweb.freebsd.org/changeset/base/366968
Log:
ntb: Fix an assertion to permit >= 32 doorbells
MFC after:1 week
Sponsored by: NetApp, Inc.
Sponsored by: Klara, Inc.
Modified:
head/sys/dev/ntb/ntb_transp
Author: markj
Date: Fri Oct 23 14:16:52 2020
New Revision: 366969
URL: https://svnweb.freebsd.org/changeset/base/366969
Log:
ntb: Add Intel Xeon Gen3 support
The NTB hardware starting with Skylake has some changes to the register
map and the doorbell interface. Add a new NTB_XEON_GEN3 de
Author: markj
Date: Fri Oct 23 14:25:48 2020
New Revision: 366970
URL: https://svnweb.freebsd.org/changeset/base/366970
Log:
Add some missing nv(9) MLINKS
MFC after:1 week
Modified:
head/share/man/man9/Makefile
Modified: head/share/man/man9/Makefile
=
Author: markj
Date: Fri Oct 23 14:56:17 2020
New Revision: 366972
URL: https://svnweb.freebsd.org/changeset/base/366972
Log:
rtsold: Remove an incorrect __unused annotation
MFC after:1 week
Modified:
head/usr.sbin/rtsold/cap_script.c
Modified: head/usr.sbin/rtsold/cap_script.c
=
Author: markj
Date: Fri Oct 23 15:12:06 2020
New Revision: 366973
URL: https://svnweb.freebsd.org/changeset/base/366973
Log:
ntb: Fix the 32-bit build after r366969
Reported by: Jenkins
MFC with: r366969
Modified:
head/sys/dev/ntb/ntb_hw/ntb_hw_intel.c
Modified: head/sys/dev/ntb/
Author: markj
Date: Tue Oct 27 13:27:47 2020
New Revision: 367081
URL: https://svnweb.freebsd.org/changeset/base/367081
Log:
arm64: Remove a racy KASSERT from pmap_remove_pages()
PCPU_GET(curpmap) expands to multiple instructions on arm64, and if the
current thread is migrated in between
On Fri, Oct 30, 2020 at 02:07:25PM +, Mateusz Guzik wrote:
> Author: mjg
> Date: Fri Oct 30 14:07:25 2020
> New Revision: 367165
> URL: https://svnweb.freebsd.org/changeset/base/367165
>
> Log:
> tmpfs: change tmpfs dirent zone into a malloc type
>
> It is 64 bytes.
That could change t
On Fri, Oct 30, 2020 at 03:08:32PM +0100, Mateusz Guzik wrote:
> On 10/30/20, Mateusz Guzik wrote:
> > Author: mjg
> > Date: Fri Oct 30 14:07:25 2020
> > New Revision: 367165
> > URL: https://svnweb.freebsd.org/changeset/base/367165
> >
> > Log:
> > tmpfs: change tmpfs dirent zone into a malloc
Author: markj
Date: Fri Oct 30 17:05:36 2020
New Revision: 367174
URL: https://svnweb.freebsd.org/changeset/base/367174
Log:
opencrypto: Annotate hmac_init_(i|o)pad() to make auth_hash const
This makes them friendlier to drivers that try to use const pointers
whenever possible in their in
Author: markj
Date: Wed Nov 4 16:30:30 2020
New Revision: 367333
URL: https://svnweb.freebsd.org/changeset/base/367333
Log:
refcount(9): Add refcount_release_if_last() and refcount_load()
The former is intended for use in vmspace_exit(). The latter is to
encourage use of explicit loads
Author: markj
Date: Wed Nov 4 16:30:56 2020
New Revision: 367334
URL: https://svnweb.freebsd.org/changeset/base/367334
Log:
vmspace: Convert to refcount(9)
This is mostly mechanical except for vmspace_exit(). There, use the new
refcount_release_if_last() to avoid switching to vmspace0 u
Author: markj
Date: Wed Nov 4 16:42:20 2020
New Revision: 367335
URL: https://svnweb.freebsd.org/changeset/base/367335
Log:
amd64: Make it easier to configure exception stack sizes
The amd64 kernel handles certain types of exceptions on a dedicated
stack. Currently the sizes of these st
+.Xr pci 4 ,
+.Xr random 4 ,
+.Xr crypto 7 ,
+.Xr crypto 9
+.Sh HISTORY
+The
+.Nm
+driver first appeared in
+.Fx 13.0 .
+.Sh AUTHORS
+The
+.Nm
+driver was written for
+.Nx
+by
+.An Hikaru Abe Aq Mt hik...@iij.ad.jp
+and ported to
+.Fx
+by
+.An Mark Johnston Aq Mt ma...@freebsd.org .
+.Sh BUGS
+
Author: markj
Date: Thu Nov 5 16:00:30 2020
New Revision: 367387
URL: https://svnweb.freebsd.org/changeset/base/367387
Log:
Add firmware modules for qat(4)
MFC after:3 days
Sponsored by: Rubicon Communications, LLC (Netgate)
Added:
head/sys/contrib/dev/qat/
head/sys/contrib/dev/
Author: markj
Date: Thu Nov 5 16:00:57 2020
New Revision: 367388
URL: https://svnweb.freebsd.org/changeset/base/367388
Log:
cryptotest: Add qat(4) coverage
MFC after:3 days
Sponsored by: Rubicon Communications, LLC (Netgate)
Modified:
head/tests/sys/opencrypto/cryptotest.py
Modif
Author: markj
Date: Fri Nov 6 16:12:06 2020
New Revision: 367422
URL: https://svnweb.freebsd.org/changeset/base/367422
Log:
Add firmware modules for qat(4), take two
My script to convert git commits to svn patch does not handle binary
files correctly, and r367387 committed a set of empty
Author: markj
Date: Wed Nov 11 13:44:27 2020
New Revision: 367588
URL: https://svnweb.freebsd.org/changeset/base/367588
Log:
Fix a pair of races in SIGIO registration
First, funsetownlst() list looks at the first element of the list to see
whether it's processing a process or a process gr
Author: markj
Date: Wed Nov 11 13:48:07 2020
New Revision: 367589
URL: https://svnweb.freebsd.org/changeset/base/367589
Log:
ffs: Clamp BIO_SPEEDUP length
On 32-bit platforms, the computed size of the BIO_SPEEDUP requested by
softdep_request_cleanup() may be negative when assigned to bp->
On Wed, Nov 11, 2020 at 02:58:32PM +0100, Hans Petter Selasky wrote:
> On 11/11/20 2:44 PM, Mark Johnston wrote:
> > +#defineSIGIO_ASSERT_LOCKED(type) mtx_assert(&sigio_lock, MA_OWNED)
> >
>
> Minor nit: "type" argument can be
Author: markj
Date: Wed Nov 11 14:03:49 2020
New Revision: 367590
URL: https://svnweb.freebsd.org/changeset/base/367590
Log:
Remove an extraneous parameter from SIGIO_ASSERT_LOCKED()
Reported by: hselasky
MFC with: r367588
Modified:
head/sys/sys/signalvar.h
Modified: head/sys/sys
Author: markj
Date: Wed Nov 11 15:01:17 2020
New Revision: 367593
URL: https://svnweb.freebsd.org/changeset/base/367593
Log:
vmm: Make pmap_invalidate_ept() wait synchronously for guest exits
Currently EPT TLB invalidation is done by incrementing a generation
counter and issuing an IPI to
Author: markj
Date: Wed Nov 11 17:16:39 2020
New Revision: 367595
URL: https://svnweb.freebsd.org/changeset/base/367595
Log:
vm_map: Handle kernel map entry allocator recursion
On platforms without a direct map[*], vm_map_insert() may in rare
situations need to allocate a kernel map entry
Author: markj
Date: Wed Nov 11 18:00:06 2020
New Revision: 367596
URL: https://svnweb.freebsd.org/changeset/base/367596
Log:
iflib: Free full mbuf chains when draining transmit queues
Submitted by: Sai Rajesh Tallamraju
Reviewed by: gallatin, hselasky
MFC after:1 week
Sponsored
Author: markj
Date: Thu Nov 12 15:00:48 2020
New Revision: 367617
URL: https://svnweb.freebsd.org/changeset/base/367617
Log:
qat: Fix nits reported by Coverity
MFC after:3 days
Sponsored by: Rubicon Communications, LLC (Netgate)
Modified:
head/sys/dev/qat/qat.c
head/sys/dev/qat/q
Author: markj
Date: Fri Nov 13 16:47:42 2020
New Revision: 367642
URL: https://svnweb.freebsd.org/changeset/base/367642
Log:
df: Remove support for mounting devices
This was marked deprecated in r329092, over two and a half years ago.
This functionality is also buggy per PR 237368.
P
Author: markj
Date: Thu Nov 19 02:50:48 2020
New Revision: 367826
URL: https://svnweb.freebsd.org/changeset/base/367826
Log:
Remove NO_EVENTTIMERS support
The arm configs that required it have been removed from the tree.
Removing this option makes the callout code easier to read and
dis
Author: markj
Date: Thu Nov 19 02:53:29 2020
New Revision: 367827
URL: https://svnweb.freebsd.org/changeset/base/367827
Log:
Move kern_clocksource.c to sys/conf/files
Sponsored by: The FreeBSD Foundation
Modified:
head/sys/conf/files
head/sys/conf/files.amd64
head/sys/conf/files.arm
Author: markj
Date: Thu Nov 19 03:59:21 2020
New Revision: 367828
URL: https://svnweb.freebsd.org/changeset/base/367828
Log:
vm_phys: Try to clean up NUMA KPIs
It can useful for code outside the VM system to look up the NUMA domain
of a page backing a virtual or physical address, specific
On Wed, Nov 18, 2020 at 03:37:36PM -0800, John Baldwin wrote:
> On 11/18/20 2:16 PM, Mateusz Guzik wrote:
> > On 11/17/20, John Baldwin wrote:
> >> On 11/14/20 11:22 AM, Mateusz Guzik wrote:
> > Interested parties can check the consumer (also seen in the diff) to
> > see this is for consistency. I
Author: markj
Date: Thu Nov 19 15:40:58 2020
New Revision: 367844
URL: https://svnweb.freebsd.org/changeset/base/367844
Log:
Micro-optimize vm_page_pqbatch_submit()
Avoid calling vm_page_domain() twice.
Discussed with: alc (in D27207)
Modified:
head/sys/vm/vm_page.c
Modified:
Author: markj
Date: Thu Nov 19 15:41:42 2020
New Revision: 367845
URL: https://svnweb.freebsd.org/changeset/base/367845
Log:
Wrap a long line in vm_pqbatch_process_page()
Modified:
head/sys/vm/vm_page.c
Modified: head/sys/vm/vm_page.c
=
Author: markj
Date: Thu Nov 19 18:37:28 2020
New Revision: 367849
URL: https://svnweb.freebsd.org/changeset/base/367849
Log:
callout(9): Fix a race between CPU migration and callout_drain()
Suppose a running callout re-arms itself, and before the callout
finishes running another CPU calls
Author: markj
Date: Tue Nov 24 16:18:47 2020
New Revision: 367987
URL: https://svnweb.freebsd.org/changeset/base/367987
Log:
pf: Make tag hashing more robust
tagname2tag() hashes the tag name before truncating it to 63 characters.
tag_unref() removes the tag from the name hash by computin
Author: markj
Date: Tue Nov 24 17:12:40 2020
New Revision: 367988
URL: https://svnweb.freebsd.org/changeset/base/367988
Log:
ping(8): Improve parameter validation
- Use strtonum(3) to simplify bounds checking of numeric parameters.
- Fix bounds checking when filling out packet data in "sw
Author: markj
Date: Tue Nov 24 17:13:08 2020
New Revision: 367989
URL: https://svnweb.freebsd.org/changeset/base/367989
Log:
ata(4): Release the ioport resource if device initialization fails
PR: 251346
Submitted by: j...@transactionware.com
MFC after:1 week
Modified:
h
Author: markj
Date: Fri Nov 27 16:35:43 2020
New Revision: 368108
URL: https://svnweb.freebsd.org/changeset/base/368108
Log:
arm: Correctly report the size of FPA registers to GDB
Modern ARM systems do not have an FPA unit but GDB reserves register
indices for FPA registers and expects th
Author: markj
Date: Fri Nov 27 20:46:02 2020
New Revision: 368112
URL: https://svnweb.freebsd.org/changeset/base/368112
Log:
callout(9): Remove some leftover APM BIOS support
This code is obsolete since r366546.
Reviewed by: imp
Sponsored by: The FreeBSD Foundation
Differential Re
Author: markj
Date: Mon Nov 30 16:18:33 2020
New Revision: 368189
URL: https://svnweb.freebsd.org/changeset/base/368189
Log:
uma: Avoid allocating buckets with the cross-domain lock held
Allocation of a bucket can trigger a cross-domain free in the bucket
zone, e.g., if the per-CPU alloc
Author: markj
Date: Mon Nov 30 20:53:25 2020
New Revision: 368193
URL: https://svnweb.freebsd.org/changeset/base/368193
Log:
qat: Fix firmware module autoloading
If firmware_get() fails to find a loaded firmware image, it searches for
candidate KLDs to load. It will search for a KLD cont
Author: markj
Date: Mon Nov 30 20:53:45 2020
New Revision: 368194
URL: https://svnweb.freebsd.org/changeset/base/368194
Log:
qat: Initialize the crypto device ID to -1 instead of 0
Otherwise qat_detach() may attempt to deregister an unrelated crypto
driver if an error occurs in qat_attach
Author: markj
Date: Tue Dec 1 16:06:31 2020
New Revision: 368236
URL: https://svnweb.freebsd.org/changeset/base/368236
Log:
vmem: Revert r364744
A pair of bugs are believed to have caused the hangs described in the
commit log message for r364744:
1. uma_reclaim() could trigger recla
Author: markj
Date: Tue Dec 1 19:34:44 2020
New Revision: 368248
URL: https://svnweb.freebsd.org/changeset/base/368248
Log:
rtsold: Fix multiple buffer overflows
Approved by: so
Security: CVE-2020-25577
MFC after:now
Modified:
head/usr.sbin/rtsold/rtsol.c
Modified: head/us
Author: markj
Date: Wed Dec 2 16:01:43 2020
New Revision: 368276
URL: https://svnweb.freebsd.org/changeset/base/368276
Log:
pf: Fix table entry counter toggling
When updating a table, pf will keep existing table entry structures
corresponding to addresses that are in both of the old and
Author: markj
Date: Wed Dec 2 16:46:45 2020
New Revision: 368278
URL: https://svnweb.freebsd.org/changeset/base/368278
Log:
rtsold: Fix bugs reported by Coverity
- Avoid leaking a socket if llflags_get() fails.
- Avoid leaking a file handle if rtsold_init_dumpfile() fails.
- Tighten th
Author: markj
Date: Thu Dec 3 17:10:00 2020
New Revision: 368306
URL: https://svnweb.freebsd.org/changeset/base/368306
Log:
sdt: Create providers and probes in separate passes when loading sdt.ko
The sdt module's load handler iterates over SDT linker sets for the
kernel and all loaded mo
Author: markj
Date: Thu Dec 3 17:12:31 2020
New Revision: 368307
URL: https://svnweb.freebsd.org/changeset/base/368307
Log:
Always use 64-bit physical addresses for dump_avail[] in minidumps
As of r365978, minidumps include a copy of dump_avail[]. This is an
array of vm_paddr_t ranges.
Author: markj
Date: Sun Dec 6 22:45:22 2020
New Revision: 368398
URL: https://svnweb.freebsd.org/changeset/base/368398
Log:
uma: Use atomic load for uz_sleepers
This field is updated locklessly.
Sponsored by: The FreeBSD Foundation
Modified:
head/sys/vm/uma_core.c
Modified: head/s
Author: markj
Date: Sun Dec 6 22:45:39 2020
New Revision: 368399
URL: https://svnweb.freebsd.org/changeset/base/368399
Log:
uma: Enforce the use of uz_bucket_size_max in the free path
uz_bucket_size_max is the maximum permitted bucket size. When filling a
new bucket to satisfy uma_zallo
Author: markj
Date: Sun Dec 6 22:45:50 2020
New Revision: 368400
URL: https://svnweb.freebsd.org/changeset/base/368400
Log:
uma: Make uma_zone_set_maxcache() work better with small limits
The old implementation chose the largest bucket zone such that if the
per-CPU caches are fully popul
Author: markj
Date: Mon Dec 7 14:52:57 2020
New Revision: 368411
URL: https://svnweb.freebsd.org/changeset/base/368411
Log:
iflib: Detach tasks upon device registration failure
In some error paths we would fail to detach from the iflib taskqueue
groups. Also move the detach code into it
Author: markj
Date: Mon Dec 7 14:53:14 2020
New Revision: 368412
URL: https://svnweb.freebsd.org/changeset/base/368412
Log:
iflib: Avoid leaking the freelist bitmaps upon driver detach
Submitted by: Sai Rajesh Tallamraju
MFC after:2 weeks
Sponsored by: NetApp, Inc.
Differential
Author: markj
Date: Mon Dec 7 14:53:34 2020
New Revision: 368413
URL: https://svnweb.freebsd.org/changeset/base/368413
Log:
Add missing refcount.9 MLINKS
Modified:
head/share/man/man9/Makefile
Modified: head/share/man/man9/Makefile
===
Author: markj
Date: Mon Dec 7 15:09:28 2020
New Revision: 368414
URL: https://svnweb.freebsd.org/changeset/base/368414
Log:
arm: Let the GDB stub write to SP, LR and GP registers
This can be handy if gdb's stack unwinder fails, for example because of
a bug in kgdb's trap frame unwinder.
Author: markj
Date: Wed Dec 9 14:04:54 2020
New Revision: 368485
URL: https://svnweb.freebsd.org/changeset/base/368485
Log:
Use refcount_load(9) to load fd table reference counts
No functional change intended.
Reviewed by: kib, mjg
Sponsored by: The FreeBSD Foundation
Differentia
Author: markj
Date: Wed Dec 9 14:05:08 2020
New Revision: 368486
URL: https://svnweb.freebsd.org/changeset/base/368486
Log:
Plug a race between fd table teardown and several loops
To export information from fd tables we have several loops which do
this:
FILDESC_SLOCK(fdp);
for (i
On Tue, Dec 15, 2020 at 01:59:22PM +0100, Hans Petter Selasky wrote:
> On 12/10/20 9:44 PM, Bryan Drewery wrote:
> > Author: bdrewery
> > Date: Thu Dec 10 20:44:29 2020
> > New Revision: 368523
> > URL: https://svnweb.freebsd.org/changeset/base/368523
> >
> > Log:
> >contig allocs: Don't retry
On Tue, Dec 15, 2020 at 03:33:09PM +0100, Hans Petter Selasky wrote:
> On 12/15/20 3:27 PM, Mark Johnston wrote:
> >> I'm seeing the following panic:
> >>
> >> panic("vm_wait in early boot")
> >> vm_wait_domain()
> >
Author: markj
Date: Fri Dec 18 16:02:28 2020
New Revision: 368762
URL: https://svnweb.freebsd.org/changeset/base/368762
Log:
Fix the ipfw service status output when ipfw.ko isn't loaded
Reported by: lme
Reviewed by: lme
MFC after:1 week
Differential Revision:https://revi
Author: markj
Date: Fri Dec 18 16:04:48 2020
New Revision: 368763
URL: https://svnweb.freebsd.org/changeset/base/368763
Log:
acpi: Ensure that adjacent memory affinity table entries are coalesced
The SRAT may contain multiple distinct entries that together describe a
contiguous region of
On Thu, Jun 18, 2020 at 06:09:16PM +, Jung-uk Kim wrote:
> Author: jkim
> Date: Thu Jun 18 18:09:16 2020
> New Revision: 362333
> URL: https://svnweb.freebsd.org/changeset/base/362333
>
> Log:
> MFV:r362286
>
> Merge flex 2.6.4.
This seems to have introduced a regression: input
On Sat, Feb 13, 2021 at 02:39:56AM -0500, Jung-uk Kim wrote:
> On 21. 2. 13., Jung-uk Kim wrote:
> > On 21. 2. 12., Mark Johnston wrote:
> >> On Thu, Jun 18, 2020 at 06:09:16PM +, Jung-uk Kim wrote:
> >>> Author: jkim
> >>> Date: Thu Jun 18 18:09:16
Author: markj
Date: Wed Dec 4 19:46:48 2019
New Revision: 355399
URL: https://svnweb.freebsd.org/changeset/base/355399
Log:
Fix an off-by-one error in vm_map_pmap_enter().
If the starting pindex is equal to object->size, there is nothing to do.
This was harmless since the rest of vm_map_
Author: markj
Date: Fri Dec 6 23:39:08 2019
New Revision: 355469
URL: https://svnweb.freebsd.org/changeset/base/355469
Log:
Fix fault_type handling in vm_map_lookup().
Suppose that the map entry is wired, so that we later assign
fault_type = entry->protection. Suppose further that we ju
Author: markj
Date: Fri Dec 6 23:39:38 2019
New Revision: 355470
URL: https://svnweb.freebsd.org/changeset/base/355470
Log:
Fix tail -f in capability mode.
We were not adding CAP_EVENT to input file capabilities, so kevent()
always failed with ENOTCAPABLE. tail implements a fallback mod
Author: markj
Date: Fri Dec 6 23:49:37 2019
New Revision: 355471
URL: https://svnweb.freebsd.org/changeset/base/355471
Log:
Fix an inverted condition introduced in r353539.
This would have most likely resulted in read errors causing page leaks.
Submitted by: jeff
Modified:
head/sys
Author: markj
Date: Sat Dec 7 19:36:40 2019
New Revision: 355505
URL: https://svnweb.freebsd.org/changeset/base/355505
Log:
Provide vm_map_entry traversal routines to userspace.
This is required for now to allow libprocstat to compile.
Discussed with: dougm
Modified:
head/sys
Author: markj
Date: Sat Dec 7 20:01:55 2019
New Revision: 355506
URL: https://svnweb.freebsd.org/changeset/base/355506
Log:
gcore: Avoid using vm_map_entry_t.
Use an internally defined structure instead, to avoid relying on kernel
structure details. No functional change intended.
M
Author: markj
Date: Sun Dec 8 00:02:36 2019
New Revision: 355508
URL: https://svnweb.freebsd.org/changeset/base/355508
Log:
Add casts required by the 32-bit build after r355491.
Modified:
head/sys/vm/vm_map.c
Modified: head/sys/vm/vm_map.c
===
Author: markj
Date: Mon Dec 9 19:25:15 2019
New Revision: 355570
URL: https://svnweb.freebsd.org/changeset/base/355570
Log:
Configure headphone redirection for the Dell L780 and X1 Carbon 7th gen.
As we do for many other laptops, put the headphone jack and speakers in
the same associatio
Author: markj
Date: Tue Dec 10 18:14:50 2019
New Revision: 355586
URL: https://svnweb.freebsd.org/changeset/base/355586
Log:
Introduce vm_page_astate.
This is a 32-bit structure embedded in each vm_page, consisting mostly
of page queue state. The use of a structure makes it easy to store
Author: markj
Date: Tue Dec 10 18:15:20 2019
New Revision: 355587
URL: https://svnweb.freebsd.org/changeset/base/355587
Log:
Add a helper function to the swapout daemon's deactivation code.
vm_swapout_object_deactivate_pages() is renamed to
vm_swapout_object_deactivate(), and the loop bod
Author: markj
Date: Thu Dec 12 02:43:24 2019
New Revision: 355644
URL: https://svnweb.freebsd.org/changeset/base/355644
Log:
Rename tdq_ipipending and clear it in sched_switch().
This fixes a regression after r355311. Specifically, sched_preempt()
may trigger a context switch by calling
Author: markj
Date: Thu Dec 12 21:13:20 2019
New Revision: 355672
URL: https://svnweb.freebsd.org/changeset/base/355672
Log:
Implement atomic state updates using the new vm_page_astate_t structure.
Introduce primitives vm_page_astate_load() and vm_page_astate_fcmpset()
to operate on the 3
Author: markj
Date: Thu Dec 12 23:55:34 2019
New Revision: 355680
URL: https://svnweb.freebsd.org/changeset/base/355680
Log:
Avoid relying on silent type casting in the native atomic_load_32.
Reported by: np
Modified:
head/sys/vm/vm_page.h
Modified: head/sys/vm/vm_page.h
==
Author: markj
Date: Fri Dec 13 18:28:01 2019
New Revision: 355720
URL: https://svnweb.freebsd.org/changeset/base/355720
Log:
Restore the reservation of boot pages for bucket zones after r355707.
uma_startup2() sets booted = BOOT_BUCKETS after calling bucket_init(),
but before that assignm
Author: markj
Date: Mon Dec 16 01:27:14 2019
New Revision: 355792
URL: https://svnweb.freebsd.org/changeset/base/355792
Log:
Remove a declaration of sched_clock() redundant after r355779.
Modified:
head/sys/sys/sched.h
Modified: head/sys/sys/sched.h
==
Author: markj
Date: Tue Dec 17 21:34:38 2019
New Revision: 355864
URL: https://svnweb.freebsd.org/changeset/base/355864
Log:
an(4): Require privileges for all SIOCGAIRONET requests.
SIOCGAIRONET allows userspace to query an(4) for various device
properties and configuration, which appears
Author: markj
Date: Wed Dec 18 01:56:38 2019
New Revision: 355874
URL: https://svnweb.freebsd.org/changeset/base/355874
Log:
Fix the aflag shift on big-endian platforms after r355672.
The structure offset is zero regardless of endianness.
Reported by: brooks
Pointy hat: markj
Mod
Author: markj
Date: Wed Dec 18 18:44:16 2019
New Revision: 355885
URL: https://svnweb.freebsd.org/changeset/base/355885
Log:
oce: Tighten input validation in the SIOCGI2C handler.
Missing validation meant that it was possible to read 8 bytes beyond
the end of sfp_vpd_dump_buffer.
Rep
Author: markj
Date: Wed Dec 18 21:41:53 2019
New Revision: 355887
URL: https://svnweb.freebsd.org/changeset/base/355887
Log:
vnic: Relax PHY node matching after r336281.
The phy name may apparently be followed by a number in some systems.
Allow that.
PR: 242654
Reported a
Author: markj
Date: Thu Dec 19 19:34:25 2019
New Revision: 355916
URL: https://svnweb.freebsd.org/changeset/base/355916
Log:
Fix SIGINFO stack collection to ignore threads with swapped-out stacks.
We by definition cannot trace the stack of such a thread. Also remove a
redundant stack_zer
Author: markj
Date: Fri Dec 20 17:21:57 2019
New Revision: 355938
URL: https://svnweb.freebsd.org/changeset/base/355938
Log:
Fix a memory leak in if_delgroups() introduced in r334118.
PR: 242712
Submitted by: ghuckri...@blackberry.com
MFC after:3 days
Modified:
head/sys
Author: markj
Date: Fri Dec 20 20:10:26 2019
New Revision: 355941
URL: https://svnweb.freebsd.org/changeset/base/355941
Log:
mii(4): Fix ivars leak when the bus device or bus children detach.
PR: 242727
Submitted by: ghuckri...@blackberry.com
MFC after:1 week
Modified:
Author: markj
Date: Fri Dec 20 20:15:34 2019
New Revision: 355942
URL: https://svnweb.freebsd.org/changeset/base/355942
Log:
Deduplicate code between if_delgroup() and if_delgroups().
Fix some style in if_addgroup(). No functional change intended.
Reviewed by: hselasky
MFC after:
Author: markj
Date: Sat Dec 21 19:04:05 2019
New Revision: 355985
URL: https://svnweb.freebsd.org/changeset/base/355985
Log:
Fix VPO_UNMANAGED handling in vm_page_reclaim_run() after r353540.
When allocating a replacement page we must clear VPO_UNMANAGED since we
only ever reclaim pages f
Author: markj
Date: Sun Dec 22 21:56:47 2019
New Revision: 356029
URL: https://svnweb.freebsd.org/changeset/base/356029
Log:
lagg: Clean up handling of the rr_limit option.
- Don't allow an unprivileged user to set the stride. [1]
- Only set the stride under the softc lock.
- Rename the
Author: markj
Date: Sun Dec 22 22:10:20 2019
New Revision: 356030
URL: https://svnweb.freebsd.org/changeset/base/356030
Log:
Compile uart_cpu_acpi.c, added in r348195, into uart.ko.
PR: 242771
MFC after:3 days
Sponsored by: The FreeBSD Foundation
Modified:
head/sys/modu
Author: markj
Date: Mon Dec 23 23:43:50 2019
New Revision: 356047
URL: https://svnweb.freebsd.org/changeset/base/356047
Log:
oce: Disallow the passthrough ioctl for unprivileged users.
A missing check meant that unprivileged users could send passthrough
commands to the device firmware.
Author: markj
Date: Fri Dec 27 01:12:54 2019
New Revision: 356107
URL: https://svnweb.freebsd.org/changeset/base/356107
Log:
Plug some ifaddr refcount leaks.
- Only take an ifaddr ref in in rt_exportinfo() if the caller explicitly
requests it. Take care to release it in this case.
-
701 - 800 of 2372 matches
Mail list logo