Page MenuHomeFreeBSD

kfv (Faraz Vahedi)
User

Projects (3)

User Details

User Since
Jun 14 2019, 6:43 AM (390 w, 2 d)

Recent Activity

Fri, Dec 4

kfv added a reviewer for D60897: virtio_console: Honour tty input flow control: andrew.
Fri, Dec 4, 7:47 PM
kfv added a reviewer for D60895: virtio_console: Add system console support: andrew.
Fri, Dec 4, 7:46 PM
kfv added a reviewer for D60582: virtio_console: Defer device notifications until DRIVER_OK: andrew.
Fri, Dec 4, 7:46 PM
kfv added a reviewer for D60617: virtio_console: Add a second transmit buffer: andrew.
Fri, Dec 4, 7:46 PM
kfv added a reviewer for D60538: virtio_console: Make the transmit path usable without the tty lock: andrew.
Fri, Dec 4, 7:45 PM

Wed, Dec 2

kfv added inline comments to D60895: virtio_console: Add system console support.
Wed, Dec 2, 11:57 AM
kfv added a comment to D62193: network.subr: Wait for DAD on child interfaces too.

Thanks, mate. Let me know if there's anything I can do to help. In the meantime, I'll wait for the go-ahead from one of my mentors and get it sorted as soon as I have their approval. Cheers!

Wed, Dec 2, 11:01 AM

Tue, Dec 1

kfv added inline comments to D60895: virtio_console: Add system console support.
Tue, Dec 1, 11:59 AM
kfv added a comment to D60895: virtio_console: Add system console support.

Coming over from D61088 (which I've abandoned in favor of this series). This looks much cleaner and covers Apple Virtualization.framework well.

One minor edge case I noticed when comparing: in vtcon_cnungrab(), the return value of virtqueue_enable_intr(scport->vcsp_invq) is discarded. If input arrived in the used ring while cn_grab had interrupts disabled (e.g. leaving mountroot> or ddb), those bytes could sit undrained until the next interrupt. Since vcsp_mtx is a spin lock and vtcon_port_in() needs the port lock, draining there isn't trivial, so it may not matter in practice — just flagging it in case.

Tue, Dec 1, 9:56 AM

Mon, Nov 30

kfv added a comment to D62193: network.subr: Wait for DAD on child interfaces too.
In D62193#1425571, @kfv wrote:

Bound the DAD wait to dad_count + 1 seconds instead of 2 * dad_count

Is it possible to bound this logic to use_optimistic sysctl?
We only need to wait twice of dad_count only if use_optimistic is false.

Mon, Nov 30, 9:39 AM

Sun, Nov 29

kfv updated the summary of D62193: network.subr: Wait for DAD on child interfaces too.
Sun, Nov 29, 9:14 PM
kfv updated the diff for D62193: network.subr: Wait for DAD on child interfaces too.

Bound the DAD wait to dad_count + 1 seconds instead of 2 * dad_count

Sun, Nov 29, 9:13 PM
kfv added a comment to D61089: arm64: add virtio_console to std.virt.

Cheers!

Sun, Nov 29, 1:08 PM
kfv added a comment to D61088: virtio_console: register a low-level console for the console port.

Cheers!

Sun, Nov 29, 1:08 PM
kfv accepted D61930: sysrc: Add -u and -U.

Thanks, Devin!

Sun, Nov 29, 11:58 AM
kfv accepted D61818: bsdconfig: Resolve GEOM ids and names without scanning.

We'd need an entry in etc/mtree/BSD.tests.dist, wouldn't we? If so, could you please take care of that as well? Everything else looks brilliant. This is a lovely work. Cheers!

Sun, Nov 29, 11:57 AM
kfv accepted D62050: bsdinstall: Fix and optimize checksum validation awk.
Sun, Nov 29, 11:30 AM
kfv added a comment to D61089: arm64: add virtio_console to std.virt.

No objection on this, this is fine to go in independently of your console work. One nit, though: the comment is misaligned with the lines around it; it needs a second tab after virtio_console. You can either take care of it yourself or I can do it when we plan to land.

Sun, Nov 29, 11:02 AM
kfv requested changes to D61088: virtio_console: register a low-level console for the console port.

Thanks for working on this. Have you seen my earlier review for the same feature, D60895? The two can't both land, as they touch the same code under the same names.

Sun, Nov 29, 10:58 AM
kfv accepted D59474: jib, jng: Move to usr.sbin and add manuals.
Sun, Nov 29, 10:22 AM · Netgraph
kfv updated the summary of D62193: network.subr: Wait for DAD on child interfaces too.
Sun, Nov 29, 10:13 AM
kfv added a comment to D62193: network.subr: Wait for DAD on child interfaces too.

This work was requested by and discussed with Pouria, and is based on the llm-postcr report and our own observations.

Sun, Nov 29, 10:11 AM
kfv requested review of D62193: network.subr: Wait for DAD on child interfaces too.
Sun, Nov 29, 10:04 AM

Wed, Nov 25

kfv accepted D62050: bsdinstall: Fix and optimize checksum validation awk.
Wed, Nov 25, 4:50 PM
kfv accepted D62049: bsdinstall: Fix checksum incorrect percentages.
Wed, Nov 25, 4:32 PM
kfv accepted D62047: bsdinstall: Optimize checksum percentage calculation.
Wed, Nov 25, 4:31 PM
kfv accepted D62046: bsdinstall: checksum: Add necessary quotes, remove unnecessary quotes.
Wed, Nov 25, 4:30 PM
kfv accepted D62045: bsdinstall: Fix checksum dist_to_statusvar(), remove evals.
Wed, Nov 25, 4:29 PM
kfv committed rG4c4416d9ec0f: sh(1): Preserve const qualifier on strchr(3) result (authored by Amirmuhammadshk_gmail.com).
Wed, Nov 25, 9:56 AM

Mon, Nov 23

kfv added inline comments to D61930: sysrc: Add -u and -U.
Mon, Nov 23, 2:09 PM
kfv accepted D61743: sysrc: Accept values that contain a newline.

Thanks, Devin!

Mon, Nov 23, 1:23 PM
kfv accepted D61742: sysrc: Add "unchanged" messages.

Cheers!

Mon, Nov 23, 1:22 PM

Sun, Nov 22

kfv added a comment to D61743: sysrc: Accept values that contain a newline.

Other than that one inline comment, the patch looks brilliant and does indeed fix the PR. Cheers!

Sun, Nov 22, 9:29 AM
kfv accepted D61741: sysrc: Send -c output to stderr instead of stdout.
Sun, Nov 22, 8:21 AM
kfv accepted D61739: sysrc: Change -l/-L to list files one per-line.
Sun, Nov 22, 8:20 AM
kfv accepted D61738: sysrc: Fix -e output.
Sun, Nov 22, 8:20 AM
kfv accepted D61722: sysrc: Add error messages to usage responses.
Sun, Nov 22, 8:19 AM
kfv accepted D61740: sysrc: Support special characters in file names.
Sun, Nov 22, 8:18 AM
kfv accepted D61735: sysrc: Add more sanity checks.

Thanks, Devin!

Sun, Nov 22, 8:17 AM
kfv added inline comments to D61742: sysrc: Add "unchanged" messages.
Sun, Nov 22, 8:15 AM
kfv accepted D61739: sysrc: Change -l/-L to list files one per-line.
Sun, Nov 22, 7:05 AM
kfv added inline comments to D61735: sysrc: Add more sanity checks.
Sun, Nov 22, 6:41 AM

Sat, Nov 21

kfv accepted D61741: sysrc: Send -c output to stderr instead of stdout.

This looks good to me. I'd just prefer to use our newly added err() helper, but I'll leave that up to you.

Sat, Nov 21, 5:58 PM
kfv added inline comments to D61740: sysrc: Support special characters in file names.
Sat, Nov 21, 4:16 PM
kfv added inline comments to D61739: sysrc: Change -l/-L to list files one per-line.
Sat, Nov 21, 3:30 PM

Fri, Nov 20

kfv accepted D61738: sysrc: Fix -e output.
Fri, Nov 20, 7:09 PM
kfv added inline comments to D61735: sysrc: Add more sanity checks.
Fri, Nov 20, 4:50 PM

Thu, Nov 19

kfv accepted D61722: sysrc: Add error messages to usage responses.

Thanks, Devin!

Thu, Nov 19, 7:08 PM
kfv added inline comments to D61722: sysrc: Add error messages to usage responses.
Thu, Nov 19, 4:11 PM
kfv accepted D61721: sysrc: Improve die() function.
Thu, Nov 19, 9:41 AM
kfv accepted D61720: sysrc: Add kfv to sysrc(8) thanks section.

Oh, that's really lovely of you, thanks!

Thu, Nov 19, 9:39 AM
kfv accepted D61719: sysrc: sort -fd and comments.
Thu, Nov 19, 9:34 AM

Wed, Nov 18

kfv accepted D61659: sysrc: Add .= operator for STRAPPEND.

Very interesting patch! Cheers!

Wed, Nov 18, 3:58 PM
kfv accepted D61658: sysrc: Add -_*~$ as non-delimiter list operation chars.
Wed, Nov 18, 3:54 PM
kfv accepted D61657: sysrc: Disable filename globbing on list assignment.
Wed, Nov 18, 3:53 PM
kfv accepted D61656: sysrc: Enforce raw (-r) mode for all assignments.
Wed, Nov 18, 3:51 PM
kfv added a comment to D61584: sysrc: Add -r raw and fixup -c assignment check.

Sounds like a very good plan. Thanks for the fixes, by the way. Cheers!

Wed, Nov 18, 3:51 PM
kfv accepted D61584: sysrc: Add -r raw and fixup -c assignment check.
Wed, Nov 18, 3:49 PM

Tue, Nov 17

kfv committed rG1ddd5b301d27: pax(1): Preserve const qualifier on strchr(3) result (authored by Amirmuhammadshk_gmail.com).
Tue, Nov 17, 9:30 AM

Mon, Nov 16

kfv committed rGc8341e615406: libm: Implement iseqsig().
Mon, Nov 16, 11:29 AM
kfv closed D60642: libm: Implement iseqsig().
Mon, Nov 16, 11:29 AM
kfv added a comment to D60642: libm: Implement iseqsig().
In D60642#1411775, @fuz wrote:

Probably correct. I wonder if there is a built-in for this one. X86 for example has this as a instruction afaik.
Approved for commit.

Mon, Nov 16, 11:23 AM
kfv added a comment to D61584: sysrc: Add -r raw and fixup -c assignment check.

The rest looks good to me. Thanks!

Mon, Nov 16, 11:11 AM
kfv added inline comments to D61584: sysrc: Add -r raw and fixup -c assignment check.
Mon, Nov 16, 11:09 AM

Sun, Nov 15

kfv added a comment to D61584: sysrc: Add -r raw and fixup -c assignment check.

These are the only two things that've caught my eye so far. I'll have a closer look tomorrow, though.

Sun, Nov 15, 10:06 PM
kfv added a comment to D42106: Bug 235946 - column(1): Fill order (with/without -x) is incorrectly documented.

The manpage isn't actually wrong, just ambiguous, and I think that stems from the "fill" wording. By "filling columns" it means stepping through the column positions, which matches the code, but I agree hardly anyone will read it that way. The current wording misleads the end user, where the proposed wording misleads anyone reading the source, so IMHO it doesn't remove the ambiguity, it just moves it elsewhere. I'd rather we drop "fill" altogether and borrow something similar to ls(1); e.g. "Entries are arranged down the columns" for the default behaviour and "Arrange entries across, rather than down, the columns" for -x, or something like that.

Sun, Nov 15, 3:31 PM
kfv committed rG6871285f194d: sysconf: Add ucl and pkg targets.
Sun, Nov 15, 11:03 AM
kfv closed D61064: sysconf: Add ucl and pkg targets.
Sun, Nov 15, 11:03 AM
kfv retitled D61064: sysconf: Add ucl and pkg targets from sysconf: add ucl and pkg targets
Sun, Nov 15, 10:51 AM

Sat, Nov 14

kfv added a comment to D60642: libm: Implement iseqsig().

I've had some positive feedback from kargl@. Would it be alright to go ahead and land it?

Sat, Nov 14, 8:46 PM
kfv committed rG7940130c2e87: libc: Export timespec_getres(3) and add tests.
Sat, Nov 14, 9:42 AM
kfv committed rG96da6719c04e: libc: Fix stack buffer overflow in cgetnext().
Sat, Nov 14, 9:42 AM

Tue, Nov 10

kfv accepted D61344: devd: define _PATH_DEVD_SOCKET in <paths.h>.
Tue, Nov 10, 11:36 AM
kfv accepted D61345: unistd.h: sort sysconf(3) arguments.
Tue, Nov 10, 7:46 AM

Sat, Nov 7

kfv updated the diff for D61064: sysconf: Add ucl and pkg targets.

Address @dteske's feedback and add corresponding tests

Sat, Nov 7, 4:24 PM
kfv added a comment to D56673: libc/yp: fix memory issues and compiler warnings in xdryp.c.

(take @kfv's comments over mine - they know more about this area than I do)

Sat, Nov 7, 4:13 PM
kfv requested changes to D56673: libc/yp: fix memory issues and compiler warnings in xdryp.c.

Besides my inline comments:

Sat, Nov 7, 2:22 PM
kfv added a comment to D23880: libc/strptime(3): Handle ISO 8601 time zone formats in %z.

Thanks, the %z change looks good to me. Could you just rebase it onto main, please? Let me know if you're tied up and could use a hand.

Sat, Nov 7, 1:38 PM
kfv added a comment to D56673: libc/yp: fix memory issues and compiler warnings in xdryp.c.
Sat, Nov 7, 1:37 PM

Nov 5 2026

kfv closed D60799: libc: Export timespec_getres(3) and add tests.
Nov 5 2026, 8:12 PM
kfv committed rG3ac9299ee90c: libc: Export timespec_getres(3) and add tests.
Nov 5 2026, 8:12 PM
kfv added a comment to D60799: libc: Export timespec_getres(3) and add tests.

Makes sense. Alright, I'll go ahead, then. Thanks!

Nov 5 2026, 8:06 PM
kfv accepted D61228: virtio_random: defer first enqueue until after DRIVER_OK.
Nov 5 2026, 6:54 PM
kfv added a comment to D60799: libc: Export timespec_getres(3) and add tests.

One question: code slush has been in effect since 23 October, and the releng/15.2 branch is due to be created tomorrow. Should I MFC after one day so that I can get it into stable/15 before the branch is created, or is it fine to proceed as proposed and MFC after a week?

Nov 5 2026, 12:45 PM
kfv added a comment to D60799: libc: Export timespec_getres(3) and add tests.

No worries, mate. Cheers!

Nov 5 2026, 12:32 PM

Nov 4 2026

kfv added a comment to D61050: virtio_random: avoid using vtrnd_detach in the failure path.

Should we move the random instance inside the softc and make it work instead? Also means only paying for the space if you need it, not that it’s big.

Nov 4 2026, 4:54 PM
kfv accepted D61052: virtio_pci_modern: enable virtqueues before completing attach.

LGTM. Thanks!

Nov 4 2026, 8:19 AM
kfv accepted D61051: virtio_random: stop on detach, don't poll.

LGTM. Thanks!

Nov 4 2026, 8:15 AM
kfv added a member for virtio: kfv.
Nov 4 2026, 8:15 AM
kfv accepted D61050: virtio_random: avoid using vtrnd_detach in the failure path.

LGTM. Thanks!

Nov 4 2026, 8:14 AM

Nov 3 2026

kfv accepted D61047: tunefs(8): Add unit in the description of the -f parameter.

Thanks! Could you do the same for -g avgfilesize in newfs.8 while you’re here?

Nov 3 2026, 6:45 PM
kfv added a comment to D60799: libc: Export timespec_getres(3) and add tests.

@ziaee: I would very much appreciate your review.

Nov 3 2026, 6:00 PM

Nov 2 2026

kfv committed rG8a08808fe07e: vtnet: Accept VIRTIO_NET_F_CTRL_RX_EXTRA.
Nov 2 2026, 8:45 PM
kfv committed rG94e19d4178e6: vtnet: Implement VIRTIO_NET_F_GUEST_ANNOUNCE.
Nov 2 2026, 8:45 PM

Oct 31 2026

kfv updated the diff for D61064: sysconf: Add ucl and pkg targets.

Fix and harden the ucl and pkg write paths

Oct 31 2026, 2:15 PM
kfv commandeered D61064: sysconf: Add ucl and pkg targets.

/me commandeers revision with Devin's blessing

Oct 31 2026, 2:03 PM
kfv committed rG1a86e51f70e3: libc: Fix C23 version macro visibility (authored by des).
Oct 31 2026, 10:07 AM
kfv committed rG908fae661a7f: libc: Add <inttypes.h> C23 feature test macro.
Oct 31 2026, 10:07 AM
kfv committed rG1026dd139386: libm: Implement femode_t, fegetmode(), and fesetmode() as per C23.
Oct 31 2026, 10:07 AM
kfv committed rG92bb927c768d: libc: Fix ATOMIC_VAR_INIT visibility (authored by des).
Oct 31 2026, 10:07 AM