User Details
- User Since
- Sep 2 2014, 10:55 PM (534 w, 6 d)
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.
Feb 17 2021
As "more" correct term was never provided, and phk also didn't like this change, no point in keeping this open.
I have no plans to work on this in the future. Someone else is free to take this over and get it committed.
Jan 21 2021
I know this was closed and committed, but I want to get some more discussion on this.
Jan 19 2021
Dec 13 2020
Dec 10 2020
Dec 1 2020
Nov 19 2020
can't say how correct this is, but it'll be great to have it fixed!
Nov 6 2020
Yes, can we please get this committed ASAP? I just spent some time debugging this problem. (Other solution would be for base not to read /etc/make.conf, but I have a feeling this commit is more likely.)
Nov 4 2020
Oct 26 2020
Oct 8 2020
- minor spelling and grammar fixups. (was originally included)
- revert this change... (release.sh)
- remove whitespace at end of the copyright lines..