Page MenuHomeFreeBSD

Contributor Reviews (src)Project
ActivePublic

Recent Activity

Tue, Sep 8

temcbun_gmail.com abandoned D58328: mktemp.1: Improve the .Nd description.
Tue, Sep 8, 9:11 PM · Contributor Reviews (src), manpages, docs
temcbun_gmail.com added a comment to D58328: mktemp.1: Improve the .Nd description.

Thanks for the ping. So I dug in a little further. The existing description is actually aligned with a library, mktemp.3 which has the same description. It can make not only directories, but pipes and fifos and... (etc) which are all normalized to files. Further, mktemp was written by Todd C Miller and even has a website https://www.mktemp.org/ and seems to have the same Nd in every single OS because we're all using the same implementation. So, we should not change it. In fact perhaps it should be in contrib/ to make that more obvious but I do not want to grind that axe.

Tue, Sep 8, 9:11 PM · Contributor Reviews (src), manpages, docs

Mon, Sep 7

ziaee closed D58329: pw.conf.5: Make the .Nd more informative.
Mon, Sep 7, 10:45 PM · Contributor Reviews (src), manpages, docs
ziaee requested changes to D58328: mktemp.1: Improve the .Nd description.

Thanks for the ping. So I dug in a little further. The existing description is actually aligned with a library, mktemp.3 which has the same description. It can make not only directories, but pipes and fifos and... (etc) which are all normalized to files. Further, mktemp was written by Todd C Miller and even has a website https://www.mktemp.org/ and seems to have the same Nd in every single OS because we're all using the same implementation. So, we should not change it. In fact perhaps it should be in contrib/ to make that more obvious but I do not want to grind that axe.

Mon, Sep 7, 10:44 PM · Contributor Reviews (src), manpages, docs
temcbun_gmail.com added a comment to D58679: xargs(1): Warn about mutually exclusive -I and -n.

Ping.

Mon, Sep 7, 9:50 PM · Contributor Reviews (src)
temcbun_gmail.com added a comment to D58329: pw.conf.5: Make the .Nd more informative.

Ping.

Mon, Sep 7, 9:50 PM · Contributor Reviews (src), manpages, docs
temcbun_gmail.com added a comment to D58328: mktemp.1: Improve the .Nd description.

Ping.

Mon, Sep 7, 9:50 PM · Contributor Reviews (src), manpages, docs

Sat, Sep 5

sobomax added a comment to D59356: ffs: fix stale newblk lookup in flush_newblk_dep.
In D59356#1363271, @pho wrote:
In D59356#1363214, @kib wrote:

From the first look, this is fine.
I believe the next step is to help Peter (pho@) to create the reproducer, and get the stress2 testing.
Also, please wait for Kirk' feedback.

That would be nice. I have been seeing the panic a few times over the years, but not after Feb 10 2021.

Sat, Sep 5, 10:11 PM · Contributor Reviews (src)
pho added a comment to D59356: ffs: fix stale newblk lookup in flush_newblk_dep.
In D59356#1363214, @kib wrote:

From the first look, this is fine.
I believe the next step is to help Peter (pho@) to create the reproducer, and get the stress2 testing.
Also, please wait for Kirk' feedback.

Sat, Sep 5, 7:49 AM · Contributor Reviews (src)
kib added a comment to D59356: ffs: fix stale newblk lookup in flush_newblk_dep.

From the first look, this is fine.
I believe the next step is to help Peter (pho@) to create the reproducer, and get the stress2 testing.
Also, please wait for Kirk' feedback.

Sat, Sep 5, 12:10 AM · Contributor Reviews (src)

Fri, Sep 4

kib added a comment to D59356: ffs: fix stale newblk lookup in flush_newblk_dep.
In D59356#1362256, @kib wrote:

The new 'find' logic essentially reorders the processing of the newblk dependencies, and I am not sure that this is fine in this case (it is generally not).

IMO the correct solution for the race in flush_pagedep_deps() as described in the summary is to memoize the vnode returned by get_parent_vp(), and then restart the global loop. When you see the MKDIR_BODY dependency, and the inode number matches the memoized result from get_parent_vp(), you can process it without relocking sd_fslock, which closes the race. If the vp is NULL or does not match the inode number, you vput() it, call get_parent_vp(), and restart the loop.

Thanks, I agree that scanning past the first matching newblk is not appropriate because it changes dependency-processing order.

I will rework flush_pagedep_deps() to retain the vnode returned by get_parent_vp(), reacquire sd_fslock, and restart dependency selection. The MKDIR_BODY operation will only proceed when the newly selected dependency's inode matches the retained vnode, avoiding use of the dap that was selected before get_parent_vp() dropped the lock.

One detail I want to confirm: flush_newblk_dep() also drops and reacquires sd_fslock internally around bwrite() and ffs_update(), then repeats newblk_lookup(). If the D_ALLOCDIRECT completes during one of those operations, the next lookup could expose the retained D_ALLOCINDIR in the same way. Should flush_newblk_dep() return to the outer dependency-selection loop after such an operation, or revalidate the associated MKDIR_BODY dependency after reacquiring sd_fslock?

Fri, Sep 4, 7:51 PM · Contributor Reviews (src)
sobomax updated the diff for D59356: ffs: fix stale newblk lookup in flush_newblk_dep.

Rework to preserve dependencies as suggested by @kib

Fri, Sep 4, 6:54 PM · Contributor Reviews (src)
sobomax updated subscribers of D59356: ffs: fix stale newblk lookup in flush_newblk_dep.
Fri, Sep 4, 6:16 PM · Contributor Reviews (src)
sobomax added a comment to D59356: ffs: fix stale newblk lookup in flush_newblk_dep.
In D59356#1362256, @kib wrote:

The new 'find' logic essentially reorders the processing of the newblk dependencies, and I am not sure that this is fine in this case (it is generally not).

IMO the correct solution for the race in flush_pagedep_deps() as described in the summary is to memoize the vnode returned by get_parent_vp(), and then restart the global loop. When you see the MKDIR_BODY dependency, and the inode number matches the memoized result from get_parent_vp(), you can process it without relocking sd_fslock, which closes the race. If the vp is NULL or does not match the inode number, you vput() it, call get_parent_vp(), and restart the loop.

Fri, Sep 4, 3:56 AM · Contributor Reviews (src)
kib updated subscribers of D59356: ffs: fix stale newblk lookup in flush_newblk_dep.
Fri, Sep 4, 2:49 AM · Contributor Reviews (src)
kib added a comment to D59356: ffs: fix stale newblk lookup in flush_newblk_dep.

The new 'find' logic essentially reorders the processing of the newblk dependencies, and I am not sure that this is fine in this case (it is generally not).

Fri, Sep 4, 2:48 AM · Contributor Reviews (src)

Thu, Sep 3

sobomax added a comment to D59356: ffs: fix stale newblk lookup in flush_newblk_dep.

Some of the facts supporting this diagnosis:

Thu, Sep 3, 8:48 PM · Contributor Reviews (src)
sobomax requested review of D59356: ffs: fix stale newblk lookup in flush_newblk_dep.
Thu, Sep 3, 8:38 PM · Contributor Reviews (src)

Mon, Aug 31

seuros closed D59277: inetd: only declare and use the mapped-address netconfig under INET6.
Mon, Aug 31, 6:17 PM · Contributor Reviews (src)
kevans added a comment to D59277: inetd: only declare and use the mapped-address netconfig under INET6.

I think the prior approach suggested by @dim to make as minimal of a change as possible makes a lot of sense: there's no real single-maintainer in inetd and the daemon has remained in maintenance mode for many years.

Mon, Aug 31, 6:07 PM · Contributor Reviews (src)
seuros updated the summary of D59277: inetd: only declare and use the mapped-address netconfig under INET6.
Mon, Aug 31, 6:01 PM · Contributor Reviews (src)
seuros retitled D59277: inetd: only declare and use the mapped-address netconfig under INET6 from inetd: collapse the RPC registration pair into one array to inetd: only declare and use the mapped-address netconfig under INET6.
Mon, Aug 31, 6:01 PM · Contributor Reviews (src)
ngie accepted D59277: inetd: only declare and use the mapped-address netconfig under INET6.

Approved by: ngie (co-mentor)

Mon, Aug 31, 5:59 PM · Contributor Reviews (src)
seuros updated the diff for D59277: inetd: only declare and use the mapped-address netconfig under INET6.

revert refactoring

Mon, Aug 31, 5:57 PM · Contributor Reviews (src)
ngie added a comment to D59277: inetd: only declare and use the mapped-address netconfig under INET6.

I think the prior approach suggested by @dim to make as minimal of a change as possible makes a lot of sense: there's no real single-maintainer in inetd and the daemon has remained in maintenance mode for many years.

Mon, Aug 31, 4:50 PM · Contributor Reviews (src)
seuros retitled D59277: inetd: only declare and use the mapped-address netconfig under INET6 from inetd: fix bogus uninitialized warning to inetd: collapse the RPC registration pair into one array.
Mon, Aug 31, 2:16 PM · Contributor Reviews (src)
seuros updated the diff for D59277: inetd: only declare and use the mapped-address netconfig under INET6.

refactor and dedup code

Mon, Aug 31, 2:12 PM · Contributor Reviews (src)
koinec_yahoo.co.jp added a comment to D44456: intelhfi - Intel TD/HFI driver - Part4: Add intelhfi driver's source-code & Makefile..

Thank you again for your review.

Mon, Aug 31, 1:01 PM · Contributor Reviews (src)
seuros added a comment to D59277: inetd: only declare and use the mapped-address netconfig under INET6.

I built the world without ipv6 support . We don't test that in CI.

Mon, Aug 31, 9:16 AM · Contributor Reviews (src)
dim added a comment to D59277: inetd: only declare and use the mapped-address netconfig under INET6.

How did you produce the warning? I don't see it when building inetd. In any case, I think it would be better to only declare and use nbuf2 and netid2 if INET6 is defined. This way you can avoid the warning, and no unused data is allocated or used.

Mon, Aug 31, 8:02 AM · Contributor Reviews (src)
ngie updated subscribers of D59277: inetd: only declare and use the mapped-address netconfig under INET6.

@alfred was the one who touched the line last, but he's been inactive for many years now.
@des or @kevans: this change seems straightforward, but do you have any objections to this change? I ask because Klara has taken an active role at cleaning up portions of the base system lately.

Mon, Aug 31, 2:30 AM · Contributor Reviews (src)

Sun, Aug 30

adrian added a project to D59277: inetd: only declare and use the mapped-address netconfig under INET6: Contributor Reviews (src).

I'm not sure who to route this to for review. I'll go poke around!

Sun, Aug 30, 10:25 PM · Contributor Reviews (src)

Thu, Aug 20

mchoo added a reviewer for D44459: intelhfi - Intel TD/HFI driver - Part7: Add kerneldoc's Doxyfile: scheduler.
Thu, Aug 20, 4:25 PM · Contributor Reviews (src)
mchoo added a reviewer for D44458: intelhfi - Intel TD/HFI driver - Part6: Add intelhfi's man file & Makefile.: scheduler.
Thu, Aug 20, 4:25 PM · Contributor Reviews (src)
mchoo added a reviewer for D44457: intelhfi - Intel TD/HFI driver - Part5: Add intelhfi driver line to the kernel configuration file (GENERIC) & NOTES file.: scheduler.
Thu, Aug 20, 4:25 PM · Contributor Reviews (src)
mchoo added a reviewer for D44456: intelhfi - Intel TD/HFI driver - Part4: Add intelhfi driver's source-code & Makefile.: scheduler.
Thu, Aug 20, 4:25 PM · Contributor Reviews (src)

Aug 8 2026

ziaee accepted D58328: mktemp.1: Improve the .Nd description.

I like it, lets give it a few days to see if anyone else has any suggestions to improve it further.

Aug 8 2026, 6:42 PM · Contributor Reviews (src), manpages, docs
temcbun_gmail.com added a comment to D58328: mktemp.1: Improve the .Nd description.

Ping.

Aug 8 2026, 10:34 AM · Contributor Reviews (src), manpages, docs
temcbun_gmail.com added a comment to D56648: users.7: Standard user account names.

Ping.

Aug 8 2026, 10:33 AM · Contributor Reviews (src), manpages, docs

Aug 5 2026

temcbun_gmail.com added a comment to D58476: uname.1: Document which flags are non-POSIX.

Ping.

Aug 5 2026, 7:06 PM · Contributor Reviews (src), manpages, docs
temcbun_gmail.com requested review of D58679: xargs(1): Warn about mutually exclusive -I and -n.
Aug 5 2026, 7:05 PM · Contributor Reviews (src)

Aug 1 2026

koinec_yahoo.co.jp added a comment to D44456: intelhfi - Intel TD/HFI driver - Part4: Add intelhfi driver's source-code & Makefile..

First of all, THANK YOU VERY MUCH for your review.

Aug 1 2026, 1:54 PM · Contributor Reviews (src)

Jul 31 2026

ziaee added inline comments to D58457: stat.1: Clarify that S specifier can precede B specifier.
Jul 31 2026, 11:04 PM · Contributor Reviews (src), manpages, docs
temcbun_gmail.com added a comment to D58457: stat.1: Clarify that S specifier can precede B specifier.

This line was forgotten to be updated when information about st_birthtime was first added into the manual page.

Nice, so we want to find that commit and put it at the bottom of the commit message like Fixes: <shorthash> ("Commit title").

Jul 31 2026, 8:52 PM · Contributor Reviews (src), manpages, docs
temcbun_gmail.com updated the summary of D58457: stat.1: Clarify that S specifier can precede B specifier.
Jul 31 2026, 8:50 PM · Contributor Reviews (src), manpages, docs
temcbun_gmail.com added inline comments to D58457: stat.1: Clarify that S specifier can precede B specifier.
Jul 31 2026, 8:49 PM · Contributor Reviews (src), manpages, docs

Jul 28 2026

temcbun_gmail.com added a comment to D58476: uname.1: Document which flags are non-POSIX.

So we've been trying to standardize this language, here's the draft: https://reviews.freebsd.org/D57690

Jul 28 2026, 8:58 AM · Contributor Reviews (src), manpages, docs
temcbun_gmail.com updated the diff for D58476: uname.1: Document which flags are non-POSIX.

Use standardized formulation.

Jul 28 2026, 8:58 AM · Contributor Reviews (src), manpages, docs
ziaee added a comment to D58476: uname.1: Document which flags are non-POSIX.

So we've been trying to standardize this language, here's the draft: https://reviews.freebsd.org/D57690

Jul 28 2026, 5:08 AM · Contributor Reviews (src), manpages, docs
ziaee added a comment to D58457: stat.1: Clarify that S specifier can precede B specifier.

Hey Artem, thanks for the patch.

Jul 28 2026, 4:45 AM · Contributor Reviews (src), manpages, docs