Author: markj
Date: Tue Oct 8 23:52:04 2019
New Revision: 35
URL: https://svnweb.freebsd.org/changeset/base/35
Log:
Fix a bug in r353332 that snuck in with a last-minute adjustment.
Reported by: Jenkins
MFC with: r353332
Sponsored by: The FreeBSD Foundation
Modified:
he
Author: markj
Date: Fri Oct 11 17:23:23 2019
New Revision: 353444
URL: https://svnweb.freebsd.org/changeset/base/353444
Log:
Remove an unneeded include of opt_sctp.h.
MFC after:1 week
Sponsored by: The FreeBSD Foundation
Modified:
head/sys/dev/xen/netback/netback.c
Modified: head/
Author: markj
Date: Sat Oct 12 22:58:33 2019
New Revision: 353457
URL: https://svnweb.freebsd.org/changeset/base/353457
Log:
Add a missing include of opt_sctp.h.
MFC after:1 week
Sponsored by: The FreeBSD Foundation
Modified:
head/sys/netinet6/ip6_forward.c
Modified: head/sys/neti
Author: markj
Date: Sat Oct 12 23:01:16 2019
New Revision: 353458
URL: https://svnweb.freebsd.org/changeset/base/353458
Log:
Add a missing include of opt_sctp.h.
MFC after:1 week
Sponsored by: The FreeBSD Foundation
Modified:
head/sys/modules/pf/Makefile
head/sys/netpfil/pf/pf.c
Author: markj
Date: Sun Oct 13 00:08:17 2019
New Revision: 353460
URL: https://svnweb.freebsd.org/changeset/base/353460
Log:
Fix the build after r353458.
MFC with: r353458
Sponsored by: The FreeBSD Foundation
Modified:
head/sys/netpfil/pf/pf.c
Modified: head/sys/netpfil/pf/pf.c
==
Author: markj
Date: Sun Oct 13 16:14:04 2019
New Revision: 353477
URL: https://svnweb.freebsd.org/changeset/base/353477
Log:
Move SCTP DTrace probe definitions into a .c file.
Previously they were defined in a header which was included exactly
once. Change this to follow the usual practi
Author: markj
Date: Wed Oct 16 15:50:12 2019
New Revision: 353650
URL: https://svnweb.freebsd.org/changeset/base/353650
Log:
Clear PGA_WRITEABLE in moea_pvo_remove().
moea_pvo_remove() might remove the last mapping of a page, in which case
it is clearly no longer writeable. This can happ
Author: markj
Date: Wed Oct 16 21:47:58 2019
New Revision: 353666
URL: https://svnweb.freebsd.org/changeset/base/353666
Log:
Correct the range boundaries used by kern_mincore().
Reported by: alc
Sponsored by: Netflix
Modified:
head/sys/vm/vm_mmap.c
Modified: head/sys/vm/vm_mmap.c
===
Author: markj
Date: Wed Oct 16 22:03:27 2019
New Revision: 353670
URL: https://svnweb.freebsd.org/changeset/base/353670
Log:
Remove page locking from pmap_mincore().
After r352110 the page lock no longer protects a page's identity, so
there is no purpose in locking the page in pmap_mincor
Author: markj
Date: Wed Oct 16 22:06:19 2019
New Revision: 353671
URL: https://svnweb.freebsd.org/changeset/base/353671
Log:
Use KOBJMETHOD_END in the kernel linker.
MFC after:1 week
Modified:
head/sys/kern/link_elf.c
head/sys/kern/link_elf_obj.c
Modified: head/sys/kern/link_elf.c
Author: markj
Date: Wed Oct 16 22:12:34 2019
New Revision: 353672
URL: https://svnweb.freebsd.org/changeset/base/353672
Log:
Introduce pmap_change_prot() for amd64.
This updates the protection attributes of subranges of the kernel map.
Unlike pmap_protect(), which is typically used for us
Author: markj
Date: Wed Oct 16 22:19:56 2019
New Revision: 353673
URL: https://svnweb.freebsd.org/changeset/base/353673
Log:
Formalize the use of linker scripts for kernel modules.
Automatically apply ldscript.kmod.${MACHINE_ARCH} if it exists.
We already have an i386-specific linker scri
On Thu, Oct 17, 2019 at 04:02:34PM +, Gleb Smirnoff wrote:
> Author: glebius
> Date: Thu Oct 17 16:02:34 2019
> New Revision: 353683
> URL: https://svnweb.freebsd.org/changeset/base/353683
>
> Log:
> igmp_v1v2_queue_report() doesn't require epoch.
igmp_v1v2_queue_report() calls netisr_dispa
On Thu, Oct 17, 2019 at 11:37:44AM -0600, Alan Somers wrote:
> On Mon, Sep 30, 2019 at 11:28 AM Mark Johnston wrote:
>
> > Author: markj
> > Date: Mon Sep 30 17:27:59 2019
> > New Revision: 352909
> > URL: https://svnweb.freebsd.org/changeset/base/352909
>
Author: markj
Date: Thu Oct 17 20:46:33 2019
New Revision: 353698
URL: https://svnweb.freebsd.org/changeset/base/353698
Log:
Belatedly bump __FreeBSD_version for r353537 and related commits.
At least one small update to the out-of-tree DRM drivers is required
now that cdev_pager_free_page
On Thu, Oct 17, 2019 at 01:05:42PM -0600, Alan Somers wrote:
> On Thu, Oct 17, 2019 at 12:48 PM Ian Lepore wrote:
>
> > On Thu, 2019-10-17 at 12:17 -0600, Alan Somers wrote:
> > > There might be something wrong with my environment:
> > > /usr/include/libcasper.h is absent. But still, shouldn't t
Author: markj
Date: Thu Oct 17 21:25:50 2019
New Revision: 353699
URL: https://svnweb.freebsd.org/changeset/base/353699
Log:
Clean up some nits in link_elf_(un)load_file().
- Remove a redundant assignment of ef->address.
- Don't return a Mach error number to the caller if vm_map_find() fa
+ *
+ * Copyright (c) 2019 Mark Johnston
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *notice, this list of
Author: markj
Date: Fri Oct 18 13:53:14 2019
New Revision: 353729
URL: https://svnweb.freebsd.org/changeset/base/353729
Log:
Apply mapping protections to .o kernel modules.
Use the section flags to derive mapping protections. When multiple
sections overlap within a page, the union of the
Author: markj
Date: Fri Oct 18 13:56:45 2019
New Revision: 353730
URL: https://svnweb.freebsd.org/changeset/base/353730
Log:
Apply mapping protections to preloaded kernel modules on amd64.
With an upcoming change the amd64 kernel will map preloaded files RW
instead of RWX, so the kernel l
Author: markj
Date: Fri Oct 18 14:05:13 2019
New Revision: 353731
URL: https://svnweb.freebsd.org/changeset/base/353731
Log:
Tighten mapping protections on preloaded files on amd64.
- We load the kernel at 0x20. Memory below that address need not
be executable, so do not map it as
Author: markj
Date: Fri Oct 18 17:01:27 2019
New Revision: 353733
URL: https://svnweb.freebsd.org/changeset/base/353733
Log:
Abbreviate softdep lock names.
The softdep lock names were unusually long and tended to stick out in
lock profiling reports. Abbreviate them and make them consiste
Author: markj
Date: Fri Oct 18 17:36:42 2019
New Revision: 353734
URL: https://svnweb.freebsd.org/changeset/base/353734
Log:
Further constrain the use of per-CPU caches for free pages.
In low memory conditions a significant number of pages may end up stuck
in the caches, and currently the
Author: markj
Date: Tue Oct 22 14:20:06 2019
New Revision: 353886
URL: https://svnweb.freebsd.org/changeset/base/353886
Log:
Avoid reloading bucket pointers in uma_vm_zone_stats().
The correctness of per-CPU cache accounting in that function is
dependent on reading per-CPU pointers exactl
On Tue, Oct 22, 2019 at 08:29:13AM -0700, Gleb Smirnoff wrote:
> Li-Wen,
>
> On Tue, Oct 22, 2019 at 04:28:45PM +0800, Li-Wen Hsu wrote:
> L> > Modified: head/sys/kern/subr_epoch.c
> L> >
> ==
> L> > --- head/sys/kern/s
Author: markj
Date: Tue Oct 22 16:52:56 2019
New Revision: 353893
URL: https://svnweb.freebsd.org/changeset/base/353893
Log:
Fix thread0 kernel stack initialization on riscv.
- td_kstack_pages was not being initialized.
- td_kstack is supposed to be the base address of the stack region,
Author: markj
Date: Tue Oct 22 17:22:10 2019
New Revision: 353895
URL: https://svnweb.freebsd.org/changeset/base/353895
Log:
Apply r353893 to arm64.
Reported by: Jenkins (hardware CI lab)
MFC after:1 week
Sponsored by: The FreeBSD Foundation
Modified:
head/sys/arm64/arm64/locore
Author: markj
Date: Tue Oct 22 17:21:23 2019
New Revision: 353894
URL: https://svnweb.freebsd.org/changeset/base/353894
Log:
Initialize thread0.td_kstack_pages on arm.
Fix style on the line below.
Reported by: Jenkins (hardware CI lab)
MFC after:1 week
Sponsored by: The FreeBS
Author: markj
Date: Wed Oct 23 16:53:37 2019
New Revision: 353935
URL: https://svnweb.freebsd.org/changeset/base/353935
Log:
Set OBJ_NOSPLIT on the ksyms(4) VM object.
The object does not provide anonymous memory.
Reported by: kib
Reviewed by: kib
MFC after:3 days
Sponsored
Author: markj
Date: Wed Oct 23 17:58:19 2019
New Revision: 353956
URL: https://svnweb.freebsd.org/changeset/base/353956
Log:
Verify identity after checking for WAITFAIL in vm_page_busy_acquire().
A caller that does not guarantee that a page's identity won't change
while sleeping for a bus
Author: markj
Date: Wed Oct 23 18:00:22 2019
New Revision: 353957
URL: https://svnweb.freebsd.org/changeset/base/353957
Log:
Check for bogus_page in vnode_pager_generic_getpages_done().
We now assert that a page is busy when updating its validity-tracking
state, but bogus_page is not busi
Author: markj
Date: Wed Oct 23 20:39:21 2019
New Revision: 353964
URL: https://svnweb.freebsd.org/changeset/base/353964
Log:
Modify release_page() to handle a missing fault page.
r353890 introduced a case where we may call release_page() with
fs.m == NULL, since the fault handler may now
Author: markj
Date: Fri Oct 25 20:15:04 2019
New Revision: 354096
URL: https://svnweb.freebsd.org/changeset/base/354096
Log:
Apply kernel module linker scripts to firmware files.
Use a separate make variable to specify the linker script so that it is
only applied at link time and not duri
Author: markj
Date: Wed Oct 30 19:36:50 2019
New Revision: 354201
URL: https://svnweb.freebsd.org/changeset/base/354201
Log:
Add firmware images for Intel 9000-series wifi chips.
This is in preparation for adding the corresponding support to iwm(4).
Version 46 is the latest but contain
Author: markj
Date: Thu Oct 31 14:22:54 2019
New Revision: 354215
URL: https://svnweb.freebsd.org/changeset/base/354215
Log:
Fix a typo in r353895.
Reported by: andrew
MFC after:3 days
Sponsored by: The FreeBSD Foundation
Modified:
head/sys/arm64/arm64/machdep.c
Modified: head/
Author: markj
Date: Sun Nov 3 03:23:27 2019
New Revision: 354276
URL: https://svnweb.freebsd.org/changeset/base/354276
Log:
Downgrade the firmware images imported in r354201.
Version 43 requires further modifications to iwm(4), and this was not
caught in some initial testing. Version 34
Author: markj
Date: Wed Nov 6 01:42:30 2019
New Revision: 354368
URL: https://svnweb.freebsd.org/changeset/base/354368
Log:
fileargs_init() sets errno on failure.
Sponsored by: The FreeBSD Foundation
Modified:
head/usr.bin/brandelf/brandelf.c
head/usr.bin/head/head.c
head/usr.bin/ta
Author: markj
Date: Wed Nov 6 16:59:16 2019
New Revision: 354400
URL: https://svnweb.freebsd.org/changeset/base/354400
Log:
Fix a race in release_page().
Since r354156 we may call release_page() without the page's object lock
held, specifically following the page copy during a CoW fault.
Author: markj
Date: Wed Nov 6 17:03:06 2019
New Revision: 354402
URL: https://svnweb.freebsd.org/changeset/base/354402
Log:
Convert ksyms(4) to use an OBJT_PHYS object.
The pages stored in the ksyms object are not pageable. Moreover, this
obviates the need to set OBJ_NOSPLIT.
Revie
Author: markj
Date: Thu Nov 7 18:26:29 2019
New Revision: 354461
URL: https://svnweb.freebsd.org/changeset/base/354461
Log:
Drop Giant before sleeping on a busy page.
Before the page busy code was converted to make direct use of
sleepqueues, this was handled by _sleep().
Reported by
Author: markj
Date: Thu Nov 7 23:27:54 2019
New Revision: 354492
URL: https://svnweb.freebsd.org/changeset/base/354492
Log:
iwm: Fix style in the TX path.
Also ensure that the htole* macros are applied correctly when specifying
the segment length and upper address bits. No functional ch
Author: markj
Date: Thu Nov 7 23:29:00 2019
New Revision: 354493
URL: https://svnweb.freebsd.org/changeset/base/354493
Log:
iwm: Remove a couple of unused fields from the softc.
MFC after:2 weeks
Sponsored by: The FreeBSD Foundation
Modified:
head/sys/dev/iwm/if_iwmvar.h
Modified
Author: markj
Date: Thu Nov 7 23:29:25 2019
New Revision: 354494
URL: https://svnweb.freebsd.org/changeset/base/354494
Log:
iwm: Simplify fw_has_{api,capa}().
No functional change intended.
MFC after:2 weeks
Sponsored by: The FreeBSD Foundation
Modified:
head/sys/dev/iwm/if_i
Author: markj
Date: Thu Nov 7 23:29:43 2019
New Revision: 354495
URL: https://svnweb.freebsd.org/changeset/base/354495
Log:
iwm: Call iwm_dev_check() earlier in iwm_attach().
This ensures that the driver softc reflects device capabilities as early
as possible, for use by device initializ
Author: markj
Date: Thu Nov 7 23:29:57 2019
New Revision: 354496
URL: https://svnweb.freebsd.org/changeset/base/354496
Log:
iwm: Avoid calling iwm_start() each time a descriptor is reclaimed.
Only perform the call when a qfull bit transitions. While here, avoid
assignments in declaratio
Author: markj
Date: Thu Nov 7 23:34:28 2019
New Revision: 354499
URL: https://svnweb.freebsd.org/changeset/base/354499
Log:
iwm: Add a few _prph functions needed for 9000-series chips.
MFC after:2 weeks
Sponsored by: The FreeBSD Foundation
Modified:
head/sys/dev/iwm/if_iwm_pcie_tr
Author: markj
Date: Thu Nov 7 23:33:58 2019
New Revision: 354497
URL: https://svnweb.freebsd.org/changeset/base/354497
Log:
iwm: Define a name for TLV 48.
MFC after:2 weeks
Sponsored by: The FreeBSD Foundation
Modified:
head/sys/dev/iwm/if_iwm.c
head/sys/dev/iwm/if_iwmreg.h
Mod
Author: markj
Date: Thu Nov 7 23:34:12 2019
New Revision: 354498
URL: https://svnweb.freebsd.org/changeset/base/354498
Log:
iwm: Sync the TLV API enum with iwlwifi.
MFC after:2 weeks
Sponsored by: The FreeBSD Foundation
Modified:
head/sys/dev/iwm/if_iwmreg.h
Modified: head/sys/de
Author: markj
Date: Thu Nov 7 23:35:01 2019
New Revision: 354501
URL: https://svnweb.freebsd.org/changeset/base/354501
Log:
iwm: Add a device family definition for 9000 chips.
Convert existing device family checks to avoid assuming that the device
family is always one of IWM_DEVICE_FAMIL
Author: markj
Date: Thu Nov 7 23:35:15 2019
New Revision: 354502
URL: https://svnweb.freebsd.org/changeset/base/354502
Log:
iwm: Use the same delays as iwlwifi when resetting the device.
This is required for initialization to succeed for newer device
families.
MFC after:2 weeks
Author: markj
Date: Thu Nov 7 23:34:41 2019
New Revision: 354500
URL: https://svnweb.freebsd.org/changeset/base/354500
Log:
iwm: Add 9000-series RX register definitions.
MFC after:2 weeks
Sponsored by: The FreeBSD Foundation
Modified:
head/sys/dev/iwm/if_iwmreg.h
Modified: head/s
Author: markj
Date: Thu Nov 7 23:35:54 2019
New Revision: 354504
URL: https://svnweb.freebsd.org/changeset/base/354504
Log:
iwm: Add device configuration definitions for 9000-series chips.
Match such chips using the device ID. We should really be checking the
subdevice as well, since a
Author: markj
Date: Thu Nov 7 23:35:29 2019
New Revision: 354503
URL: https://svnweb.freebsd.org/changeset/base/354503
Log:
iwm: Sync the firmware tx_cmd descriptor fields with iwlwifi.
MFC after:2 weeks
Sponsored by: The FreeBSD Foundation
Modified:
head/sys/dev/iwm/if_iwm.c
he
Author: markj
Date: Thu Nov 7 23:36:10 2019
New Revision: 354505
URL: https://svnweb.freebsd.org/changeset/base/354505
Log:
iwm: Define the mqrx_supported capability.
The firmware for 9000-series and newer devices has a different receive
API which supports multiple queues.
MFC after
Author: markj
Date: Thu Nov 7 23:37:17 2019
New Revision: 354509
URL: https://svnweb.freebsd.org/changeset/base/354509
Log:
iwm: Fix scheduler configuration for aux and cmd queue configuration.
- Configure the scheduler only for the management queue.
- Fix a bug when enabling the schdule
Author: markj
Date: Thu Nov 7 23:36:25 2019
New Revision: 354506
URL: https://svnweb.freebsd.org/changeset/base/354506
Log:
iwm: Explicitly enable MSI on newer chipsets.
9000-series chips implement support for MSI-X interrupts and disable MSI
by default.
MFC after:2 weeks
Spon
Author: markj
Date: Thu Nov 7 23:36:46 2019
New Revision: 354507
URL: https://svnweb.freebsd.org/changeset/base/354507
Log:
iwm: Enable all 31 tx queues.
For now iwm only ever uses queue 0 and the management queue, but my 9560
raises a software error interrupt during initialization if th
Author: markj
Date: Thu Nov 7 23:38:17 2019
New Revision: 354512
URL: https://svnweb.freebsd.org/changeset/base/354512
Log:
iwm: Use antenna B for TX on 9000-series chips.
MFC after:2 weeks
Sponsored by: The FreeBSD Foundation
Modified:
head/sys/dev/iwm/if_iwm.c
Modified: head/sy
Author: markj
Date: Thu Nov 7 23:37:55 2019
New Revision: 354511
URL: https://svnweb.freebsd.org/changeset/base/354511
Log:
iwm: Update the station add command for the new RX API.
The firmware expects a new version of the add-station command in
9000-series chips.
MFC after:2 wee
Author: markj
Date: Thu Nov 7 23:37:02 2019
New Revision: 354508
URL: https://svnweb.freebsd.org/changeset/base/354508
Log:
iwm: Implement the new receive path.
This is the multiqueue receive code required for 9000-series chips.
Note that we still only configure a single RX queue for now
Author: markj
Date: Thu Nov 7 23:37:30 2019
New Revision: 354510
URL: https://svnweb.freebsd.org/changeset/base/354510
Log:
iwm: Sync with iwm_run_init_mvm_ucode() with iwlwifi.
Do not configure bluetooth on newer chips, it causes firmware panics.
MFC after:2 weeks
Sponsored by:
Author: markj
Date: Thu Nov 7 23:39:04 2019
New Revision: 354515
URL: https://svnweb.freebsd.org/changeset/base/354515
Log:
iwm: Implement support for scans with "adaptive" dwell time.
This is required by 9000-series firmware.
MFC after:2 weeks
Sponsored by: The FreeBSD Foundati
Author: markj
Date: Thu Nov 7 23:38:49 2019
New Revision: 354514
URL: https://svnweb.freebsd.org/changeset/base/354514
Log:
iwm: Use the default station for all transmits.
This is what iwlwifi seems to do, and the previous behaviour triggered
firmware panics during transmit on a 9560.
Author: markj
Date: Thu Nov 7 23:38:36 2019
New Revision: 354513
URL: https://svnweb.freebsd.org/changeset/base/354513
Log:
iwm: Set flag for pad bytes in offload_assist.
Though we don't otherwise use firmware's offload capabilities, we need
to set this flag when the MAC header's size is
Author: markj
Date: Thu Nov 7 23:39:33 2019
New Revision: 354517
URL: https://svnweb.freebsd.org/changeset/base/354517
Log:
Update iwm and iwmfw man pages with info about 9000-series chips.
Thanks to bapt, bz, cem, woodsb02, Neel Chauhan and Salvador Martínez
Mármol for helping test the
Author: markj
Date: Thu Nov 7 23:39:17 2019
New Revision: 354516
URL: https://svnweb.freebsd.org/changeset/base/354516
Log:
iwm: Sync device initialization and reset code with iwlwifi.
MFC after:2 weeks
Sponsored by: The FreeBSD Foundation
Modified:
head/sys/dev/iwm/if_iwm.c
hea
Author: markj
Date: Fri Nov 8 00:01:37 2019
New Revision: 354521
URL: https://svnweb.freebsd.org/changeset/base/354521
Log:
Document iwm(4) support for 9000-series devices.
Sponsored by: The FreeBSD Foundation
Modified:
head/RELNOTES
Modified: head/RELNOTES
On Fri, Nov 08, 2019 at 03:15:41PM +, Glen Barber wrote:
> On Wed, Jul 17, 2019 at 07:09:06PM +0000, Mark Johnston wrote:
> > Author: markj
> > Date: Wed Jul 17 19:09:05 2019
> > New Revision: 350089
> > URL: https://svnweb.freebsd.org/changeset/base/350089
> &g
Author: markj
Date: Fri Nov 8 20:47:59 2019
New Revision: 354562
URL: https://svnweb.freebsd.org/changeset/base/354562
Log:
Add new iwm(4) files to sys/conf/files.
Submitted by: rea
MFC with: r354504
Modified:
head/sys/conf/files
Modified: head/sys/conf/files
Author: markj
Date: Mon Nov 11 20:44:30 2019
New Revision: 354629
URL: https://svnweb.freebsd.org/changeset/base/354629
Log:
Fix handling of PIPE_EOF in the direct write path.
Suppose a writing thread has pinned its pages and gone to sleep with
pipe_map.cnt > 0. Suppose that the thread i
Author: markj
Date: Mon Nov 18 15:36:46 2019
New Revision: 354815
URL: https://svnweb.freebsd.org/changeset/base/354815
Log:
Let arm64 pmap_qenter() and pmap_kenter() unconditionally set NX.
As on amd64, there is no need for mappings created by these functions to
be executable.
Revie
Author: markj
Date: Mon Nov 18 15:37:01 2019
New Revision: 354816
URL: https://svnweb.freebsd.org/changeset/base/354816
Log:
Implement vm.pmap.kernel_maps for arm64.
Reviewed by: alc
MFC after:2 weeks
Differential Revision:https://reviews.freebsd.org/D22142
Modified:
hea
Author: markj
Date: Mon Nov 18 18:22:41 2019
New Revision: 354820
URL: https://svnweb.freebsd.org/changeset/base/354820
Log:
Widen the vm_page aflags field to 16 bits.
We are now out of aflags bits, whereas the "flags" field only makes use
of five of its sixteen bits, so narrow "flags" to
Author: markj
Date: Mon Nov 18 18:25:51 2019
New Revision: 354821
URL: https://svnweb.freebsd.org/changeset/base/354821
Log:
Group per-domain reservation data in the same structure.
We currently have the per-domain partially populated reservation queues
and the per-domain queue locks. De
Author: markj
Date: Mon Nov 18 18:34:23 2019
New Revision: 354822
URL: https://svnweb.freebsd.org/changeset/base/354822
Log:
Fix inconsistencies in anonymous DOF files.
The DOF file output by dtrace -A contains only the loadable sections.
However, as it was created by a call to dtrace_dof
Author: markj
Date: Mon Nov 18 19:05:52 2019
New Revision: 354824
URL: https://svnweb.freebsd.org/changeset/base/354824
Log:
Fix grammar in gpart.8.
PR: 241973
MFC after:3 days
Modified:
head/lib/geom/part/gpart.8
Modified: head/lib/geom/part/gpart.8
On Mon, Nov 18, 2019 at 12:43:48PM -0700, Alan Somers wrote:
> On Mon, Nov 18, 2019 at 12:06 PM Mark Johnston wrote:
>
> > Author: markj
> > Date: Mon Nov 18 19:05:52 2019
> > New Revision: 354824
> > URL: https://svnweb.freebsd.org/changeset/base/354824
> >
&
Author: markj
Date: Mon Nov 18 20:03:28 2019
New Revision: 354826
URL: https://svnweb.freebsd.org/changeset/base/354826
Log:
Set MALLOC_DEBUG_MAXZONES=1 in GENERIC-NODEBUG configurations.
The purpose of this option is to make it easier to track down memory
corruption bugs by reducing the
On Mon, Nov 18, 2019 at 08:35:30PM +, Alexey Dokuchaev wrote:
> On Mon, Nov 18, 2019 at 01:09:19PM -0700, Alan Somers wrote:
> > On Mon, Nov 18, 2019 at 12:48 PM Mark Johnston wrote:
> > > On Mon, Nov 18, 2019 at 12:43:48PM -0700, Alan Somers wrote:
> > > > On
Author: markj
Date: Mon Nov 18 20:55:01 2019
New Revision: 354829
URL: https://svnweb.freebsd.org/changeset/base/354829
Log:
Add a "B" suffix to memory quantities in top(1) output.
Otherwise small quantities look nonsensical. For instance, when
swapping in a single page we would print "4
Author: markj
Date: Thu Nov 21 00:17:14 2019
New Revision: 354926
URL: https://svnweb.freebsd.org/changeset/base/354926
Log:
Avoid relying on pollution from libcasper.h.
Reported by: sjg
Sponsored by: The FreeBSD Foundation
Modified:
head/usr.sbin/rtsold/cap_llflags.c
Modified: head/
Author: markj
Date: Fri Nov 22 16:25:00 2019
New Revision: 355000
URL: https://svnweb.freebsd.org/changeset/base/355000
Log:
Fix typos in the cpuset_{get,set}domain() man page.
MFC after:1 week
Sponsored by: The FreeBSD Foundation
Modified:
head/lib/libc/sys/cpuset_getdomain.2
Mod
Author: markj
Date: Fri Nov 22 16:28:52 2019
New Revision: 355001
URL: https://svnweb.freebsd.org/changeset/base/355001
Log:
Fix locking in vm_reserv_reclaim_contig().
We were not properly handling the case where the trylock of the
reservaton fails, in which case we could leak reservation
Author: markj
Date: Fri Nov 22 16:30:47 2019
New Revision: 355002
URL: https://svnweb.freebsd.org/changeset/base/355002
Log:
Revise the page cache size policy.
In r353734 the use of the page caches was limited to systems with a
relatively large amount of RAM per CPU. This was to mitigate
Author: markj
Date: Fri Nov 22 16:31:30 2019
New Revision: 355004
URL: https://svnweb.freebsd.org/changeset/base/355004
Log:
Reclaim memory from UMA if the page daemon is struggling.
Use the UMA reclaim thread to asynchronously drain all caches if
there is a severe shortage in a domain.
Author: markj
Date: Fri Nov 22 16:31:10 2019
New Revision: 355003
URL: https://svnweb.freebsd.org/changeset/base/355003
Log:
Update the checks in vm_page_zone_import().
- Remove the cnt == 1 check. UMA passes cnt == 1 when it has disabled
per-CPU caching. In this case we might as well
Author: markj
Date: Fri Nov 22 16:31:43 2019
New Revision: 355005
URL: https://svnweb.freebsd.org/changeset/base/355005
Log:
Simplify vm_pageout_init_domain() and add a "big picture" comment.
Stop subtracting 1024/200 from vmd_page_count/200. I cannot see how
such precise accounting can
Author: markj
Date: Wed Nov 27 20:32:31 2019
New Revision: 355143
URL: https://svnweb.freebsd.org/changeset/base/355143
Log:
iwm(4): Fix version string formatting.
MFC after:2 weeks
Sponsored by: The FreeBSD Foundation
Modified:
head/sys/dev/iwm/if_iwm.c
Modified: head/sys/dev/iwm
Author: markj
Date: Wed Nov 27 20:32:53 2019
New Revision: 355144
URL: https://svnweb.freebsd.org/changeset/base/355144
Log:
iwm(4): Remove _mvm from the namespace.
This was inherited from iwlwifi, which drives devices supported by both
iwn(4) and iwm(4) in FreeBSD. In iwm(4) _mvm is mea
Author: markj
Date: Mon Aug 19 16:29:51 2019
New Revision: 351219
URL: https://svnweb.freebsd.org/changeset/base/351219
Log:
Fix netdump buffering after r348473.
nd_buf is used to buffer headers (for both the kernel dump itself and
for EKCD) before the final call to netdump_dumper(), whic
Author: markj
Date: Tue Aug 20 17:52:12 2019
New Revision: 351262
URL: https://svnweb.freebsd.org/changeset/base/351262
Log:
Use a sleepable lock for midistat functions.
Otherwise the mutex needs to be dropped when copying out the midistat
sbuf, leading to a race which allows one to read
Author: markj
Date: Wed Aug 21 15:52:10 2019
New Revision: 351331
URL: https://svnweb.freebsd.org/changeset/base/351331
Log:
Don't requeue active pages in vm_swapout_object_deactivate_pages().
As of r332974 the page daemon does not requeue pages during a scan
of the active queue, so there
Author: markj
Date: Wed Aug 21 16:01:17 2019
New Revision: 351332
URL: https://svnweb.freebsd.org/changeset/base/351332
Log:
Unconditionally enable debug.vm_lowmem.
It is useful for testing purposes to be able to drain UMA caches, so
do not limit the sysctl to DIAGNOSTIC kernels.
MFC
Author: markj
Date: Wed Aug 21 16:11:12 2019
New Revision: 351333
URL: https://svnweb.freebsd.org/changeset/base/351333
Log:
Simplify vm_page_dequeue() and fix an assertion.
- Add a vm_pagequeue_remove() function to physically remove a page
from its queue and update the queue length.
Author: markj
Date: Wed Aug 21 19:35:04 2019
New Revision: 351348
URL: https://svnweb.freebsd.org/changeset/base/351348
Log:
Modify pipe_poll() to properly check for pending direct writes.
With r349546, it is a responsibility of the writer to clear PIPE_DIRECTW
after pinned data has been
Author: markj
Date: Wed Aug 21 20:01:52 2019
New Revision: 351351
URL: https://svnweb.freebsd.org/changeset/base/351351
Log:
Remove manual wire_count adjustments from the unmapped mbuf code.
The original code came from a desire to minimize the number of updates
to v_wire_count, which prio
Author: markj
Date: Wed Aug 21 23:13:00 2019
New Revision: 351359
URL: https://svnweb.freebsd.org/changeset/base/351359
Log:
Fix inverted predicates for sx lock hold events in lockstat(1).
This caused shared sx holds to be reported as exclusive, and vice
versa.
Reviewed by: mjg
MF
ointer to the lock structure that describes
the lock.
The second argument is the length of time, in nanoseconds,
@@ -240,28 +221,40 @@ if the thread is attempting to acquire the lock as a w
if the thread is attempting to acquire the lock a
Author: markj
Date: Wed Aug 21 23:47:01 2019
New Revision: 351363
URL: https://svnweb.freebsd.org/changeset/base/351363
Log:
Add hold events for lockmgr probes, missed in r351361.
MFC with: r351361
Modified:
head/cddl/contrib/opensolaris/cmd/lockstat/lockstat.c
Modified: head/cddl/c
Author: markj
Date: Thu Aug 22 01:18:36 2019
New Revision: 351373
URL: https://svnweb.freebsd.org/changeset/base/351373
Log:
Document r351361.
Modified:
head/RELNOTES
Modified: head/RELNOTES
==
--- head/RELNOTES
301 - 400 of 2372 matches
Mail list logo