Page MenuHomeFreeBSD
Feed Advanced Search

Jul 18 2022

vangyzen added a comment to D35845: bge: tell debugnet there are 2 rx rings, not 1,024.

define a way to limit mbuf cluster allocations to n in a code section

Why is this necessary? Why can't we let the driver allocate all available mbufs?

Because we want to avoid a situation where we exhaust all of our preallocated mbufs to fill populate a single ring. That's the reason we preallocate as much as we do today.

How do multi-queue NICs behave when some rx rings are empty? If a packet arrives on an empty rx ring, does the packet get dropped, or does it get queued to a different rx ring?

I've always assumed that the packet would get dropped if the ring to which it's steered doesn't have any available buffer space. That might not be true for all devices, but I wouldn't want to rely on that.

Jul 18 2022, 9:28 PM
vangyzen committed rG3ca4a3390356: bge: tell debugnet there are 2 rx rings, not 1,024 (authored by vangyzen).
bge: tell debugnet there are 2 rx rings, not 1,024
Jul 18 2022, 9:08 PM
vangyzen closed D35845: bge: tell debugnet there are 2 rx rings, not 1,024.
Jul 18 2022, 9:08 PM
vangyzen added a comment to D35845: bge: tell debugnet there are 2 rx rings, not 1,024.

I like your plan overall. I'm not intimately familiar with the network drivers, so I can't comment on that aspect.

Jul 18 2022, 8:59 PM
vangyzen requested review of D35845: bge: tell debugnet there are 2 rx rings, not 1,024.
Jul 18 2022, 6:13 PM

Jul 7 2022

vangyzen added inline comments to D35605: ipmi: handle ipmb requests.
Jul 7 2022, 10:58 PM

Jun 14 2022

vangyzen added a comment to D35473: kernel GDB: do not reboot the target.

I don't get why we don't send PC and the watch stop reason in the '?' case

Jun 14 2022, 7:14 PM

Jun 13 2022

vangyzen committed rG9f48eea36607: rpcbind: get contact addr from xprt members (authored by Dmitry.Ovsyannikov_dell.com).
rpcbind: get contact addr from xprt members
Jun 13 2022, 6:55 PM
vangyzen retitled D35473: kernel GDB: do not reboot the target from kernel GDB: do not reboot the node to kernel GDB: do not reboot the target.
Jun 13 2022, 4:11 PM
vangyzen added reviewers for D35473: kernel GDB: do not reboot the target: rlibby, rang_acm.org.
Jun 13 2022, 4:04 PM
vangyzen requested review of D35473: kernel GDB: do not reboot the target.
Jun 13 2022, 4:03 PM

May 31 2022

vangyzen added a comment to D35245: mandoc: workaround lack of macro parsing in list -width.

Ingo will commit something similar in the near future, and Baptiste will import a new release of mandoc. For now, Bapt approved this commit.

May 31 2022, 3:09 PM
vangyzen closed D35245: mandoc: workaround lack of macro parsing in list -width.
May 31 2022, 3:09 PM
vangyzen committed rG9f6a619a7d7a: mandoc: workaround lack of macro parsing in list -width (authored by vangyzen).
mandoc: workaround lack of macro parsing in list -width
May 31 2022, 3:09 PM

May 18 2022

vangyzen added a comment to D35245: mandoc: workaround lack of macro parsing in list -width.

Have you proposed this patch to upstream? ingo@openbsd.org is very responsive and should reply back quickly, before adding any custom patch I prefer it to be discussed with upstream first. (don't hesitate to CC me)

May 18 2022, 3:03 PM
vangyzen added a comment to D35245: mandoc: workaround lack of macro parsing in list -width.

Phabricator did not quite do what I wanted. There are two diffs here: formatted pages, and code. See the History tab.

May 18 2022, 2:43 PM
vangyzen updated the diff for D35245: mandoc: workaround lack of macro parsing in list -width.

Pages formatted with the old and new code.

May 18 2022, 2:41 PM
vangyzen added a reviewer for D35245: mandoc: workaround lack of macro parsing in list -width: manpages.
May 18 2022, 2:40 PM
vangyzen updated the summary of D35245: mandoc: workaround lack of macro parsing in list -width.
May 18 2022, 2:40 PM
vangyzen requested review of D35245: mandoc: workaround lack of macro parsing in list -width.
May 18 2022, 2:39 PM

May 13 2022

vangyzen committed rG20917cac7bcf: sysv test: properly wait for children (authored by vangyzen).
sysv test: properly wait for children
May 13 2022, 9:40 PM
vangyzen closed D35187: sysv test: properly wait for children.
May 13 2022, 9:40 PM
vangyzen added a comment to D35187: sysv test: properly wait for children.

Seems rather bizarre not to use wait() to begin with. I can't see a reason why it was done this way. :/

May 13 2022, 5:58 PM
vangyzen updated the diff for D35187: sysv test: properly wait for children.
  • Review feedback, and more
May 13 2022, 5:55 PM

May 12 2022

vangyzen requested review of D35187: sysv test: properly wait for children.
May 12 2022, 10:44 PM

Apr 12 2022

vangyzen accepted D34885: Extending the length of dirpath to fix the failure in kyua test sys/audit/inter-process:shm_unlink_success.
Apr 12 2022, 4:04 PM

Mar 26 2022

vangyzen committed rG490b09f24006: uma_zalloc_domain: call uma_zalloc_debug in multi-domain path (authored by vangyzen).
uma_zalloc_domain: call uma_zalloc_debug in multi-domain path
Mar 26 2022, 1:14 AM
vangyzen committed rGaca2a7facabb: stack_zero is not needed before stack_save (authored by vangyzen).
stack_zero is not needed before stack_save
Mar 26 2022, 1:14 AM
vangyzen committed rGa65bee6705ac: stack(9): dynamic allocation is not necessary (authored by vangyzen).
stack(9): dynamic allocation is not necessary
Mar 26 2022, 1:14 AM
vangyzen closed D34472: uma_zalloc_domain: call uma_zalloc_debug in multi-domain path.
Mar 26 2022, 1:14 AM
vangyzen closed D34461: stack(9): dynamic allocation is not necessary.
Mar 26 2022, 1:14 AM
vangyzen closed D34452: uma_zalloc: assert M_NOWAIT ^ M_WAITOK.
Mar 26 2022, 1:14 AM
vangyzen committed rGa8cbb835bfdf: uma_zalloc: assert M_NOWAIT ^ M_WAITOK (authored by vangyzen).
uma_zalloc: assert M_NOWAIT ^ M_WAITOK
Mar 26 2022, 1:14 AM
vangyzen closed D34451: ksiginfo_alloc: pass M_WAITOK or M_NOWAIT to uma_zalloc.
Mar 26 2022, 1:13 AM
vangyzen committed rG863070bbf602: ksiginfo_alloc: pass M_WAITOK or M_NOWAIT to uma_zalloc (authored by vangyzen).
ksiginfo_alloc: pass M_WAITOK or M_NOWAIT to uma_zalloc
Mar 26 2022, 1:13 AM
vangyzen closed D34450: vm_ksubmap_init: pass M_WAITOK to vmem_init -> uma_zalloc_arg.
Mar 26 2022, 1:13 AM
vangyzen committed rGcfbb5f8ce0f6: vm_ksubmap_init: pass M_WAITOK to vmem_init -> uma_zalloc_arg (authored by vangyzen).
vm_ksubmap_init: pass M_WAITOK to vmem_init -> uma_zalloc_arg
Mar 26 2022, 1:13 AM

Mar 12 2022

vangyzen accepted D34528: module_test: Fix some assignments to errno intended to be tests..
Mar 12 2022, 1:48 PM

Mar 11 2022

vangyzen committed rG86b12bbc715f: ratecheck: mininterval is const (authored by vangyzen).
ratecheck: mininterval is const
Mar 11 2022, 5:37 PM

Mar 10 2022

vangyzen updated the test plan for D34472: uma_zalloc_domain: call uma_zalloc_debug in multi-domain path.
Mar 10 2022, 7:03 PM

Mar 7 2022

vangyzen added a comment to D34452: uma_zalloc: assert M_NOWAIT ^ M_WAITOK.

D34450 and D34451 fix the WAIT flags in two callers.

Mar 7 2022, 7:01 PM
vangyzen added a comment to D34452: uma_zalloc: assert M_NOWAIT ^ M_WAITOK.

I also noticed that uma_zalloc_domain() does not call uma_zalloc_debug() in the multi-domain path.

Mar 7 2022, 6:59 PM
vangyzen requested review of D34472: uma_zalloc_domain: call uma_zalloc_debug in multi-domain path.
Mar 7 2022, 6:59 PM
vangyzen updated the diff for D34452: uma_zalloc: assert M_NOWAIT ^ M_WAITOK.
  • move to uma_zalloc_debug()
Mar 7 2022, 6:55 PM
vangyzen added a comment to D34452: uma_zalloc: assert M_NOWAIT ^ M_WAITOK.

This should go in uma_zalloc_debug() instead. Otherwise uma_zalloc_smr() isn't checked.

Mar 7 2022, 4:22 PM
vangyzen added a comment to D34452: uma_zalloc: assert M_NOWAIT ^ M_WAITOK.

Thanks for the review, Ryan.

Mar 7 2022, 3:53 PM
vangyzen added a reviewer for D34452: uma_zalloc: assert M_NOWAIT ^ M_WAITOK: markj.
Mar 7 2022, 3:53 PM
vangyzen updated the diff for D34461: stack(9): dynamic allocation is not necessary.
  • reword with markj
Mar 7 2022, 3:46 PM
vangyzen added inline comments to D34461: stack(9): dynamic allocation is not necessary.
Mar 7 2022, 3:46 PM
vangyzen added inline comments to D34452: uma_zalloc: assert M_NOWAIT ^ M_WAITOK.
Mar 7 2022, 1:29 AM
vangyzen requested review of D34461: stack(9): dynamic allocation is not necessary.
Mar 7 2022, 1:27 AM
vangyzen updated the diff for D34452: uma_zalloc: assert M_NOWAIT ^ M_WAITOK.
  • auto alloc the struct
Mar 7 2022, 1:20 AM

Mar 5 2022

vangyzen added inline comments to D34452: uma_zalloc: assert M_NOWAIT ^ M_WAITOK.
Mar 5 2022, 1:02 AM
vangyzen updated the test plan for D34451: ksiginfo_alloc: pass M_WAITOK or M_NOWAIT to uma_zalloc.
Mar 5 2022, 12:59 AM
vangyzen updated the test plan for D34450: vm_ksubmap_init: pass M_WAITOK to vmem_init -> uma_zalloc_arg.
Mar 5 2022, 12:58 AM
vangyzen requested review of D34452: uma_zalloc: assert M_NOWAIT ^ M_WAITOK.
Mar 5 2022, 12:56 AM
vangyzen requested review of D34451: ksiginfo_alloc: pass M_WAITOK or M_NOWAIT to uma_zalloc.
Mar 5 2022, 12:55 AM
vangyzen requested review of D34450: vm_ksubmap_init: pass M_WAITOK to vmem_init -> uma_zalloc_arg.
Mar 5 2022, 12:54 AM

Mar 4 2022

vangyzen added inline comments to D34417: Add simple kyua tests for the mod* system calls..
Mar 4 2022, 4:14 AM

Mar 3 2022

vangyzen accepted D34163: Improve timeout precision of pthread_cond_timedwait().
Mar 3 2022, 11:59 PM
vangyzen committed rGb8319d9f78f7: atrtc: reads Century field from FADT table (authored by austin.zhang_dell.com).
atrtc: reads Century field from FADT table
Mar 3 2022, 2:23 PM
vangyzen committed rG6a73d96ac4de: mmap map_at_zero test: handle W^X (authored by Arka Sharma <arka_sharma@dell.com>).
mmap map_at_zero test: handle W^X
Mar 3 2022, 2:22 PM
vangyzen committed rG769f1e79f58b: vfs_unregister: fix error handling (authored by Marvin Ma <marvin.ma@dell.com>).
vfs_unregister: fix error handling
Mar 3 2022, 2:22 PM
vangyzen committed rG487cee4ddc7d: ddb: do not assume that ffs is mounted with softdep (authored by Keith Owens <keith.owens2@dell.com>).
ddb: do not assume that ffs is mounted with softdep
Mar 3 2022, 2:22 PM
vangyzen committed rGa7b187860cb7: ipmi: support getting address from EFI (authored by yinlong.lu_dell.com).
ipmi: support getting address from EFI
Mar 3 2022, 2:22 PM
vangyzen committed rG0ea19e39ff05: ipmi,smbios: move smbios_walk_table to smbios.h (authored by val_packett.cool).
ipmi,smbios: move smbios_walk_table to smbios.h
Mar 3 2022, 2:22 PM
vangyzen committed rG4cfd4d54822b: smbios: support getting address from EFI (authored by val_packett.cool).
smbios: support getting address from EFI
Mar 3 2022, 2:21 PM
vangyzen committed rG7abbfbda1ea7: smbios: Move smbios driver out from x86 machdep code (authored by allanjude).
smbios: Move smbios driver out from x86 machdep code
Mar 3 2022, 2:21 PM

Mar 2 2022

vangyzen committed rGe8bb416da139: time_t is pathological: use %j + cast to print it. (authored by imp).
time_t is pathological: use %j + cast to print it.
Mar 2 2022, 11:41 PM
vangyzen committed rGac69e5d47101: MFV d1b143ee9a5: libbsdxml (expat) 2.4.6 (authored by vangyzen).
MFV d1b143ee9a5: libbsdxml (expat) 2.4.6
Mar 2 2022, 10:42 PM
vangyzen committed rGd1b143ee9a5c: Vendor import of expat 2.4.6 (authored by vangyzen).
Vendor import of expat 2.4.6
Mar 2 2022, 10:37 PM
vangyzen committed rGd8d0ac7b5d73: efivar: use bool for booleans (authored by imp).
efivar: use bool for booleans
Mar 2 2022, 10:01 PM
vangyzen committed rGc2d161d30006: efivar: Attempt to fix setting/printing/deleting EFI vars with '-' in their name (authored by imp).
efivar: Attempt to fix setting/printing/deleting EFI vars with '-' in their name
Mar 2 2022, 10:01 PM
vangyzen committed rG36a9057e043b: efivar: Add --quiet to not report errors (authored by imp).
efivar: Add --quiet to not report errors
Mar 2 2022, 10:01 PM
vangyzen committed rG9bee45e9151e: gzip: fix error handling in unxz (authored by vangyzen).
gzip: fix error handling in unxz
Mar 2 2022, 10:01 PM
vangyzen committed rG6887791e1869: efivar: handle error when reading --fromfile (authored by vangyzen).
efivar: handle error when reading --fromfile
Mar 2 2022, 10:01 PM
vangyzen committed rGbf75cc097a24: rtsold: fix memory leak in script execution (authored by vangyzen).
rtsold: fix memory leak in script execution
Mar 2 2022, 10:01 PM
vangyzen committed rGb43916e2300a: rtsold: Use correct error in llflags_get() (authored by vangyzen).
rtsold: Use correct error in llflags_get()
Mar 2 2022, 10:01 PM
vangyzen committed rGec68cb077be1: sendfile_test: fix copy-paste bug (authored by vangyzen).
sendfile_test: fix copy-paste bug
Mar 2 2022, 10:01 PM
vangyzen committed rG5be8c23a343f: elfdump: handle small files more gracefully (authored by vangyzen).
elfdump: handle small files more gracefully
Mar 2 2022, 10:01 PM
vangyzen committed rG22561b00abac: Integrate contrib/file/tests with kyua/atf (authored by vangyzen).
Integrate contrib/file/tests with kyua/atf
Mar 2 2022, 10:01 PM
vangyzen committed rGc14635226bab: newfs_msdos: connect the ATF test from NetBSD (authored by vangyzen).
newfs_msdos: connect the ATF test from NetBSD
Mar 2 2022, 10:01 PM
vangyzen committed rG6aac8c390466: Allow downstream projects to easily add private and internal libs (authored by vangyzen).
Allow downstream projects to easily add private and internal libs
Mar 2 2022, 10:01 PM
vangyzen committed rGb49682bb0658: sem_clockwait_np test: fix usage of ATF API (authored by vangyzen).
sem_clockwait_np test: fix usage of ATF API
Mar 2 2022, 10:00 PM
vangyzen committed rG190a6b5aeaa0: sem test: move sem_clockwait_np tests into individual cases (authored by vangyzen).
sem test: move sem_clockwait_np tests into individual cases
Mar 2 2022, 10:00 PM
vangyzen committed rG74c02b96ad5d: sem_clockwait_np test: relax time constraint on VMs (authored by vangyzen).
sem_clockwait_np test: relax time constraint on VMs
Mar 2 2022, 10:00 PM
vangyzen committed rGc15fc3249fa9: Fix lockstat:::thread-spin dtrace probe with LOCK_PROFILING (authored by vangyzen).
Fix lockstat:::thread-spin dtrace probe with LOCK_PROFILING
Mar 2 2022, 10:00 PM
vangyzen committed rG656de74c635f: aio_md_test: label the md (authored by vangyzen).
aio_md_test: label the md
Mar 2 2022, 10:00 PM
vangyzen committed rGac20fa249f12: aio_md_test: NUL-terminate result of readlink (authored by vangyzen).
aio_md_test: NUL-terminate result of readlink
Mar 2 2022, 10:00 PM
vangyzen committed rG77f0c44e49ba: aio_md_test: fix cleanup (authored by vangyzen).
aio_md_test: fix cleanup
Mar 2 2022, 9:59 PM
vangyzen committed rGd89523644308: libprocstat kstack: fix race with thread creation (authored by vangyzen).
libprocstat kstack: fix race with thread creation
Mar 2 2022, 9:59 PM
vangyzen committed rG94df301ac27e: Wait longer for a previous IPI to be sent (authored by vangyzen).
Wait longer for a previous IPI to be sent
Mar 2 2022, 9:58 PM
vangyzen committed rGf3629ca2f555: uefisign: handle empty sections (authored by vangyzen).
uefisign: handle empty sections
Mar 2 2022, 9:58 PM
vangyzen committed rG858c11b39cc5: uefisign: fix handling of errors from child proc (authored by vangyzen).
uefisign: fix handling of errors from child proc
Mar 2 2022, 9:58 PM

Mar 1 2022

vangyzen accepted D34304: fasttrap: Avoid creating WX mappings.
Mar 1 2022, 3:23 PM

Feb 28 2022

vangyzen accepted D34393: debugnet: remove spurious message on boot.
Feb 28 2022, 8:14 PM

Feb 25 2022

vangyzen committed rG1517b8d5a7f5: vfs_unregister: fix error handling (authored by Marvin Ma <marvin.ma@dell.com>).
vfs_unregister: fix error handling
Feb 25 2022, 6:21 PM
vangyzen closed D34375: vfs_unregister: fix error handling.
Feb 25 2022, 6:21 PM
vangyzen added a comment to D34375: vfs_unregister: fix error handling.

Because of this bug, the nfs VFS module was incorrectly unloaded. However, the nfscl module still refused to unload, so the result was mostly harmless, meaning the kernel didn't panic. The worst effect was, NFS was no longer listed as a VFS, so no NFS mounts could be created until the next reboot. Amusingly, kldload failed with EOPNOTSUPP before and after the fix, so I had to use dtrace to see the difference.

Feb 25 2022, 6:17 PM
vangyzen requested review of D34375: vfs_unregister: fix error handling.
Feb 25 2022, 3:41 PM