Author: markj
Date: Thu May 14 16:06:54 2020
New Revision: 361032
URL: https://svnweb.freebsd.org/changeset/base/361032
Log:
Allocate UMA per-CPU counters earlier.
Otherwise anything counted before SI_SUB_VM_CONF is discarded. However,
it is useful to be able to see stats from allocation
Author: markj
Date: Thu May 14 16:07:27 2020
New Revision: 361033
URL: https://svnweb.freebsd.org/changeset/base/361033
Log:
Call acpi_pxm_set_proximity_info() slightly earlier on x86.
This function is responsible for setting pc_domain in each pcpu
structure. Call it from the main functi
Author: markj
Date: Thu May 14 17:56:44 2020
New Revision: 361039
URL: https://svnweb.freebsd.org/changeset/base/361039
Log:
Fix the i386 build after r361033.
Reported by: Jenkins
Modified:
head/sys/i386/i386/mp_machdep.c
Modified: head/sys/i386/i386/mp_machdep.c
==
On Mon, May 11, 2020 at 08:30:29PM +, John Baldwin wrote:
> Author: jhb
> Date: Mon May 11 20:30:28 2020
> New Revision: 360918
> URL: https://svnweb.freebsd.org/changeset/base/360918
>
> Log:
> Remove ubsec(4).
>
> This driver was previously marked for deprecation in r360710.
We still
Author: markj
Date: Sat May 16 00:28:12 2020
New Revision: 361095
URL: https://svnweb.freebsd.org/changeset/base/361095
Log:
pf: Add a new zone for per-table entry counters.
Right now we optionally allocate 8 counters per table entry, so in
addition to memory consumed by counters, we requ
Author: markj
Date: Tue May 19 13:54:33 2020
New Revision: 361253
URL: https://svnweb.freebsd.org/changeset/base/361253
Log:
Belatedly add a RELNOTES entry for r347532.
Modified:
head/RELNOTES
Modified: head/RELNOTES
===
Author: markj
Date: Tue May 19 18:34:50 2020
New Revision: 361262
URL: https://svnweb.freebsd.org/changeset/base/361262
Log:
Use the symbolic name for "modmetadata_set".
MFC after:1 week
Sponsored by: The FreeBSD Foundation
Modified:
head/sys/kern/kern_linker.c
Modified: head/sys/
Author: markj
Date: Tue May 19 18:35:08 2020
New Revision: 361263
URL: https://svnweb.freebsd.org/changeset/base/361263
Log:
Define a module version for accept filter modules.
Otherwise accept filters compiled into the kernel do not preempt
preloaded accept filter modules. Then, the prel
Author: markj
Date: Wed May 20 17:48:18 2020
New Revision: 361286
URL: https://svnweb.freebsd.org/changeset/base/361286
Log:
Avoid hard-coding pipe buffer sizes in the pipe and fifo kqueue tests.
Fix some style issues in the modified tests while here.
Reported by: Jenkins via lwhsu
Author: markj
Date: Wed May 20 18:29:23 2020
New Revision: 361287
URL: https://svnweb.freebsd.org/changeset/base/361287
Log:
Don't block on the range lock in zfs_getpages().
After r358443 the vnode object lock no longer synchronizes concurrent
zfs_getpages() and zfs_write() (which must up
On Wed, May 20, 2020 at 06:29:23PM +, Mark Johnston wrote:
> Author: markj
> Date: Wed May 20 18:29:23 2020
> New Revision: 361287
> URL: https://svnweb.freebsd.org/changeset/base/361287
>
> Log:
> Don't block on the range lock in zfs_getpages().
>
> Aft
On Thu, May 21, 2020 at 04:41:52PM +0300, Konstantin Belousov wrote:
> On Thu, May 21, 2020 at 03:02:07PM +0200, Antoine Brodin wrote:
> > On Thu, May 21, 2020 at 12:08 AM Konstantin Belousov
> > wrote:
> > >
> > > Author: kib
> > > Date: Wed May 20 22:08:26 2020
> > > New Revision: 361303
> > >
On Thu, May 21, 2020 at 09:03:44AM -0700, John Baldwin wrote:
> On 5/21/20 8:12 AM, Mark Johnston wrote:
> > On Thu, May 21, 2020 at 04:41:52PM +0300, Konstantin Belousov wrote:
> >> On Thu, May 21, 2020 at 03:02:07PM +0200, Antoine Brodin wrote:
> >>> On Thu, May 2
On Thu, May 21, 2020 at 07:56:46PM +0300, Konstantin Belousov wrote:
> On Thu, May 21, 2020 at 09:03:44AM -0700, John Baldwin wrote:
> > On 5/21/20 8:12 AM, Mark Johnston wrote:
> > > On Thu, May 21, 2020 at 04:41:52PM +0300, Konstantin Belousov wrote:
> > >> On T
On Thu, May 21, 2020 at 03:53:17PM +, Brandon Bergren wrote:
> Author: bdragon
> Date: Thu May 21 15:53:16 2020
> New Revision: 361336
> URL: https://svnweb.freebsd.org/changeset/base/361336
>
> Log:
> [PowerPC] Fix kernel boot on powerpc
>
> Recent changes have caused the vmspace objec
On Thu, May 21, 2020 at 08:09:58PM +0300, Konstantin Belousov wrote:
> On Thu, May 21, 2020 at 01:01:24PM -0400, Mark Johnston wrote:
> > On Thu, May 21, 2020 at 07:56:46PM +0300, Konstantin Belousov wrote:
> > > On Thu, May 21, 2020 at 09:03:44AM -0700, John Baldwin wrote:
>
Author: markj
Date: Thu May 21 18:38:41 2020
New Revision: 361338
URL: https://svnweb.freebsd.org/changeset/base/361338
Log:
Fix ACCEPT_FILTER_DEFINE to pass the version to MODULE_VERSION.
MFC with: r361263
Modified:
head/sys/sys/socketvar.h
Modified: head/sys/sys/socketvar.h
==
Author: markj
Date: Fri May 22 01:18:55 2020
New Revision: 361352
URL: https://svnweb.freebsd.org/changeset/base/361352
Log:
Fix the build after r361033 when ACPI is disabled.
Reported by: Herbert J. Skuhra
Modified:
head/sys/amd64/amd64/mp_machdep.c
head/sys/i386/i386/mp_machdep.c
On Fri, May 22, 2020 at 06:10:59PM +0300, Konstantin Belousov wrote:
> On Fri, May 22, 2020 at 01:18:55AM +0000, Mark Johnston wrote:
> > Author: markj
> > Date: Fri May 22 01:18:55 2020
> > New Revision: 361352
> > URL: https://svnweb.freebsd.org/changeset/base/361352
Author: markj
Date: Thu May 28 19:41:00 2020
New Revision: 361595
URL: https://svnweb.freebsd.org/changeset/base/361595
Log:
Fix boot on systems where NUMA domain 0 is unpopulated.
- Add vm_phys_early_add_seg(), complementing vm_phys_early_alloc(), to
ensure that segments registered dur
Author: markj
Date: Sat May 30 19:11:41 2020
New Revision: 361654
URL: https://svnweb.freebsd.org/changeset/base/361654
Log:
ctld: Fix a memory leak in uclparse_conf().
PR: 246596
Submitted by: Patryk
MFC after:1 week
Modified:
head/usr.sbin/ctld/uclparse.c
Modified:
Author: markj
Date: Sat May 30 19:15:29 2020
New Revision: 361655
URL: https://svnweb.freebsd.org/changeset/base/361655
Log:
certctl.8: Correct the HISTORY section.
certctl was merged to stable/12 after 12.1 was branched.
PR: 246190
Reported by: Michael Osipov
MFC after
Author: markj
Date: Sun May 31 18:20:20 2020
New Revision: 361664
URL: https://svnweb.freebsd.org/changeset/base/361664
Log:
Handle getcpu() calls in vsyscall emulation on amd64.
linux_getcpu() has been implemented since r356241.
PR: 246339
Submitted by: John Hay
MFC aft
Author: markj
Date: Mon Jun 1 15:32:13 2020
New Revision: 361694
URL: https://svnweb.freebsd.org/changeset/base/361694
Log:
cap_fileargs: Fix a descriptor leak in the service process.
The service handler for fileargs_open() tries to pre-open multiple files
and pass descriptors for each b
Author: markj
Date: Thu Jun 4 16:05:24 2020
New Revision: 361792
URL: https://svnweb.freebsd.org/changeset/base/361792
Log:
Update vt(4) config option names to chase r303043.
PR: 246080
Submitted by: David Marec
MFC after:1 week
Modified:
head/share/man/man4/vt.4
he
Author: markj
Date: Thu Jun 4 16:24:13 2020
New Revision: 361793
URL: https://svnweb.freebsd.org/changeset/base/361793
Log:
dhclient: Fix a logic bug remove_protocol().
A logic bug in remove_protocol() meant that it would remove (leak) all
structures in the list preceding the one intende
Author: markj
Date: Fri Jun 5 18:44:14 2020
New Revision: 361844
URL: https://svnweb.freebsd.org/changeset/base/361844
Log:
librtld_db: Handle anonymous mappings below the first file mapping.
r360979 erroneously assumed that the lowest mapping in an address space
would be a file mapping,
Author: markj
Date: Mon Jun 8 22:29:52 2020
New Revision: 361945
URL: https://svnweb.freebsd.org/changeset/base/361945
Log:
Stop computing a "sharedram" value when emulating Linux sysinfo(2).
The previous code was computing an incorrect value in a very expensive
manner. "sharedram" is s
Author: markj
Date: Wed Jun 10 23:52:29 2020
New Revision: 362035
URL: https://svnweb.freebsd.org/changeset/base/362035
Log:
Remove the FIRMWARE_MAX limit.
The firmware module arbitrarily limits us to at most 50 images. It is
possible to hit this limit on platforms that preload many firm
Author: markj
Date: Wed Jun 10 23:52:39 2020
New Revision: 362036
URL: https://svnweb.freebsd.org/changeset/base/362036
Log:
Add a comment reflecting the commit log for r361945.
Suggested by: alc
Reviewed by: alc
MFC with: r361945
Modified:
head/sys/compat/linux/linux_misc.c
Mo
Author: markj
Date: Wed Jun 10 23:52:50 2020
New Revision: 362037
URL: https://svnweb.freebsd.org/changeset/base/362037
Log:
Fix a couple of nits in Linux sysinfo(2) emulation.
- Use the same definition of free memory as Linux.
- Rename the totalbig and freebig fields to match the corresp
Author: markj
Date: Thu Jun 11 00:36:35 2020
New Revision: 362038
URL: https://svnweb.freebsd.org/changeset/base/362038
Log:
Hard-code the ice_ddp firmware version.
Like every other firmware image in the tree, the makefile will need to
be updated to point to the newest import.
Review
Author: markj
Date: Wed Oct 4 17:29:08 2017
New Revision: 324285
URL: https://svnweb.freebsd.org/changeset/base/324285
Log:
Add get_random_{int,long} to the LinuxKPI.
Fix some whitespace bugs while here.
Reviewed by: hselasky
MFC after:1 week
Differential Revision:htt
Author: markj
Date: Fri Oct 6 18:29:00 2017
New Revision: 324373
URL: https://svnweb.freebsd.org/changeset/base/324373
Log:
Avoid adding an extra "0x" prefix before pointer formats.
MFC after:1 week
Modified:
head/cddl/contrib/opensolaris/lib/libdtrace/common/dt_dis.c
head/cddl/co
Author: markj
Date: Fri Oct 6 21:52:28 2017
New Revision: 324377
URL: https://svnweb.freebsd.org/changeset/base/324377
Log:
Let stack_create(9) take a malloc flags argument.
Reviewed by: cem
Sponsored by: Dell EMC Isilon
Differential Revision:https://reviews.freebsd.org/D12614
Author: markj
Date: Fri Oct 13 19:27:33 2017
New Revision: 324606
URL: https://svnweb.freebsd.org/changeset/base/324606
Log:
Make the PHOLD in linux_wait_event_common() unconditional.
After some in-progress work is committed, this would otherwise be the only
instance of #if(n)def NO_SWAPP
On Fri, Oct 13, 2017 at 10:36:26PM -0700, Matt Joras wrote:
> On 10/13/2017 22:12, Ngie Cooper (yaneurabeya) wrote:
> >> Modified: head/sys/kern/subr_unit.c
> >> ==
> >> --- head/sys/kern/subr_unit.c Wed Oct 11 20:36:2
Author: markj
Date: Tue Oct 17 19:41:45 2017
New Revision: 324704
URL: https://svnweb.freebsd.org/changeset/base/324704
Log:
Fix a racy VI_DOOMED check in MNT_VNODE_FOREACH_ALL().
MNT_VNODE_FOREACH_ALL() is supposed to avoid returning doomed vnodes,
but the VI_DOOMED check it used was don
Author: markj
Date: Wed Oct 18 15:38:05 2017
New Revision: 324722
URL: https://svnweb.freebsd.org/changeset/base/324722
Log:
Move kernel dump offset tracking into MI code.
All of the kernel dump implementations keep track of the current offset
("dumplo") within the dump device. However, e
Author: markj
Date: Fri Oct 20 14:56:13 2017
New Revision: 324804
URL: https://svnweb.freebsd.org/changeset/base/324804
Log:
Avoid the nbp lookup in the final loop iteration in flushbuflist().
The end of the loop must re-lookup the next buf since the bufobj lock
is dropped in the loop bod
Author: markj
Date: Fri Oct 20 21:13:19 2017
New Revision: 324809
URL: https://svnweb.freebsd.org/changeset/base/324809
Log:
Free the right address range if kmem_back() fails in memguard_alloc().
MFC after:1 week
Sponsored by: Dell EMC Isilon
Modified:
head/sys/vm/memguard.c
Modif
Author: markj
Date: Sun Oct 22 18:32:28 2017
New Revision: 324864
URL: https://svnweb.freebsd.org/changeset/base/324864
Log:
MFV r323105 (partial): 8300 fix man page issues found by mandoc 1.14.1
illumos/illumos-gate@72d3dbb9ab4481606cb93caca98ba3b3a8eb6ce2
https://github.com/illumos/ill
Author: markj
Date: Sun Oct 22 19:17:25 2017
New Revision: 324865
URL: https://svnweb.freebsd.org/changeset/base/324865
Log:
Address some miscellaneous issues in the CTF man page.
- Fix a number of typos.
- Replace some illumos-specific references.
- Note that a type definition of kind
Author: markj
Date: Sun Oct 22 20:22:11 2017
New Revision: 324868
URL: https://svnweb.freebsd.org/changeset/base/324868
Log:
Delete declarations of struct pfs_bitmap, removed in r143841.
MFC after:1 week
Modified:
head/sys/fs/pseudofs/pseudofs.h
Modified: head/sys/fs/pseudofs/pseudo
Author: markj
Date: Mon Oct 23 15:34:05 2017
New Revision: 324920
URL: https://svnweb.freebsd.org/changeset/base/324920
Log:
Fix the VM_NRESERVLEVEL == 0 build.
Add VM_NRESERVLEVEL guards in the pmaps that implement transparent
superpage promotion using reservations.
Reviewed by: al
Author: markj
Date: Mon Oct 23 16:02:48 2017
New Revision: 324923
URL: https://svnweb.freebsd.org/changeset/base/324923
Log:
Remove resource_set_*() declarations from sys/bus.h.
The corresponding definitions were removed in r78135.
PR: 223189
Submitted by: marc.priggeme...@
Author: markj
Date: Wed Oct 25 00:51:00 2017
New Revision: 324965
URL: https://svnweb.freebsd.org/changeset/base/324965
Log:
Add support for compressed kernel dumps.
When using a kernel built with the GZIO config option, dumpon -z can be
used to configure gzip compression using the in-ker
Author: markj
Date: Wed Oct 25 17:20:18 2017
New Revision: 324992
URL: https://svnweb.freebsd.org/changeset/base/324992
Log:
Make drain_output() use bufobj_wwait().
No functional change intended.
Reviewed by: kib
MFC after:1 week
Differential Revision:https://reviews.f
Author: markj
Date: Fri Oct 27 17:05:14 2017
New Revision: 325044
URL: https://svnweb.freebsd.org/changeset/base/325044
Log:
Fix a lock leak in g_mirror_destroy().
g_mirror_destroy() is supposed to unlock the softc before indicating
success, but it wasn't doing so if the caller raced with
Author: markj
Date: Sat Oct 28 02:51:27 2017
New Revision: 325051
URL: https://svnweb.freebsd.org/changeset/base/325051
Log:
Remove a stale and incorrect comment.
MFC after:1 week
Sponsored by: Dell EMC Isilon
Modified:
head/sys/ufs/ffs/ffs_softdep.c
Modified: head/sys/ufs/ffs/ffs
Author: markj
Date: Sat Oct 28 02:48:37 2017
New Revision: 325050
URL: https://svnweb.freebsd.org/changeset/base/325050
Log:
Remove workqueue items after updating the workqueue tail pointer.
When QUEUE_MACRO_DEBUG_TRASH is configured, the queue linkage fields
are trashed upon removal of t
Author: markj
Date: Wed Nov 8 01:53:03 2017
New Revision: 325528
URL: https://svnweb.freebsd.org/changeset/base/325528
Log:
Correct the type of foff.
No functional change intended.
Github PR:124
Submitted by: Wuyang Chung
MFC after:1 week
Modified:
head/sys/vm/vm_mmap.
On Wed, Nov 08, 2017 at 01:53:03AM +, Mark Johnston wrote:
> Author: markj
> Date: Wed Nov 8 01:53:03 2017
> New Revision: 325528
> URL: https://svnweb.freebsd.org/changeset/base/325528
>
> Log:
> Correct the type of foff.
>
> No functional change intended
Author: markj
Date: Wed Nov 8 19:55:17 2017
New Revision: 325561
URL: https://svnweb.freebsd.org/changeset/base/325561
Log:
Allow various page daemon parameters to be set from loader.conf.
MFC after:1 week
Modified:
head/sys/vm/vm_pageout.c
Modified: head/sys/vm/vm_pageout.c
==
On Sat, Nov 11, 2017 at 06:04:40PM +, Mateusz Guzik wrote:
> Author: mjg
> Date: Sat Nov 11 18:04:39 2017
> New Revision: 325721
> URL: https://svnweb.freebsd.org/changeset/base/325721
>
> Log:
> Add pfind_any
>
> It looks for both regular and zombie processes. This avoids allproc
> re
Author: markj
Date: Thu Nov 16 07:14:29 2017
New Revision: 325886
URL: https://svnweb.freebsd.org/changeset/base/325886
Log:
Take r313504 into account when recomputing the string table length.
When we encounter a USDT probe in a weak symbol, we emit an alias for
the probe function symbol.
Author: markj
Date: Thu Nov 16 07:25:12 2017
New Revision: 325887
URL: https://svnweb.freebsd.org/changeset/base/325887
Log:
Avoid holding the process in uread() and uwrite().
In general, higher-level code will atomically verify that the process
is not exiting and hold the process. In one
Author: markj
Date: Tue Nov 21 13:17:40 2017
New Revision: 326055
URL: https://svnweb.freebsd.org/changeset/base/326055
Log:
Allow for fictitious physical pages in vm_page_scan_contig().
Some drm2 drivers will set PG_FICTITIOUS in physical pages in order to
satisfy the OBJT_MGTDEVICE obje
Author: markj
Date: Tue Nov 21 14:59:23 2017
New Revision: 326060
URL: https://svnweb.freebsd.org/changeset/base/326060
Log:
Clean up the SYSINIT_FLAGS definitions for rwlock(9) and rmlock(9).
Avoid duplication in their macro definitions, and document them. No
functional change intended.
Author: markj
Date: Tue Nov 21 15:03:38 2017
New Revision: 326061
URL: https://svnweb.freebsd.org/changeset/base/326061
Log:
Don't assume that we can resolve "main" in the ksh executable.
MFC after:1 week
Modified:
head/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/pid/err.D_P
Author: markj
Date: Tue Nov 21 16:00:18 2017
New Revision: 326063
URL: https://svnweb.freebsd.org/changeset/base/326063
Log:
Annotate usdt/tst.eliminate.ksh as EXFAIL.
It appears to depend on some behaviour specific to the Sun link editor.
MFC after:1 week
Modified:
head/cddl/us
proc_sym.c
==
--- head/lib/libproc/proc_sym.c Tue Nov 21 16:00:18 2017(r326063)
+++ head/lib/libproc/proc_sym.c Tue Nov 21 16:03:21 2017(r326064)
@@ -1,5 +1,5 @@
/*-
- * Copyright (c) 2016 Mark Johnston
+ * Copyright (c) 2016
Author: markj
Date: Wed Nov 22 14:13:40 2017
New Revision: 326093
URL: https://svnweb.freebsd.org/changeset/base/326093
Log:
Use the right variable for the IP header parameter to tcp:::send.
This addresses a regression from r311225.
MFC after:1 week
Modified:
head/sys/netinet/tc
Author: markj
Date: Wed Nov 22 15:54:52 2017
New Revision: 326096
URL: https://svnweb.freebsd.org/changeset/base/326096
Log:
Annotate pragma/err.invalidlibdep.ksh as EXFAIL.
The test creates a D library with a "depends_on library" pragma
referencing a non-existent library, and expects com
Author: markj
Date: Thu Nov 23 14:07:52 2017
New Revision: 326132
URL: https://svnweb.freebsd.org/changeset/base/326132
Log:
Allow kern.geom.mirror.debug to be negative.
A negative value can be used to suppress all prints from the gmirror
kernel code, which can be useful when attempting t
Author: markj
Date: Thu Nov 23 14:29:07 2017
New Revision: 326134
URL: https://svnweb.freebsd.org/changeset/base/326134
Log:
Duplicate helpers after disabling inherited tracepoints during a fork.
We may create probes in the nascent child process, so we first need to
ensure that any inheri
On Fri, Nov 24, 2017 at 02:50:28PM +, Hans Petter Selasky wrote:
> Author: hselasky
> Date: Fri Nov 24 14:50:28 2017
> New Revision: 326169
> URL: https://svnweb.freebsd.org/changeset/base/326169
>
> Log:
> RoCE/infiniband upgrade to Linux v4.9 for kernel and userspace.
Nice!
>
> This
On Fri, Nov 24, 2017 at 06:09:25PM +0100, Hans Petter Selasky wrote:
> On 11/24/17 16:00, Mark Johnston wrote:
> > Are there non-trivial interoperability issues between mthca and the
> > updated OFED stack? If so, could you describe them? If not, I would
> > strongly prefe
On Fri, Nov 24, 2017 at 06:29:25PM +0100, Hans Petter Selasky wrote:
> On 11/24/17 18:22, Mark Johnston wrote:
> > On Fri, Nov 24, 2017 at 06:09:25PM +0100, Hans Petter Selasky wrote:
> >> On 11/24/17 16:00, Mark Johnston wrote:
> >>> Are there non-trivial interoperab
Author: markj
Date: Fri Nov 24 17:57:00 2017
New Revision: 326173
URL: https://svnweb.freebsd.org/changeset/base/326173
Log:
Fix typos.
MFC after:3 days
Modified:
head/share/man/man4/dtrace_lockstat.4
Modified: head/share/man/man4/dtrace_lockstat.4
==
Author: markj
Date: Fri Nov 24 19:02:06 2017
New Revision: 326175
URL: https://svnweb.freebsd.org/changeset/base/326175
Log:
Add a missing lockstat:::sx-downgrade probe.
We were returning without firing the probe when the lock had no shared
waiters.
MFC after:1 week
Modified:
Author: markj
Date: Fri Nov 24 19:04:31 2017
New Revision: 326176
URL: https://svnweb.freebsd.org/changeset/base/326176
Log:
Have lockstat:::sx-release fire only after the lock state has changed.
MFC after:1 week
Modified:
head/sys/kern/kern_sx.c
Modified: head/sys/kern/kern_sx.c
==
Author: markj
Date: Fri Nov 24 19:05:45 2017
New Revision: 326177
URL: https://svnweb.freebsd.org/changeset/base/326177
Log:
Fix the type signature for sx(9) DTrace subroutines.
MFC after:1 week
Modified:
head/cddl/contrib/opensolaris/lib/libdtrace/common/dt_open.c
Modified: head/cd
Author: markj
Date: Fri Nov 24 19:08:54 2017
New Revision: 326178
URL: https://svnweb.freebsd.org/changeset/base/326178
Log:
Don't redefine _KERNEL.
MFC after:1 week
Modified:
head/sys/modules/dtrace/dtrace_test/Makefile
Modified: head/sys/modules/dtrace/dtrace_test/Makefile
===
Author: markj
Date: Fri Nov 24 19:57:13 2017
New Revision: 326181
URL: https://svnweb.freebsd.org/changeset/base/326181
Log:
Compile one of the uctf test programs with -m32.
The err.user64mode.ksh test expects it to run as a 32-bit process.
MFC after:1 week
Modified:
head/cddl/
Author: markj
Date: Sun Nov 26 19:16:45 2017
New Revision: 326234
URL: https://svnweb.freebsd.org/changeset/base/326234
Log:
Remove unneeded initializations from vm_phys_init_page().
The page allocator always initializes the aflags and oflags fields.
Reviewed by: alc, kib
MFC after:
Author: markj
Date: Sun Nov 26 19:17:55 2017
New Revision: 326235
URL: https://svnweb.freebsd.org/changeset/base/326235
Log:
Move vm_phys_init_page() to vm_page.c.
Suggested by: kib
Reviewed by: alc, kib
MFC after:1 week
Differential Revision:https://reviews.freebsd.org/D
Author: markj
Date: Mon Nov 27 17:46:38 2017
New Revision: 326284
URL: https://svnweb.freebsd.org/changeset/base/326284
Log:
Avoid unnecessary lookups when initializing the vm_page array.
This gives a marginal improvement in the vm_page_array initialization
time. Also garbage-collect the
Author: markj
Date: Mon Nov 27 17:54:17 2017
New Revision: 326285
URL: https://svnweb.freebsd.org/changeset/base/326285
Log:
Revert r326181 for now.
We can't link an executable using -m32 until the lib32 phase of a
buildworld, though the build works fine when executing make from
cddl/us
Author: markj
Date: Mon Nov 27 18:42:23 2017
New Revision: 326286
URL: https://svnweb.freebsd.org/changeset/base/326286
Log:
Don't use pcpu_find() to determine if a CPU ID is valid.
This addresses assertion failures after r326218.
MFC after:1 week
Modified:
head/sys/cddl/dev/dtr
Author: markj
Date: Wed Feb 5 16:09:02 2020
New Revision: 357573
URL: https://svnweb.freebsd.org/changeset/base/357573
Log:
Fix map locking in the CLEAR_PKRU sysarch(2) handler.
Reported and tested by: pho
MFC after:1 week
Sponsored by: The FreeBSD Foundation
Modified:
hea
Author: markj
Date: Wed Feb 5 16:09:21 2020
New Revision: 357574
URL: https://svnweb.freebsd.org/changeset/base/357574
Log:
Avoid releasing object PIP in vn_sendfile() if no pages were grabbed.
sendfile(2) optionally takes a set of headers that get prepended to the
file data. If the req
Author: markj
Date: Wed Feb 5 16:09:44 2020
New Revision: 357575
URL: https://svnweb.freebsd.org/changeset/base/357575
Log:
Improve validation of the sockaddr length in iruserok_sa().
Negative numbers are not valid sockaddr lengths.
PR: 243747
Submitted by: Andrew Reiter
Author: markj
Date: Wed Feb 5 16:10:09 2020
New Revision: 357576
URL: https://svnweb.freebsd.org/changeset/base/357576
Log:
Fix a use of an uninitialized pointer in xdr_rpcbs_rmtcalllist().
This appears to have been introduced in r173763. Also fix the confusing
indentation that probably
Author: markj
Date: Wed Feb 5 19:08:45 2020
New Revision: 357586
URL: https://svnweb.freebsd.org/changeset/base/357586
Log:
Stop compiling dtrace modules with -DSMP.
I believe this is left over from when dtrace was being ported and
developed out-of-tree. Now it just ensures that dtrace.
Author: markj
Date: Wed Feb 5 19:08:21 2020
New Revision: 357585
URL: https://svnweb.freebsd.org/changeset/base/357585
Log:
Define MAXCPU consistently between the kernel and KLDs.
This reverts r177661. The change is no longer very useful since
out-of-tree KLDs will be built to target SM
Author: markj
Date: Wed Feb 5 20:57:45 2020
New Revision: 357598
URL: https://svnweb.freebsd.org/changeset/base/357598
Log:
Define SMP for standalone module builds.
Suggested and reviewed by:kevans
Differential Revision:https://reviews.freebsd.org/D23519
Modified:
head/sys
On Fri, Jan 17, 2020 at 01:15:55AM +, Warner Losh wrote:
> Author: imp
> Date: Fri Jan 17 01:15:55 2020
> New Revision: 356818
> URL: https://svnweb.freebsd.org/changeset/base/356818
>
> Log:
> Pass BIO_SPEEDUP through all the geom layers
>
> While some geom layers pass unknown commands
Author: markj
Date: Thu Feb 6 21:01:19 2020
New Revision: 357642
URL: https://svnweb.freebsd.org/changeset/base/357642
Log:
Remove more manual additions of -DSMP.
Since r357598 this should no longer be necessary.
Modified:
head/sys/modules/ix/Makefile
head/sys/modules/ixv/Makefile
h
Author: markj
Date: Tue Feb 11 20:06:33 2020
New Revision: 357776
URL: https://svnweb.freebsd.org/changeset/base/357776
Log:
Reduce lock hold time in keg_drain().
Maintain a count of free slabs in the per-domain keg structure and use
that to clear the free slab list in constant time for m
Author: markj
Date: Tue Feb 11 20:15:49 2020
New Revision: 35
URL: https://svnweb.freebsd.org/changeset/base/35
Log:
libmemstat: Catch up with r357776.
Reported by: O. Hartmann
Modified:
head/lib/libmemstat/memstat_uma.c
Modified: head/lib/libmemstat/memstat_uma.c
On Tue, Feb 11, 2020 at 09:12:18PM +0100, O. Hartmann wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA256
>
> Am Tue, 11 Feb 2020 20:06:33 +0000 (UTC)
> Mark Johnston schrieb:
>
> > Author: markj
> > Date: Tue Feb 11 20:06:33 2020
> >
Author: markj
Date: Thu Feb 13 23:15:21 2020
New Revision: 357892
URL: https://svnweb.freebsd.org/changeset/base/357892
Log:
Update the zone-global count of cached items in bucket_cache_reclaim().
This was missed in r351673. The count is used to enfore cache limits,
which are rarely used
Author: markj
Date: Thu Feb 13 23:18:35 2020
New Revision: 357893
URL: https://svnweb.freebsd.org/changeset/base/357893
Log:
Fix handling of WAITFAIL in vm_page_grab() and vm_page_grab_pages().
After sleeping through a memory shortage, we must return NULL rather
than retry.
Discussed
Author: markj
Date: Mon Feb 17 15:09:40 2020
New Revision: 358024
URL: https://svnweb.freebsd.org/changeset/base/358024
Log:
Fix object locking races in swapoff(2).
swap_pager_swapoff_object()'s goal is to allocate pages for all valid
swap blocks belonging to the object, for which there i
Author: markj
Date: Mon Feb 17 15:10:41 2020
New Revision: 358025
URL: https://svnweb.freebsd.org/changeset/base/358025
Log:
Fix a swap block allocation race.
putpages' allocation of swap blocks is done under the global sw_dev
lock. Previously it would drop that lock before inserting the
Author: markj
Date: Mon Feb 17 15:11:07 2020
New Revision: 358026
URL: https://svnweb.freebsd.org/changeset/base/358026
Log:
Remove swblk_t.
It was used only to store the bounds of each swap device. However,
since swblk_t is a signed 32-bit int and daddr_t is a signed 64-bit
int, swp_p
Author: markj
Date: Sat Feb 22 17:44:28 2020
New Revision: 358249
URL: https://svnweb.freebsd.org/changeset/base/358249
Log:
Constify uma_zcache_create() and uma_zsecond_create()'s "name" argument.
It is already internally handled as a pointer to a const string, in
particular by uma_zcrea
Author: markj
Date: Sun Feb 23 17:59:51 2020
New Revision: 358261
URL: https://svnweb.freebsd.org/changeset/base/358261
Log:
Allow swap_pager_putpages() to allocate one block at a time.
The minimum allocation size of 4 blocks is an old policy that came with
the "new" swap pager in r42957.
e is newly added)
+++ head/sys/sys/_blockcount.h Fri Feb 28 16:05:18 2020(r358432)
@@ -0,0 +1,52 @@
+/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
+ * Copyright (c) 2020 The FreeBSD Foundation
+ *
+ * This software was developed by Mark Johnston under sponsorship from
+ * the Fr
901 - 1000 of 2372 matches
Mail list logo