Page MenuHomeFreeBSD
Feed Advanced Search

Yesterday

markj requested review of D44934: arm64/vmm: Handle VM_EXITCODE_SUSPENDED.
Wed, Apr 24, 10:29 PM
markj requested review of D44933: vmrun.sh: Add arm64 support.
Wed, Apr 24, 10:29 PM
markj requested review of D44932: bhyvectl: Add an arm64 port.
Wed, Apr 24, 10:29 PM
markj accepted D44931: vfs_lookup.c: only call ktrcapfail() if KTRACE is enabled.
Wed, Apr 24, 7:18 PM
markj committed rG71b2ba909911: bhyve.8: Document arm64 support (authored by markj).
bhyve.8: Document arm64 support
Wed, Apr 24, 1:59 PM
markj closed D44738: bhyve.8: Document arm64 support.
Wed, Apr 24, 1:59 PM
markj committed rG63d5f8c0f25a: vmrun.sh: Stop passing -A to bhyve (authored by markj).
vmrun.sh: Stop passing -A to bhyve
Wed, Apr 24, 1:59 PM
markj committed rG107584716cde: bhyve.8: Remove mention of the -A flag (authored by markj).
bhyve.8: Remove mention of the -A flag
Wed, Apr 24, 1:58 PM
markj closed D44737: bhyve.8: Remove mention of the -A flag.
Wed, Apr 24, 1:58 PM
markj committed rG8ef2c021822f: busdma: uma_zcreate() does not fail (authored by markj).
busdma: uma_zcreate() does not fail
Wed, Apr 24, 1:17 PM
markj committed rG1e607a0753ff: khelp: uma_zcreate() does not fail (authored by markj).
khelp: uma_zcreate() does not fail
Wed, Apr 24, 1:17 PM
markj committed rG78c51db3c492: udf: uma_zcreate() does not fail (authored by markj).
udf: uma_zcreate() does not fail
Wed, Apr 24, 1:17 PM
markj committed rGb6a0ed7c78dd: wg: uma_zcreate() does not fail (authored by markj).
wg: uma_zcreate() does not fail
Wed, Apr 24, 1:17 PM
markj committed rG964064937ea0: dpaa: uma_zcreate() does not fail (authored by markj).
dpaa: uma_zcreate() does not fail
Wed, Apr 24, 1:17 PM
markj committed rGd44c78074d87: ng_pipe: Do not panic when memory allocations fail (authored by Martin Vahlensieck <git@academicsolutions.ch>).
ng_pipe: Do not panic when memory allocations fail
Wed, Apr 24, 1:17 PM
markj committed rGa3ecf8c78636: ng_pipe: Replace deprecated random() with prng32_bounded() (authored by Martin Vahlensieck <git@academicsolutions.ch>).
ng_pipe: Replace deprecated random() with prng32_bounded()
Wed, Apr 24, 1:17 PM
markj committed rGbb2ab7a374b9: ng_pipe: Remove node when all hooks are disconnected (authored by Martin Vahlensieck <git@academicsolutions.ch>).
ng_pipe: Remove node when all hooks are disconnected
Wed, Apr 24, 1:17 PM
markj committed rG8512311fb500: ng_pipe: Fix whitespace (authored by Martin Vahlensieck <git@academicsolutions.ch>).
ng_pipe: Fix whitespace
Wed, Apr 24, 1:17 PM
markj accepted D44908: geli.8: add some notes regarding performance tuning.

Seems ok, thank you. I included a couple of suggestions.

Wed, Apr 24, 12:38 PM
markj added inline comments to D44923: sound: Fix panic caused by sleeping-channel destruction during asynchronous detach.
Wed, Apr 24, 12:35 PM
markj added a comment to D44924: sound: Fix use-after-free in dsp_clone().

Is it a use-after-free? Looks like a plain NULL pointer dereference. (I guess KASAN will flag those as KASAN violations, but it looks like a non-KASAN kernel would hit this too.)

Wed, Apr 24, 12:29 PM
markj requested review of D44927: kthread: Set *tdptr earlier in kproc_kthread_add().
Wed, Apr 24, 12:25 PM

Tue, Apr 23

markj committed rGca0620b70750: RELNOTES: Add an entry for the nfs_reserved_port_only default change (authored by markj).
RELNOTES: Add an entry for the nfs_reserved_port_only default change
Tue, Apr 23, 4:56 PM
markj committed rG6d5ce2bb6344: nfsserver: Default to nfs_reserved_port_only="YES" (authored by markj).
nfsserver: Default to nfs_reserved_port_only="YES"
Tue, Apr 23, 4:56 PM
markj closed D44906: nfs: Default to nfs_reserved_port_only="YES".
Tue, Apr 23, 4:56 PM
markj added inline comments to D44912: sound: Retire unit.*.
Tue, Apr 23, 4:15 PM
markj accepted D44867: Add pthread_sigqueue(3).
Tue, Apr 23, 4:10 PM
markj updated the diff for D44906: nfs: Default to nfs_reserved_port_only="YES".

Initialize the sysctl to 1 as well.

Tue, Apr 23, 4:06 PM
markj added a comment to D44906: nfs: Default to nfs_reserved_port_only="YES".

Oh hmm, not unrelated, but at a glance I think it is superseded by the privport check. That is, all code paths which lead there first have to go through the privport check. But I could be wrong about this.

It feels like NFS_REQRSVPORT is older but apparently it was introduced by the same (initial) commit as the if (nfs_privport ... check (9ec7b004d0edb). Maybe replacing NFS_REQRSVPORT by a runtime check for nfs_privport would make sense, but I don't really know this code. It may be instead that the code under NFS_REQRSVPORT is redundant, I'm not sure either. In any case, this would be a separate change.

Wow, this one is embarrassing... 25+ years ago I was using OpenBSD for various things and
put this code in (OpenBSD didn't have a port# check). Then, 25 years ago, I did the first
rendition of NFSv4 starting from that OpenBSD code. The comment comes from the fact
that the NFSv4 working group was anti-reserved port# in those days.

It's cruft that has never been built for FreeBSD. I can get rid of it (or Mark can).

Tue, Apr 23, 4:05 PM
markj added inline comments to D44908: geli.8: add some notes regarding performance tuning.
Tue, Apr 23, 4:00 PM
markj added a comment to D44905: date: Add support for nanoseconds.

Looks good to me overall.

Tue, Apr 23, 3:55 PM
markj committed rG60546b68864f: exports.5: Update an example to use service(8) (authored by markj).
exports.5: Update an example to use service(8)
Tue, Apr 23, 1:52 PM
markj committed rG692106afb8a8: graid3: Fix teardown in g_raid3_try_destroy() (authored by markj).
graid3: Fix teardown in g_raid3_try_destroy()
Tue, Apr 23, 1:52 PM
markj committed rG21d1f73f886d: exports.5: Clarify that exported dirs should be local mount points (authored by markj).
exports.5: Clarify that exported dirs should be local mount points
Tue, Apr 23, 1:52 PM
markj added a comment to D44906: nfs: Default to nfs_reserved_port_only="YES".

There's also NFS_REQRSVPORT, but it is unrelated I guess?

Tue, Apr 23, 1:29 AM
markj added a comment to D44906: nfs: Default to nfs_reserved_port_only="YES".
In D44906#1023888, @bz wrote:

Should we change the in-kernel default as well? It will normally be overridden by the rc.conf setting so it doesn't have a practical impact but probably good for consistency.

Would NFS Root be affected by that? Hmm it's a tunable so less of a problem in case people do have trouble.

Tue, Apr 23, 1:19 AM

Mon, Apr 22

markj requested review of D44906: nfs: Default to nfs_reserved_port_only="YES".
Mon, Apr 22, 8:26 PM
markj added inline comments to D44905: date: Add support for nanoseconds.
Mon, Apr 22, 7:51 PM
markj added a comment to D44904: geli: add a read-only kern.geom.eli.use_uma_bytes sysctl.

Would it be worthwhile to document some of your performance findings in geli.8 or so? So that the next user to hit this problem doesn't have to redo your analysis and discover the relationship with vfs.zfs.vdev.aggregation_limit.

I was planning to follow up with a new tip in fortune(6) and at https://wiki.freebsd.org/ZFSTuningGuide . Do you think that would be sufficient or would you like geli(8) too?

Mon, Apr 22, 6:38 PM
markj accepted D44904: geli: add a read-only kern.geom.eli.use_uma_bytes sysctl.

Would it be worthwhile to document some of your performance findings in geli.8 or so? So that the next user to hit this problem doesn't have to redo your analysis and discover the relationship with vfs.zfs.vdev.aggregation_limit.

Mon, Apr 22, 6:22 PM
markj committed rG7a7063cc5427: thread: Add a missing include of asan.h (authored by markj).
thread: Add a missing include of asan.h
Mon, Apr 22, 5:12 PM
markj added inline comments to D44867: Add pthread_sigqueue(3).
Mon, Apr 22, 4:10 PM
markj committed rGef84dd8f4926: if_bridge: clean up INET/INET6 handling (authored by lexi_le-fay.org).
if_bridge: clean up INET/INET6 handling
Mon, Apr 22, 4:05 PM
markj committed rG7f7b4926a779: ng_hci: Add sockaddr validation to sendto() (authored by markj).
ng_hci: Add sockaddr validation to sendto()
Mon, Apr 22, 3:55 PM
markj committed rG800da341bc4a: thread: Simplify sanitizer integration with thread creation (authored by markj).
thread: Simplify sanitizer integration with thread creation
Mon, Apr 22, 3:55 PM
markj closed D44891: thread: Simplify sanitizer integration with thread creation.
Mon, Apr 22, 3:54 PM
markj committed rGfc045609789f: arm64: add CPU part identifiers for Apple M1 and M2 (authored by lexi_le-fay.org).
arm64: add CPU part identifiers for Apple M1 and M2
Mon, Apr 22, 1:49 PM
markj committed rG753de7251761: tarfs.5: Provide some guidance on zstd frame sizes (authored by markj).
tarfs.5: Provide some guidance on zstd frame sizes
Mon, Apr 22, 1:49 PM
markj added inline comments to D44867: Add pthread_sigqueue(3).
Mon, Apr 22, 1:38 PM
markj accepted D44886: ktrace: Describe CAPFAIL trace point in man page.

Nice, looks good.

Mon, Apr 22, 1:27 PM
markj added inline comments to D44615: Allow ng_bridge to automatically assign [up]link numbers for connect messages..
Mon, Apr 22, 1:24 PM

Sun, Apr 21

markj added inline comments to D44615: Allow ng_bridge to automatically assign [up]link numbers for connect messages..
Sun, Apr 21, 7:12 PM
markj added inline comments to D44882: kasan: wrap kstack cleanup into a helper.
Sun, Apr 21, 3:16 PM
markj requested review of D44891: thread: Simplify sanitizer integration with thread creation.
Sun, Apr 21, 3:15 PM
markj accepted D44887: ktrace: Remove CAPFAIL from default trace points.

I would point out in the commit message that, before your commits, CAPFAIL was basically never used, so users are very unlikely to notice the change in defaults.

Sun, Apr 21, 3:07 PM
markj added inline comments to D44886: ktrace: Describe CAPFAIL trace point in man page.
Sun, Apr 21, 3:05 PM
markj added inline comments to D44615: Allow ng_bridge to automatically assign [up]link numbers for connect messages..
Sun, Apr 21, 2:50 PM

Sat, Apr 20

markj added a comment to D44483: sdt: Prototype implementation of SDT probes using hot-patching.

Any feedback from DTrace? I would like to commit this soon.

Sat, Apr 20, 4:22 PM
markj committed rG955f213fa2f1: graid3: Fix teardown in g_raid3_try_destroy() (authored by markj).
graid3: Fix teardown in g_raid3_try_destroy()
Sat, Apr 20, 4:05 PM
markj committed rGc0f13232410c: wg tests: Add a simple regression test case for netmap support (authored by markj).
wg tests: Add a simple regression test case for netmap support
Sat, Apr 20, 4:05 PM
markj committed rGbf454ca88bdf: wg: Add netmap support (authored by markj).
wg: Add netmap support
Sat, Apr 20, 4:05 PM
markj closed D43460: wg: Add netmap support.
Sat, Apr 20, 4:05 PM
markj accepted D44867: Add pthread_sigqueue(3).

Looks reasonable to me.

Sat, Apr 20, 3:16 PM
markj added inline comments to D44882: kasan: wrap kstack cleanup into a helper.
Sat, Apr 20, 2:54 PM

Fri, Apr 19

markj added a comment to D44875: kasan: fix false-positive kasan_report upon thread reuse.

BTW, you could add

Fri, Apr 19, 7:18 PM
markj accepted D44875: kasan: fix false-positive kasan_report upon thread reuse.
Fri, Apr 19, 7:17 PM
markj committed rG87b0195ace1a: ctags: Use C99 bool instead of defining our own (authored by collin.funk1_gmail.com).
ctags: Use C99 bool instead of defining our own
Fri, Apr 19, 6:49 PM
markj committed rGe1e636193db4: tests: move atf_python/sys/ into the tests package (authored by lexi_le-fay.org).
tests: move atf_python/sys/ into the tests package
Fri, Apr 19, 6:49 PM
markj committed rG2cb0fce24d64: bpf: Make BPF interop consistent with if_loop (authored by Seth Hoffert <seth.hoffert@gmail.com>).
bpf: Make BPF interop consistent with if_loop
Fri, Apr 19, 6:49 PM
markj committed rG2f44f86575f9: install: Fix a compiler warning when bootstrapping (authored by markj).
install: Fix a compiler warning when bootstrapping
Fri, Apr 19, 6:49 PM
markj closed D44866: install: Fix a compiler warning when bootstrapping.
Fri, Apr 19, 6:49 PM
markj added inline comments to D44867: Add pthread_sigqueue(3).
Fri, Apr 19, 4:16 PM
markj requested review of D44866: install: Fix a compiler warning when bootstrapping.
Fri, Apr 19, 2:59 PM
markj added a comment to D44740: bhyve: Add arm64 support to the gdb stub.

It looks like the icache handling is missing after writing the brk instruction. I think this could be done from userspace as VPIPT i-cache has been removed from the architecture [1].

[1] https://lore.kernel.org/linux-arm-kernel/b9198f61-c3d1-462b-9cff-0342e26d9ba9@arm.com/T/

Fri, Apr 19, 1:24 PM
markj committed rGe411b2273603: uipc_shm: Fix a free() of an uninitialized variable (authored by markj).
uipc_shm: Fix a free() of an uninitialized variable
Fri, Apr 19, 12:20 AM

Thu, Apr 18

markj accepted D44852: sound: Get rid of snddev_info->devcount.
Thu, Apr 18, 8:29 PM
markj accepted D44855: sound: Simplify unit fetching in dsp_oss_audioinfo().
Thu, Apr 18, 8:22 PM
markj added inline comments to D44855: sound: Simplify unit fetching in dsp_oss_audioinfo().
Thu, Apr 18, 8:09 PM
markj accepted D44839: sound: Be more verbose with virtual channel descriptions.
Thu, Apr 18, 8:07 PM
markj added inline comments to D44852: sound: Get rid of snddev_info->devcount.
Thu, Apr 18, 8:07 PM
markj added inline comments to D44855: sound: Simplify unit fetching in dsp_oss_audioinfo().
Thu, Apr 18, 8:02 PM
markj accepted D44840: sound: Call device_get_name() and device_get_unit() only once in mixer_init().
Thu, Apr 18, 7:11 PM
markj accepted D44853: sound: Remove obsolete chn_setvolume().
Thu, Apr 18, 7:09 PM
markj accepted D44856: CONTRIBUTING: request only one submission type per change.

Some folks are also opening bugzilla reports that just link to a github PR.

Thu, Apr 18, 7:04 PM
markj accepted D44858: sound: Remove obsolete DV_F_* flags.
Thu, Apr 18, 7:03 PM
markj accepted D44854: sound: Remove PCMMINOR().
Thu, Apr 18, 6:53 PM
markj added a comment to D44837: sound: Remove redundant KASSERTs from unit.c.

However, snd_unit_init() is called unconditionally upon sound(4) load in dsp_sysinit(), so the KASSERTs will never fail.

Thu, Apr 18, 3:59 PM
markj committed rG464b1ab216d5: dumpon: fix set but not used variable (authored by inkeliz <inkeliz@inkeliz.com>).
dumpon: fix set but not used variable
Thu, Apr 18, 3:40 PM
markj accepted D44760: fbt: Fix compiler warnings in CDDL fbt sources..
Thu, Apr 18, 3:32 PM
markj added a comment to D44825: misc: Add a map of FreeBSD IDs to GitHub IDs.

<grumpy>I am personnally not sure of the usefulness of this file (why not the same for ht.st, codeberg, gitlab etc?</grumpy>

Thu, Apr 18, 1:45 PM

Wed, Apr 17

markj updated the diff for D44825: misc: Add a map of FreeBSD IDs to GitHub IDs.

Fix Andrew's ID

Wed, Apr 17, 9:27 PM
markj requested review of D44825: misc: Add a map of FreeBSD IDs to GitHub IDs.
Wed, Apr 17, 8:39 PM
markj committed rGb7e4666d7b69: nfsserver: Rate-limit messages about requests from unprivileged ports (authored by markj).
nfsserver: Rate-limit messages about requests from unprivileged ports
Wed, Apr 17, 2:43 PM
markj closed D44819: nfsserver: Rate-limit messages about requests from unprivileged ports.
Wed, Apr 17, 2:43 PM
markj committed rG1f85f062768d: vm_reserv_reclaim_contig: Return NULL not false (authored by minsoochoo0122_proton.me).
vm_reserv_reclaim_contig: Return NULL not false
Wed, Apr 17, 2:35 PM
markj committed rGca8e2e4c91cc: tcp: Make tcp_var.h more self-contained (authored by markj).
tcp: Make tcp_var.h more self-contained
Wed, Apr 17, 2:35 PM

Tue, Apr 16

markj requested review of D44819: nfsserver: Rate-limit messages about requests from unprivileged ports.
Tue, Apr 16, 10:58 PM
markj closed D44614: exports.5: Clarify that exported dirs should be local mount points.
Tue, Apr 16, 10:32 PM
markj committed rG9d975e47d5a3: exports.5: Clarify that exported dirs should be local mount points (authored by markj).
exports.5: Clarify that exported dirs should be local mount points
Tue, Apr 16, 10:32 PM
markj committed rG88d09ddea011: exports.5: Update an example to use service(8) (authored by markj).
exports.5: Update an example to use service(8)
Tue, Apr 16, 10:32 PM