Page MenuHomeFreeBSD
Feed Search

Dec 9 2025

jhb closed D53407: gpio_alloc_intr_resource: Pass rid by value.
Dec 9 2025, 8:13 PM
jhb closed D53405: acpi_bus_alloc_gas: Pass rid by value.
Dec 9 2025, 8:13 PM
jhb closed D53406: acpi_PkgGas: Pass rid by value.
Dec 9 2025, 8:13 PM
jhb closed D53404: pci_reserve_map: Pass rid by value.
Dec 9 2025, 8:12 PM
jhb closed D53403: resource_list_reserve: Pass rid by value.
Dec 9 2025, 8:12 PM
jhb added a reverting change for D53697: netlink: Fix overallocation of netlink message buffers: rG12165ac8407c: Revert "netlink: Fix overallocation of netlink message buffers".
Dec 9 2025, 8:00 PM
jhb added a reverting change for rG828df4d36d9d: netlink: Fix overallocation of netlink message buffers: rG12165ac8407c: Revert "netlink: Fix overallocation of netlink message buffers".
Dec 9 2025, 8:00 PM
jhb committed rG12165ac8407c: Revert "netlink: Fix overallocation of netlink message buffers".
Dec 9 2025, 7:59 PM
jhb added a comment to D53402: bus_alloc_resource: Pass rid by value to BUS_ALLOC_RESOURCE DEVMETHOD.

I've had no luck getting responses from any drm-kmod folks despite pinging on reviews. I think I will just go ahead and push this to main now and reply to the commit saying it breaks drm-kmod and letting the drm-kmod folks sort it out.

Dec 9 2025, 4:03 PM
jhb committed rG701e4b36b451: zfs: Reuse ZINCDIR variable from kmod.mk.
Dec 9 2025, 4:01 PM
jhb closed D54147: zfs: Reuse ZINCDIR variable from kmod.mk.
Dec 9 2025, 4:00 PM
jhb closed D54142: rman: Simplify initialization of internal globals.
Dec 9 2025, 4:00 PM
jhb closed D54143: rman: Embed the mutex in struct rman instead of using a separate allocation.
Dec 9 2025, 4:00 PM
jhb committed rGa35eae89cbdd: rman: Simplify initialization of internal globals.
Dec 9 2025, 4:00 PM
jhb committed rG305f85a3d6f2: rman: Embed the mutex in struct rman instead of using a separate allocation.
Dec 9 2025, 4:00 PM
jhb committed rGe2b8be511e90: nvmf_che: Add a manual page for the Chelsio NVMe/TCP PDU offload driver.
Dec 9 2025, 3:59 PM
jhb committed rGd8556d2bad40: nvmf_tcp.4: Don't quote the document description given to .Nd.
Dec 9 2025, 3:58 PM
jhb closed D53764: nvmf_che: Add a manual page for the Chelsio NVMe/TCP PDU offload driver.
Dec 9 2025, 3:58 PM
jhb committed rGbc2b10a59314: cxgbe: Stop using bus_space_tag/handle directly.
Dec 9 2025, 3:55 PM
jhb closed D53030: cxgbe: Stop using bus_space_tag/handle directly.
Dec 9 2025, 3:54 PM
jhb added a comment to D54148: netlink: Don't overwrite existing data in a linear buffer in snl_writer.
In D54148#1236974, @kp wrote:

What's this based on? It doesn't seem to want to apply to FreeBSD main (f9500e75791cf793904c80ca4a52433afd585a23).

I manually applied it to my cheri tree, and that does indeed work.

Dec 9 2025, 3:36 PM
jhb added inline comments to D54147: zfs: Reuse ZINCDIR variable from kmod.mk.
Dec 9 2025, 3:32 PM
jhb added a comment to D54143: rman: Embed the mutex in struct rman instead of using a separate allocation.

Hopefully rman routines are not used in any critical paths (attach/detach handlers should be a relatively rare path compared to, say, an interrupt handler)

Dec 9 2025, 3:29 PM

Dec 8 2025

jhb added a comment to D54148: netlink: Don't overwrite existing data in a linear buffer in snl_writer.

After reverting my earlier fix (which I don't intend to MFC and by which I was distracted by the "optimization" of reusing the existing buffer), this fixes pfctl for me on CHERI. In effect, it makes Igor's original commit just add the missing 'nw->size = new_size'. I think that probably explains both of the issues Igor noted in the original commit log. The buffer overflows were caused by nw->offset exceeding nw->size and eventually the realloc'd buffer was simply too small as it was only 'nw->size + <size of current object needed>' which could easily be smaller than 'nw->offset' once you've appended a few things larger than the initial buffer size.

Dec 8 2025, 10:14 PM
jhb requested review of D54148: netlink: Don't overwrite existing data in a linear buffer in snl_writer.
Dec 8 2025, 10:10 PM
jhb requested review of D54147: zfs: Reuse ZINCDIR variable from kmod.mk.
Dec 8 2025, 9:38 PM
jhb closed D53770: bsdinstall: Mount /dev and /packages after using the shell to partition disks.
Dec 8 2025, 9:35 PM
jhb committed rGf63a8c0a0915: bsdinstall: Mount /dev and /packages after using the shell to partition disks.
Dec 8 2025, 9:35 PM
jhb requested review of D54143: rman: Embed the mutex in struct rman instead of using a separate allocation.
Dec 8 2025, 6:54 PM
jhb requested review of D54142: rman: Simplify initialization of internal globals.
Dec 8 2025, 6:54 PM
jhb committed rGacd02443a952: proc0_post: Clear relevant thread stats directly.
Dec 8 2025, 4:17 PM
jhb closed D54050: proc0_post: Clear relevant thread stats directly.
Dec 8 2025, 4:17 PM
jhb committed rGdafe50ebd874: thread0: Clear td_rux stats in proc0_post.
Dec 8 2025, 4:17 PM
jhb closed D54040: thread0: Clear td_rux stats in proc0_post.
Dec 8 2025, 4:17 PM
jhb committed rG3f8ed605dbd0: ruxreset: Add an inline function to reset all the stats in rusage_ext.
Dec 8 2025, 4:17 PM
jhb closed D54049: ruxreset: Add an inline function to reset all the stats in rusage_ext.
Dec 8 2025, 4:17 PM

Dec 5 2025

jhb added inline comments to D54049: ruxreset: Add an inline function to reset all the stats in rusage_ext.
Dec 5 2025, 3:08 PM
jhb created P680 Command-Line Input.
Dec 5 2025, 2:30 PM
jhb accepted D54078: bus: Return 0 if reading an ivar fails.

Hmmm, I wonder if 0 is the right thing vs something like 0xdeadc0de. We have a few explicit IVAR handlers that intentionally return a default value (e.g. acpi_get_handle()) and those do tend to be zero (and in those cases we don't KASSERT). I have a patch in a branch to add a new one like that for ThunderBolt PCI bridges even. 0 is probably fine as a default, but @imp might also have an opinion.

Dec 5 2025, 1:16 PM

Dec 4 2025

jhb committed rG61ffc1bf8c42: MAC: Rename mac_cred_create_swapper to mac_cred_create_kproc0.
Dec 4 2025, 7:53 PM
jhb committed rGf6910b09a230: sys: Remove/update references to the swapper process in various comments.
Dec 4 2025, 7:53 PM
jhb committed rG431b3b224db2: thread0: Stop calling thread0 "swapper".
Dec 4 2025, 7:53 PM
jhb closed D54052: MAC: Rename mac_cred_create_swapper to mac_cred_create_kproc0.
Dec 4 2025, 7:53 PM
jhb closed D54051: sys: Remove/update references to the swapper process in various comments.
Dec 4 2025, 7:53 PM
jhb closed D54039: thread0: Stop calling thread0 "swapper".
Dec 4 2025, 7:53 PM
jhb added a comment to D54051: sys: Remove/update references to the swapper process in various comments.

There is an occurrence of "swapper" in sys/vm/vnode_pager.c that seems to also point to the swapper process.

Dec 4 2025, 3:46 PM
jhb added inline comments to D54049: ruxreset: Add an inline function to reset all the stats in rusage_ext.
Dec 4 2025, 3:42 PM

Dec 3 2025

jhb requested review of D54052: MAC: Rename mac_cred_create_swapper to mac_cred_create_kproc0.
Dec 3 2025, 4:33 PM
jhb requested review of D54051: sys: Remove/update references to the swapper process in various comments.
Dec 3 2025, 4:33 PM
jhb updated the diff for D54040: thread0: Clear td_rux stats in proc0_post.

Use ruxreset

Dec 3 2025, 4:31 PM
jhb requested review of D54050: proc0_post: Clear relevant thread stats directly.
Dec 3 2025, 4:31 PM
jhb requested review of D54049: ruxreset: Add an inline function to reset all the stats in rusage_ext.
Dec 3 2025, 4:30 PM
jhb added inline comments to D54040: thread0: Clear td_rux stats in proc0_post.
Dec 3 2025, 3:38 PM
jhb added inline comments to D54039: thread0: Stop calling thread0 "swapper".
Dec 3 2025, 3:34 PM

Dec 2 2025

jhb requested review of D54040: thread0: Clear td_rux stats in proc0_post.
Dec 2 2025, 10:44 PM
jhb requested review of D54039: thread0: Stop calling thread0 "swapper".
Dec 2 2025, 10:44 PM
jhb updated the diff for D53770: bsdinstall: Mount /dev and /packages after using the shell to partition disks.

Add to OptionalObsoleteFiles.inc

Dec 2 2025, 4:05 PM
jhb committed rG44d6df4f65b1: nvme: Use memcpy instead of memmove in nvme_cdata_get_disk_ident.
Dec 2 2025, 4:02 PM
jhb closed D53842: nvme: Use memcpy instead of memmove in nvme_cdata_get_disk_ident.
Dec 2 2025, 4:02 PM
jhb retitled D53842: nvme: Use memcpy instead of memmove in nvme_cdata_get_disk_ident from nvme: Small cleanups to <dev/nvme/nvme.h>
Dec 2 2025, 3:56 PM
jhb added a comment to D53770: bsdinstall: Mount /dev and /packages after using the shell to partition disks.

FYI, submitter of the bug report tried this out and it fixed their issue.

Dec 2 2025, 3:54 PM

Dec 1 2025

jhb committed R9:e65af968cf40: relnotes: Document NVMe over Fabrics.
Dec 1 2025, 5:19 PM
jhb committed R9:938c8e7d05dc: relnotes: New versions of byacc and ncurses.
Dec 1 2025, 5:06 PM
jhb committed R9:c2b03500d62a: relnotes: Document bsddialog version and use in bsdinstall/bsdconfig.
Dec 1 2025, 5:03 PM
jhb committed R9:b0e007b14752: relnotes: Some wireless driver updates.
Dec 1 2025, 4:35 PM
jhb committed R9:b6c308d0fc5d: relnote: Only document latest update to rtw88 and rtw89.
Dec 1 2025, 4:19 PM
jhb committed R9:2d7d2103f450: relnotes: Use consistent markup for Git references.
Dec 1 2025, 4:19 PM
jhb committed R9:ff930c1c1c83: relnotes: Tweaks to contrib software.
Dec 1 2025, 4:19 PM
jhb committed R9:a77af5ac45b2: relnotes: agp(4) is still present in 15.0.
Dec 1 2025, 4:19 PM
jhb committed R9:b63fc6f01b3f: relnotes: Drop i386 from multiple MCFG description.
Dec 1 2025, 4:19 PM
jhb committed R9:51e5d075c8a5: relnotes: Don't claim gvinum is deprecated as well as removed.
Dec 1 2025, 4:19 PM
jhb committed R9:d80a1d9c2074: relnotes: Correct details about KTLS.
Dec 1 2025, 3:45 PM
jhb added inline comments to D53842: nvme: Use memcpy instead of memmove in nvme_cdata_get_disk_ident.
Dec 1 2025, 2:52 PM

Nov 24 2025

jhb committed rG828df4d36d9d: netlink: Fix overallocation of netlink message buffers.
Nov 24 2025, 3:59 PM
jhb requested review of D53898: sys: Declare 'end' as an extern char[].
Nov 24 2025, 3:58 PM
jhb closed D53697: netlink: Fix overallocation of netlink message buffers.
Nov 24 2025, 3:58 PM
jhb committed rGf7ab908244e5: freebsd32_setcred: Copy all of the setcred fields individually.
Nov 24 2025, 3:55 PM
jhb committed rG6292eecfd95c: setcred: Move initial copyin of struct setcred out to per-ABI syscall.
Nov 24 2025, 3:55 PM
jhb committed rG134d00bd2c91: MAC: Use the current thread's user ABI to determine the layout of struct mac.
Nov 24 2025, 3:55 PM
jhb committed rGe928afc531e6: Use ZFSTOP more broadly.
Nov 24 2025, 3:54 PM
jhb committed rG7980cf5d6f71: Centralize definition of ZFSTOP.
Nov 24 2025, 3:54 PM
jhb closed D53757: freebsd32_setcred: Copy all of the setcred fields individually.
Nov 24 2025, 3:54 PM
jhb closed D53756: setcred: Move initial copyin of struct setcred out to per-ABI syscall.
Nov 24 2025, 3:54 PM
jhb closed D53755: MAC: Use the current thread's user ABI to determine the layout of struct mac.
Nov 24 2025, 3:54 PM
jhb closed D53791: Use ZFSTOP more broadly.
Nov 24 2025, 3:54 PM
jhb closed D53790: Centralize definition of ZFSTOP.
Nov 24 2025, 3:54 PM

Nov 22 2025

jhb committed rG46d05a49a1d0: loader.efi.8: Minor formatting nits.
Nov 22 2025, 1:11 PM
jhb closed D53866: loader.efi.8: Minor formatting nits.
Nov 22 2025, 1:11 PM
jhb updated the diff for D53756: setcred: Move initial copyin of struct setcred out to per-ABI syscall.

More const

Nov 22 2025, 1:08 PM
jhb updated the diff for D53790: Centralize definition of ZFSTOP.

Use ?=

Nov 22 2025, 1:07 PM
jhb added inline comments to D53756: setcred: Move initial copyin of struct setcred out to per-ABI syscall.
Nov 22 2025, 1:01 PM

Nov 21 2025

jhb requested review of D53866: loader.efi.8: Minor formatting nits.
Nov 21 2025, 10:51 PM

Nov 20 2025

jhb added inline comments to D53764: nvmf_che: Add a manual page for the Chelsio NVMe/TCP PDU offload driver.
Nov 20 2025, 3:03 PM
jhb requested review of D53842: nvme: Use memcpy instead of memmove in nvme_cdata_get_disk_ident.
Nov 20 2025, 2:52 PM
jhb updated the diff for D53697: netlink: Fix overallocation of netlink message buffers.

Trim #if 0'd code

Nov 20 2025, 2:45 PM
jhb updated the diff for D53755: MAC: Use the current thread's user ABI to determine the layout of struct mac.

Use void *

Nov 20 2025, 2:38 PM
jhb committed rG032fbda024d7: nvme: Include <sys/systm.h> explicitly for memmove.
Nov 20 2025, 2:38 PM
jhb added inline comments to D53790: Centralize definition of ZFSTOP.
Nov 20 2025, 2:09 PM

Nov 17 2025

jhb added inline comments to D53756: setcred: Move initial copyin of struct setcred out to per-ABI syscall.
Nov 17 2025, 9:54 PM
jhb added a comment to D53755: MAC: Use the current thread's user ABI to determine the layout of struct mac.

Well, this isn't a generated stub so using void * could be ok, OTOH, it is now always passed something like wcred->cr_label in which case it is typed (though user_setcred intentionally discards that type) and it might be nice to keep what type checking you do get there (so that for internal APIs a compat user pointer is always treated as the native user pointer). Most places where we deal with user pointers though they are just one type and not polymorphic as in this case. Globally changing all user pointers would definitely be a net negative, but using void * here is probably fine.

Nov 17 2025, 9:50 PM