User Details
- User Since
- Sep 2 2014, 10:55 PM (577 w, 1 d)
Mon, Sep 15
Fri, Sep 12
Thu, Sep 11
We have tested PF, and verified that the sysctls are still there and have not changed.
ping, any update on this?
Fri, Sep 5
Thu, Sep 4
fixed comments, commit message to be:
e1000: fix igb VF stats
address comments, add comment about union usage
Tue, Sep 2
Mon, Sep 1
Note that this is only compiled tested. This was mainly to get a preliminary test patch out as it might be a couple days before I can do my own testing, and w/ 15 branch coming up, thought if someone had time to test/look at it in the meantime, we can compress the timeline.
Fri, Aug 29
The attached program can be used to test/verify the problem/fix. Compile w/ -m32.
Aug 19 2025
I forgot to tag the commit. This was committed in: https://cgit.freebsd.org/src/commit/?id=740b879c6ade531adebeba7cd2f261bbe650797f
Aug 18 2025
Oct 19 2024
Mar 4 2023
Mar 3 2023
[...]
0xffffffff82b053ac <+108>: 44 89 f0 mov %r14d,%eax 0xffffffff82b053af <+111>: 48 83 c4 10 add $0x10,%rsp 0xffffffff82b053b3 <+115>: 5b pop %rbx 0xffffffff82b053b4 <+116>: 41 5c pop %r12 0xffffffff82b053b6 <+118>: 41 5e pop %r14 0xffffffff82b053b8 <+120>: 41 5f pop %r15 0xffffffff82b053ba <+122>: 5d pop %rbp 0xffffffff82b053bb <+123>: c3 retEnd of assembler dump.
This change was inspired by noticing that CPU usage was significantly increased when running w/ the virtio_random module loaded. W/o it loaded, the harvest thread was consuming ~.02% cpu, but when it was loaded, it was consuming ~1% CPU (and there's a bug report of it consuming 100% cpu: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=269823 which this would partially fix).
Mar 1 2023
Feb 28 2023
Feb 27 2023
not sure how it included a file AFTER the commit hash, but arc is
weird.. hopefully this will work..
done.
implement kib's comments
Feb 26 2023
Feb 24 2023
Feb 22 2023
wrong change made it, this fully addresses comments
address style comments
Ok, will update the patch in a second, also forgot to include the output of the result:
root@freebsd:~ # kenv | grep ^smbios smbios.bios.reldate="02/06/2015" smbios.bios.revision="0.0" smbios.bios.vendor="EFI Development Kit II / OVMF" smbios.bios.version="0.0.0" smbios.chassis.maker="QEMU" smbios.chassis.type="Other" smbios.chassis.version="virt-7.1" smbios.memory.enabled="4194304" smbios.socket.enabled="1" smbios.socket.populated="1" smbios.system.maker="QEMU" smbios.system.product="QEMU Virtual Machine" smbios.system.version="virt-7.1" smbios.version="3.0"
May 26 2022
May 23 2022
May 14 2022
So, spent a few minutes looking into this, my testing was done on:
FreeBSD gate4 14.0-CURRENT FreeBSD 14.0-CURRENT #0 main-n255198-1907e1c07c3: Thu May 5 07:52:56 UTC 2022 root@releng1.nyi.freebsd.org:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64
May 13 2022
New patch has addressed a few of the comments.
Addresses a few of the comments.
Thanks, will address a few of the comments.
May 12 2022
May 11 2022
Apr 13 2022
I'll second the usage of Em or Sy, I'm a bit nervous about Sy, being symbolic, and how it'll format when using a proportional font (e.g. printed).
Dec 23 2021
Dec 13 2021
Jun 29 2021
Jun 26 2021
Jun 24 2021
Thanks for catching the compile issue. I hacked the modules to compile w/ debug, so missed the bug compiling w/o.
- make compile w/o USB_DEBUG defined...
update to support VLAN MTU...
Jun 3 2021
Let me know more about the CDCE_IND_SIZE_MAX constant.
May 4 2021
No, this needs to be updated to the new website.
Apr 21 2021
Apr 15 2021
Apr 13 2021
Looking at the comment in the original commit:
# TODO: Figure out where this should really be ordered. # I suspect it should go just after fsck but before mountcritlocal # but it's hard to tell for sure because of the bug described # below.
Apr 6 2021
Mar 16 2021
the phrase "This file derived from" has no history in our tree, I'd prefer the phrase I proposed.
Mar 15 2021
Thank you.
Mar 6 2021
Ok, the results from an arm64 run (A53, Pine64 A64-LTS).
Mar 3 2021
Mar 2 2021
strlen tests pass:
freebsd@test:/usr/tests $ kyua test lib/libc/string/strlen_test lib/libc/string/strlen_test:strlen_basic -> passed [0.004s] lib/libc/string/strlen_test:strlen_huge -> passed [0.027s] lib/libc/string/strlen_test:strnlen_basic -> passed [0.004s]
address comments.
- address brooks's comments,
style(9) uses \0 exclusively, so I guess I'll change.
- use a more common spelling of NUL...
Attached is a set of benchmarks. First number is chunk size, second number is number of 0's in the string that is sscanf'd.
Bench (results from an amd64, AMD PRO A10-8770E, 2.8GHz):
The strnlen will be committed as a separate commit, likely before this change, as this change depends upon it for performance.