Author: markj
Date: Thu Sep 17 16:49:28 2020
New Revision: 365841
URL: https://svnweb.freebsd.org/changeset/base/365841
Log:
Increase the default vm.max_user_wired value.
Since r347532 (merged to stable/12) we only count user-wired pages
towards the system limit. However, we now also tre
Author: markj
Date: Thu Sep 17 16:44:12 2020
New Revision: 365840
URL: https://svnweb.freebsd.org/changeset/base/365840
Log:
Add some basic regression tests for SHM_LARGEPAGE.
Discussed with: kib
Sponsored by: Juniper Networks, Inc.
Sponsored by: Klara, Inc.
Differential Revisio
Author: markj
Date: Wed Sep 16 13:51:47 2020
New Revision: 365796
URL: https://svnweb.freebsd.org/changeset/base/365796
Log:
Move PLTs to the beginning of amd64 kernel modules.
As with .text, the aim is to ensure that executable sections are
segregated from the rest, to avoid creation of
Author: markj
Date: Tue Sep 15 23:03:56 2020
New Revision: 365788
URL: https://svnweb.freebsd.org/changeset/base/365788
Log:
Fix locking in uipc_accept().
Reported by: cy
MFC after:1 week
Sponsored by: The FreeBSD Foundation
Modified:
head/sys/kern/uipc_usrreq.c
Modified: head/
Author: markj
Date: Tue Sep 15 20:54:18 2020
New Revision: 365771
URL: https://svnweb.freebsd.org/changeset/base/365771
Log:
ftpd: Exit during authentication if an error occurs after chroot().
admbug: 969
Security: CVE-2020-7468
Modified:
head/libexec/ftpd/ftpd.c
Mod
Author: markj
Date: Tue Sep 15 19:23:42 2020
New Revision: 365765
URL: https://svnweb.freebsd.org/changeset/base/365765
Log:
Fix locking in uipc_accept().
This function wasn't converted to use the new locking protocol in
r333744. Make it use the PCB lock for synchronizing connection stat
Author: markj
Date: Tue Sep 15 19:23:22 2020
New Revision: 365764
URL: https://svnweb.freebsd.org/changeset/base/365764
Log:
Simplify unix socket connection peer locking.
unp_pcb_owned_lock2() has some sharp edges and forces callers to deal
with a bunch of cases. Simplify it:
- Rena
Author: markj
Date: Tue Sep 15 19:22:37 2020
New Revision: 365762
URL: https://svnweb.freebsd.org/changeset/base/365762
Log:
Simplify unp_disconnect() callers.
In all cases, PCBs are unlocked after unp_disconnect() returns. Since
unp_disconnect() may release the last PCB reference, calle
Author: markj
Date: Tue Sep 15 19:23:01 2020
New Revision: 365763
URL: https://svnweb.freebsd.org/changeset/base/365763
Log:
Avoid an unnecessary malloc() when connecting dgram sockets.
The allocated memory is only required for SOCK_STREAM and SOCK_SEQPACKET
sockets.
Reviewed by: ke
Author: markj
Date: Tue Sep 15 19:22:16 2020
New Revision: 365761
URL: https://svnweb.freebsd.org/changeset/base/365761
Log:
Rename unp_pcb_lock2().
unp_pcb_lock_pair() seems like a better name. Also make it handle the
case where the two sockets are the same instead of making callers do
Author: markj
Date: Tue Sep 15 19:21:58 2020
New Revision: 365760
URL: https://svnweb.freebsd.org/changeset/base/365760
Log:
Improve unix socket PCB refcounting.
- Use refcount_init().
- Define an INVARIANTS-only zone destructor to assert that various
bits of PCB state aren't left dan
Author: markj
Date: Tue Sep 15 19:21:33 2020
New Revision: 365759
URL: https://svnweb.freebsd.org/changeset/base/365759
Log:
Update unix domain socket locking comments.
- Define a locking key for unpcb members.
- Rewrite some of the locking protocol description to make it less
verbose
On Tue, Sep 15, 2020 at 10:22:09AM -0400, Mark Johnston wrote:
> On Tue, Sep 15, 2020 at 05:15:30PM +0300, Konstantin Belousov wrote:
> > On Sat, Aug 29, 2020 at 04:29:53AM +, Warner Losh wrote:
> > > Author: imp
> > > Date: Sat Aug 29 04:29:53 2020
> > > N
On Tue, Sep 15, 2020 at 05:15:30PM +0300, Konstantin Belousov wrote:
> On Sat, Aug 29, 2020 at 04:29:53AM +, Warner Losh wrote:
> > Author: imp
> > Date: Sat Aug 29 04:29:53 2020
> > New Revision: 364944
> > URL: https://svnweb.freebsd.org/changeset/base/364944
> >
> > Log:
> > devctl: move
Author: markj
Date: Tue Sep 15 13:36:19 2020
New Revision: 365749
URL: https://svnweb.freebsd.org/changeset/base/365749
Log:
Fix some posixshmcontrol nits.
- Exit with an error if no path is specified.
- Man page typo.
- Error message typo.
Reviewed by: kib
Sponsored by: Juniper
On Wed, Sep 09, 2020 at 08:49:01AM +0300, Andriy Gapon wrote:
> On 08/09/2020 15:48, Mark Johnston wrote:
> > I observed the same thing recently as well: the compiler catches
> > uninitialized variables only in simple cases. In my case, any uses of
> > goto within the funct
Author: markj
Date: Wed Sep 9 12:58:19 2020
New Revision: 365502
URL: https://svnweb.freebsd.org/changeset/base/365502
Log:
ggate: Fix ggated/ggatec debug print of offsets.
The request offset and length are always unsigned, so print them as
such.
Submitted by: Yoshihiro Ota
MFC a
On Tue, Sep 08, 2020 at 02:24:59PM +0200, Michal Meloun wrote:
> On 08.09.2020 9:10, Andriy Gapon wrote:
> > On 08/09/2020 08:46, Andriy Gapon wrote:
> >> Author: avg
> >> Date: Tue Sep 8 05:46:10 2020
> >> New Revision: 365445
> >> URL: https://svnweb.freebsd.org/changeset/base/365445
> >>
> >> L
Author: markj
Date: Mon Sep 7 23:28:33 2020
New Revision: 365437
URL: https://svnweb.freebsd.org/changeset/base/365437
Log:
vm_object_split(): Handle orig_object type changes.
orig_object->type can change from OBJT_DEFAULT to OBJT_SWAP while
vm_object_split() is sleeping. In this case s
Author: markj
Date: Fri Sep 4 18:55:03 2020
New Revision: 365336
URL: https://svnweb.freebsd.org/changeset/base/365336
Log:
Stop setting DEBUG_FLAGS in the zfs.ko Makefile.
Rely on system settings to decide whether or not to build with debug
symbols and extract them to a separate file.
Author: markj
Date: Fri Sep 4 00:12:28 2020
New Revision: 365319
URL: https://svnweb.freebsd.org/changeset/base/365319
Log:
Add emulation support for the Linux kcov(4) ioctl API.
This makes it possible to run an unmodified Linux syzkaller executor
against the Linuxulator, and have it gat
Author: markj
Date: Wed Sep 2 19:59:25 2020
New Revision: 365275
URL: https://svnweb.freebsd.org/changeset/base/365275
Log:
Avoid unnecessary object locking in vm_page_grab_pages_unlocked().
We were needlessly acquiring the object lock to call
vm_page_grab_pages() even when all of the re
On Wed, Sep 02, 2020 at 11:43:56AM -0700, John Baldwin wrote:
> On 9/2/20 11:17 AM, Mark Johnston wrote:
> > Author: markj
> > Date: Wed Sep 2 18:17:08 2020
> > New Revision: 365268
> > URL: https://svnweb.freebsd.org/changeset/base/365268
> >
> >
Author: markj
Date: Wed Sep 2 18:17:08 2020
New Revision: 365268
URL: https://svnweb.freebsd.org/changeset/base/365268
Log:
Add sysctl(8) formatting for hw.pagesizes.
- Change the type of hw.pagesizes to OPAQUE, since it returns an array.
- Modify the handler to only truncate the returne
Author: markj
Date: Wed Sep 2 18:16:43 2020
New Revision: 365267
URL: https://svnweb.freebsd.org/changeset/base/365267
Log:
Include the psind in data returned by mincore(2).
Currently we use a single bit to indicate whether the virtual page is
part of a superpage. To support a forthcomi
Author: markj
Date: Wed Sep 2 18:12:47 2020
New Revision: 365265
URL: https://svnweb.freebsd.org/changeset/base/365265
Log:
Add the MEM_EXTRACT_PADDR ioctl to /dev/mem.
This allows privileged userspace processes to find information about the
physical page backing a given mapping. It is
Author: markj
Date: Tue Sep 1 20:13:50 2020
New Revision: 365060
URL: https://svnweb.freebsd.org/changeset/base/365060
Log:
qlxgb: Initialize if_mtu before setting max_frame_size.
Previously we were relying on ether_ifattach() to set if_mtu, but
max_frame_size is initialized earlier. Th
Author: markj
Date: Tue Sep 1 15:15:22 2020
New Revision: 365047
URL: https://svnweb.freebsd.org/changeset/base/365047
Log:
Correct the D definition for EINTEGRITY.
MFC after:1 week
Sponsored by: NetApp, Inc.
Sponsored by: Klara, Inc.
Modified:
head/cddl/lib/libdtrace/errno.d
M
Author: markj
Date: Tue Sep 1 15:15:09 2020
New Revision: 365046
URL: https://svnweb.freebsd.org/changeset/base/365046
Log:
pw: Handle errors from ftell() when removing records from /etc/opiekeys.
Reported by: Coverity
MFC after:1 week
Sponsored by: NetApp, Inc.
Sponsored by: Kl
Author: markj
Date: Tue Sep 1 15:15:44 2020
New Revision: 365048
URL: https://svnweb.freebsd.org/changeset/base/365048
Log:
Tighten frame pointer checking in DTrace's amd64 stack unwinder.
Avoid assuming that the kernel was compiled with
-fno-omit-frame-pointer.
MFC after:1 week
Author: markj
Date: Tue Sep 1 15:14:26 2020
New Revision: 365044
URL: https://svnweb.freebsd.org/changeset/base/365044
Log:
pw: Remove unnecessary errp checks.
The caller-supplied pointer is unconditionally dereferenced at the
beginning of the function, so there is no point in comparing
Author: markj
Date: Tue Sep 1 15:14:51 2020
New Revision: 365045
URL: https://svnweb.freebsd.org/changeset/base/365045
Log:
pw: Fix a resource leak.
Reported by: Coverity
MFC after:1 week
Sponsored by: NetApp, Inc.
Sponsored by: Klara, Inc.
Modified:
head/usr.sbin/pw/rm_r.c
Author: markj
Date: Tue Sep 1 15:14:13 2020
New Revision: 365043
URL: https://svnweb.freebsd.org/changeset/base/365043
Log:
pw: Fix terminal handling when setting a group password.
Reported by: Coverity
MFC after:1 week
Sponsored by: NetApp, Inc.
Sponsored by: Klara, Inc.
Modif
Author: markj
Date: Mon Aug 31 15:59:17 2020
New Revision: 364995
URL: https://svnweb.freebsd.org/changeset/base/364995
Log:
ggated(8): Avoid doubly opening the requested disk device.
- Initialize the disk device fd field in connection_new().
- Close the disk device after handing the conn
Author: markj
Date: Mon Aug 31 15:32:45 2020
New Revision: 364993
URL: https://svnweb.freebsd.org/changeset/base/364993
Log:
rtwn(4): Add support for the Belkin N300.
PR: 249034
Submitted by: Salvador Martínez Mármol
MFC after:1 week
Modified:
head/sys/dev/rtwn/usb/rtw
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: 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 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: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: Wed Aug 26 14:31:35 2020
New Revision: 364819
URL: https://svnweb.freebsd.org/changeset/base/364819
Log:
vmem: Avoid allocating span tags when segments are never released.
vmem uses span tags to delimit imported segments, so that they can be
released if the segment bec
Author: markj
Date: Wed Aug 26 14:31:48 2020
New Revision: 364820
URL: https://svnweb.freebsd.org/changeset/base/364820
Log:
Use a large kmem arena import size on NUMA systems.
This helps minimize internal fragmentation that occurs when 2MB imports
are interleaved across NUMA domains. Vi
Author: markj
Date: Tue Aug 25 18:32:43 2020
New Revision: 364779
URL: https://svnweb.freebsd.org/changeset/base/364779
Log:
sdhci(4): Recognize the Texas Instruments PCIxx12 card reader.
PR: 248650
Submitted by: Lars Herschke
MFC after:1 week
Modified:
head/share/man/
Author: markj
Date: Tue Aug 25 13:45:06 2020
New Revision: 364768
URL: https://svnweb.freebsd.org/changeset/base/364768
Log:
Permit vm_page_wire() to be called on pages not belonging to an object.
For such pages ref_count is effectively a consumer-managed field, but
there is no harm in ca
Author: markj
Date: Sun Aug 23 19:30:06 2020
New Revision: 364509
URL: https://svnweb.freebsd.org/changeset/base/364509
Log:
ng_ubt: Add a device ID.
PR: 248838
Submitted by: Andrey Zholos
MFC after:1 week
Modified:
head/sys/netgraph/bluetooth/drivers/ubt/ng_ubt.c
Mod
On Sat, Aug 22, 2020 at 12:40:49PM +0200, Antoine Brodin wrote:
> On Thu, Aug 20, 2020 at 9:28 PM Mark Johnston wrote:
> >
> > Author: markj
> > Date: Thu Aug 20 19:28:19 2020
> > New Revision: 364438
> > URL: https://svnweb.freebsd.org/changeset/base/364438
>
Author: markj
Date: Sat Aug 22 14:24:17 2020
New Revision: 364483
URL: https://svnweb.freebsd.org/changeset/base/364483
Log:
Fix a typo in r364438 affecting 32-bit platforms.
Reported by: antoine
MFC with: r364438
Modified:
head/cddl/contrib/opensolaris/lib/libdtrace/common/dt_lin
Author: markj
Date: Thu Aug 20 20:11:58 2020
New Revision: 364440
URL: https://svnweb.freebsd.org/changeset/base/364440
Log:
Fix a typo in r364438.
Reported by: Jenkins
MFC with: r364438
Modified:
head/cddl/contrib/opensolaris/lib/libdtrace/common/dt_link.c
Modified: head/cddl/co
-2018 Mark Johnston
*/
-#pragma ident "%Z%%M% %I% %E% SMI"
+#include
+#include
+#include
-#defineELF_TARGET_ALL
+#include
#include
-
-#include
-#ifdef illumos
-#include
-#else
-#defineP2ROUNDUP(x, align) (-(-(x) & -(align)))
-#end
Author: markj
Date: Thu Aug 20 19:28:19 2020
New Revision: 364438
URL: https://svnweb.freebsd.org/changeset/base/364438
Log:
Enable creation of static userspace probes in incremental builds.
To define USDT probes, dtrace -G makes use of relocations for undefined
symbols: the target addres
Author: markj
Date: Thu Aug 20 00:52:53 2020
New Revision: 364411
URL: https://svnweb.freebsd.org/changeset/base/364411
Log:
Use pmap_mapbios() to map ACPI tables on amd64 and i386.
The ACPI table-mapping code used pmap_kenter_temporary() to create
mappings, which in turn uses the fixed-s
Author: markj
Date: Thu Aug 20 00:38:32 2020
New Revision: 364410
URL: https://svnweb.freebsd.org/changeset/base/364410
Log:
Remove an unused parameter from map_table().
MFC after:1 week
Sponsored by: The FreeBSD Foundation
Modified:
head/sys/arm64/acpica/acpi_machdep.c
Modified:
quot;
+.\" This documentation was written 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
+.\" ar
Author: markj
Date: Tue Aug 18 14:17:14 2020
New Revision: 364346
URL: https://svnweb.freebsd.org/changeset/base/364346
Log:
Fix handling of ancillary data on non-AF_UNIX Linux sockets.
After r340674, the "continue" would restart the loop without having
updated clen, resulting in an infin
On Tue, Aug 18, 2020 at 01:03:25AM +0300, Andriy Gapon wrote:
> On 17/08/2020 18:37, Gleb Smirnoff wrote:
> > Author: glebius
> > Date: Mon Aug 17 15:37:08 2020
> > New Revision: 364310
> > URL: https://svnweb.freebsd.org/changeset/base/364310
> >
> > Log:
> > With INVARIANTS panic immediately i
Author: markj
Date: Tue Aug 18 14:09:49 2020
New Revision: 364345
URL: https://svnweb.freebsd.org/changeset/base/364345
Log:
Revert r364310.
Some of the resulting fallout in CAM does not appear straightforward to
fix, so simply revert the commit for now in the absence of a better
soluti
Author: markj
Date: Mon Aug 17 21:30:49 2020
New Revision: 364329
URL: https://svnweb.freebsd.org/changeset/base/364329
Log:
Remove "emulation" of clone(CLONE_PARENT | CLONE_THREAD).
On Linux this is supposed to result in EINVAL.
Reported by: syzkaller
MFC after:1 week
Sponsor
Author: markj
Date: Mon Aug 17 21:30:15 2020
New Revision: 364328
URL: https://svnweb.freebsd.org/changeset/base/364328
Log:
Fix a lock leak when emulating futex(FUTEX_WAIT_BITSET).
Reported by: syzkaller
MFC after:1 week
Sponsored by: The FreeBSD Foundation
Modified:
head/sys/c
Author: markj
Date: Mon Aug 17 17:14:56 2020
New Revision: 364317
URL: https://svnweb.freebsd.org/changeset/base/364317
Log:
Skip Linux madvise(MADV_DONTNEED) on unmanaged objects.
vm_object_madvise() is a no-op for unmanaged objects, but we should also
limit the scope of mappings on whic
Author: markj
Date: Mon Aug 17 14:06:51 2020
New Revision: 364306
URL: https://svnweb.freebsd.org/changeset/base/364306
Log:
Commit a missing piece of r364302.
This had failed to apply due to a merge conflict.
Reported by: Jenkins
MFC with: r364302
Modified:
head/sys/vm/vm_ke
Author: markj
Date: Mon Aug 17 13:08:04 2020
New Revision: 364304
URL: https://svnweb.freebsd.org/changeset/base/364304
Log:
cpuset(1): Update the usage message.
Parameters related to domain selection were not listed.
MFC after:1 week
Sponsored by: Juniper Networks, Klara Inc.
M
Author: markj
Date: Mon Aug 17 13:02:01 2020
New Revision: 364302
URL: https://svnweb.freebsd.org/changeset/base/364302
Log:
Remove the VM map zone.
Today, the zone is only used to allocate a trio of kernel maps: the
kernel map itself, and the exec and pipe submaps. Maps for user
proce
Author: markj
Date: Mon Aug 17 12:47:08 2020
New Revision: 364300
URL: https://svnweb.freebsd.org/changeset/base/364300
Log:
asmc(4): Add support for MacBook7,1.
PR: 248693
Submitted by: gc...@interia.pl
MFC after:1 week
Modified:
head/sys/dev/asmc/asmc.c
head/sys/dev
Author: markj
Date: Fri Aug 14 14:50:41 2020
New Revision: 364235
URL: https://svnweb.freebsd.org/changeset/base/364235
Log:
Rename the pipe_map field of struct pipe.
This is to avoid conflicts with a upcoming macro. pipe_pages is a
more accurate name since the field tracks pages wired i
Author: markj
Date: Wed Aug 12 16:08:44 2020
New Revision: 364168
URL: https://svnweb.freebsd.org/changeset/base/364168
Log:
linprocfs: Fix some inaccuracies in meminfo.
- Fill out MemFree correctly. Delete an ancient comment suggesting that
we don't want to advertise the true quantity
On Tue, Aug 11, 2020 at 03:21:31PM -0700, Conrad Meyer wrote:
> Hi Konstantin, Mark (raised the same question),
>
> On Tue, Aug 11, 2020 at 2:32 PM Konstantin Belousov
> wrote:
> >
> > On Tue, Aug 11, 2020 at 08:37:45PM +, Conrad Meyer wrote:
> > > Author: cem
> > > Date: Tue Aug 11 20:37:45
On Tue, Aug 11, 2020 at 08:37:45PM +, Conrad Meyer wrote:
> Author: cem
> Date: Tue Aug 11 20:37:45 2020
> New Revision: 364129
> URL: https://svnweb.freebsd.org/changeset/base/364129
>
> Log:
> Add support for multithreading the inactive queue pageout within a domain.
>
> In very high
Author: markj
Date: Tue Aug 11 16:40:09 2020
New Revision: 364118
URL: https://svnweb.freebsd.org/changeset/base/364118
Log:
Remove sys/compat/netbsd.
It contained only a header used by ncv(4), which was mainly used on pc98
systems. Both ncv(4) and pc98 support have long been removed.
D
Author: markj
Date: Tue Aug 11 14:19:05 2020
New Revision: 364112
URL: https://svnweb.freebsd.org/changeset/base/364112
Log:
script: Minor cleanups.
- Instead of using isatty() to decide whether to call tcgetattr(), just
call tcgetattr() directly, since that's all that isatty() does any
Author: markj
Date: Mon Aug 10 20:34:45 2020
New Revision: 364090
URL: https://svnweb.freebsd.org/changeset/base/364090
Log:
Check the UMA zone's full bucket cache before short-circuiting an alloc.
The global "bucketdisable" flag indicates that we are in a low memory
situation and should
Author: markj
Date: Mon Aug 10 17:01:59 2020
New Revision: 364083
URL: https://svnweb.freebsd.org/changeset/base/364083
Log:
fortune, strfile: Improve validation of command-line arguments.
- Avoid potential overflow when parsing a percentage.
- Avoid truncation when copying file paths.
Author: markj
Date: Fri Aug 7 18:48:56 2020
New Revision: 364039
URL: https://svnweb.freebsd.org/changeset/base/364039
Log:
script: Put the terminal in raw mode when playing back a session.
Otherwise recorded sessions of some interactive programs do not play
back properly.
PR:
Author: markj
Date: Thu Aug 6 15:43:15 2020
New Revision: 363960
URL: https://svnweb.freebsd.org/changeset/base/363960
Log:
Clean up reassignbuf() and buf_vlist_remove() a bit.
- Convert panic() calls to INVARIANTS-only assertions. The PCTRIE code
provides some of the same protection
Author: markj
Date: Thu Aug 6 15:42:59 2020
New Revision: 363959
URL: https://svnweb.freebsd.org/changeset/base/363959
Log:
Remove the vfs.reassignbufcalls counter and sysctl.
As the 20-year old comment above it suggests, the counter is of dubious
value. Moreover, the (global) counter w
Author: markj
Date: Wed Aug 5 17:26:20 2020
New Revision: 363925
URL: https://svnweb.freebsd.org/changeset/base/363925
Log:
Fix the smrstress build after r358400.
Reported by: pho
Modified:
head/tools/uma/smrstress/smrstress.c
Modified: head/tools/uma/smrstress/smrstress.c
===
Author: markj
Date: Wed Aug 5 17:06:14 2020
New Revision: 363917
URL: https://svnweb.freebsd.org/changeset/base/363917
Log:
Fix a TOCTOU vulnerability in freebsd32_copyin_control().
PR: 248257
Reported by: m00nbsd working with Trend Micro Zero Day Initiative
Reviewed by: ki
On Tue, Aug 04, 2020 at 11:09:16PM +, Mateusz Guzik wrote:
> Author: mjg
> Date: Tue Aug 4 23:09:15 2020
> New Revision: 363875
> URL: https://svnweb.freebsd.org/changeset/base/363875
>
> Log:
> ufs: only pass LK_ADAPTIVE if LK_NODDLKTREAT is set
>
> This restores the pre-adaptive spin
Author: markj
Date: Tue Aug 4 15:00:02 2020
New Revision: 363841
URL: https://svnweb.freebsd.org/changeset/base/363841
Log:
Remove an incorrect assertion from in6p_lookup_mcast_ifp().
The socket may be bound to an IPv4-mapped IPv6 address. However, the
inp address is not relevant to the
Author: markj
Date: Tue Aug 4 14:59:43 2020
New Revision: 363840
URL: https://svnweb.freebsd.org/changeset/base/363840
Log:
Remove most lingering references to the page lock in comments.
Finish updating comments to reflect new locking protocols introduced
over the past year. In particul
Author: markj
Date: Tue Aug 4 13:58:36 2020
New Revision: 363834
URL: https://svnweb.freebsd.org/changeset/base/363834
Log:
Remove free_domain() and uma_zfree_domain().
These functions were introduced before UMA started ensuring that freed
memory gets placed in domain-local caches. They
Author: markj
Date: Fri Jul 31 14:08:54 2020
New Revision: 363736
URL: https://svnweb.freebsd.org/changeset/base/363736
Log:
ng_iface(4): Remove unsupported protocols.
Update the ng_iface documentation and hooks to reflect the fact that the
node currently only supports IPv4 and v6 packets
Author: markj
Date: Fri Jul 31 14:08:32 2020
New Revision: 363735
URL: https://svnweb.freebsd.org/changeset/base/363735
Log:
ng_iface(4): Set the current VNET before calling netisr_dispatch().
This is normally handled by a netgraph thread, but netgraph messages may
be dispatched directly
Author: markj
Date: Thu Jul 30 17:43:23 2020
New Revision: 363710
URL: https://svnweb.freebsd.org/changeset/base/363710
Log:
ip6_output(): Check the return value of in6_getlinkifnet().
If the destination address has an embedded scope ID, make sure that it
corresponds to a valid ifnet befo
Author: markj
Date: Thu Jul 30 00:52:37 2020
New Revision: 363682
URL: https://svnweb.freebsd.org/changeset/base/363682
Log:
Fix a logic error in uipc_ready_scan().
When processing the last record in a socket buffer, take care to avoid a
NULL pointer dereference when advancing the record
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 initialization
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 w
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 MAXCOMLEN
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
Differenti
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
Dif
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 vm_page_free_in
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 week
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 u
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
Differen
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
Different
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 guarant
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 o
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 sections
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 w
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.
P
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
Differentia
101 - 200 of 2372 matches
Mail list logo