Page MenuHomeFreeBSD
Feed Advanced Search

Fri, Jan 3

des added a comment to D27871: Rework jobc handling..

I realize this is quite old, but I'd like to discuss the possibility of reverting this change, as it appears to have a significant performance impact which was never discussed at the time, while the benefit of the change appears to be purely hypothetical. I have no reason to doubt that pgrp_calc_jobc() is correct, but my own attempts to investigate possible errors in tracking pg_jobc did not uncover anything except an unrelated race condition in ppoll() and pselect() (cf. D47738 and D47741). I know of historical instances, e.g. D26116, but see no evidence of any unresolved issues at the time. Meanwhile, the cost of pgrp_calc_jobc() is quite high, especially in a debugging kernel where the process tree lock is being asserted at least four times per iteration of the inner loop, and it is being incurred even when no change occurs, e.g. on every ps or procstat -a or refresh of top.

Fri, Jan 3, 7:26 PM

Mon, Dec 30

des added inline comments to D48197: tee: try opening as a UNIX socket if open(2) fails.
Mon, Dec 30, 11:37 AM

Thu, Dec 26

des accepted D48197: tee: try opening as a UNIX socket if open(2) fails.
Thu, Dec 26, 1:36 PM
des accepted D48196: tee: minor cleanup.
Thu, Dec 26, 1:35 PM
des accepted D48195: tee: add some basic tests.
Thu, Dec 26, 1:33 PM

Mon, Dec 23

des committed rG893839b11988: diff: Fix device case. (authored by des).
diff: Fix device case.
Mon, Dec 23, 5:16 PM
des closed D48181: diff: Fix device case..
Mon, Dec 23, 5:16 PM
des requested review of D48181: diff: Fix device case..
Mon, Dec 23, 5:09 PM

Fri, Dec 20

des requested changes to D47908: security/ca_root_nss: handle bundle links consistently for ETCSYMLINK.
Fri, Dec 20, 5:02 PM

Wed, Dec 18

des accepted D48130: shar: add a deprecation notice.
Wed, Dec 18, 3:18 PM

Dec 16 2024

des committed rGefefeefd4383: uniq: Correctly document the -D option. (authored by des).
uniq: Correctly document the -D option.
Dec 16 2024, 1:36 PM
des committed rG259dcedc4ade: strptime: Fix day-of-week calculation. (authored by des).
strptime: Fix day-of-week calculation.
Dec 16 2024, 1:36 PM
des committed rG3a052d2d36ba: uniq: Correctly document the -D option. (authored by des).
uniq: Correctly document the -D option.
Dec 16 2024, 1:36 PM
des committed rG48d21d15a8f2: strptime: Fix day-of-week calculation. (authored by des).
strptime: Fix day-of-week calculation.
Dec 16 2024, 1:35 PM

Dec 10 2024

des updated subscribers of D48016: freebsd-update: Error for -b basedir without UNAME_r set.

seems reasonable to me, but we should check with @cperciva

Dec 10 2024, 1:54 PM
des accepted D47954: tarfs: 'struct tarfs_fid': Switch 'gen' to 'u_int', avoid packing.
Dec 10 2024, 12:29 PM
des added inline comments to D47954: tarfs: 'struct tarfs_fid': Switch 'gen' to 'u_int', avoid packing.
Dec 10 2024, 12:27 PM

Dec 9 2024

des committed rGb93791f5e7b0: uniq: Correctly document the -D option. (authored by des).
uniq: Correctly document the -D option.
Dec 9 2024, 7:45 PM
des committed rGc3f8900e6969: uniq: Fix off-by-one bug in -cD case. (authored by des).
uniq: Fix off-by-one bug in -cD case.
Dec 9 2024, 7:45 PM
des closed D48000: uniq: Fix off-by-one bug in -cD case..
Dec 9 2024, 7:45 PM
des closed D47999: uniq: Correctly document the -D option..
Dec 9 2024, 7:45 PM
des updated the diff for D48000: uniq: Fix off-by-one bug in -cD case..

Simpler patch that doesn't break the cflag && !dflag && !Dflag case

Dec 9 2024, 5:09 PM
des updated the summary of D48000: uniq: Fix off-by-one bug in -cD case..
Dec 9 2024, 5:03 PM
des requested review of D48000: uniq: Fix off-by-one bug in -cD case..
Dec 9 2024, 3:01 PM
des requested review of D47999: uniq: Correctly document the -D option..
Dec 9 2024, 3:01 PM
des committed rG0ff2b4a85b66: Improve reliability of stdout tests. (authored by des).
Improve reliability of stdout tests.
Dec 9 2024, 12:40 PM
des committed rG4285e024baa8: strptime: Fix day-of-week calculation. (authored by des).
strptime: Fix day-of-week calculation.
Dec 9 2024, 12:39 PM
des closed D47977: strptime: Fix day-of-week calculation..
Dec 9 2024, 12:39 PM

Dec 7 2024

des updated the diff for D47977: strptime: Fix day-of-week calculation..

tweak

Dec 7 2024, 1:43 PM
des requested review of D47977: strptime: Fix day-of-week calculation..
Dec 7 2024, 1:35 PM

Dec 4 2024

des added a reverting change for rG3ee87f8a4d7a: stress2: Use tests as the default test user.: rG00fce6284aaa: Revert "stress2: Use tests as the default test user.".
Dec 4 2024, 4:13 PM
des committed rG00fce6284aaa: Revert "stress2: Use tests as the default test user." (authored by des).
Revert "stress2: Use tests as the default test user."
Dec 4 2024, 4:13 PM
des added a reverting change for D47875: stress2: Use tests as the default test user.: rG00fce6284aaa: Revert "stress2: Use tests as the default test user.".
Dec 4 2024, 4:13 PM
des added a comment to D47876: stress2: Fix expected output for tmpfs24..
In D47876#1092296, @pho wrote:
In D47876#1092295, @des wrote:

Look again. There _is_ a hole at the end of the file.

No, sorry. There is not a zero length hole *at the end of the file*.

Dec 4 2024, 3:38 PM
des committed rG65d5e55e2413: stress2: Fix expected output for tmpfs24. (authored by des).
stress2: Fix expected output for tmpfs24.
Dec 4 2024, 1:14 PM
des committed rG3ee87f8a4d7a: stress2: Use tests as the default test user. (authored by des).
stress2: Use tests as the default test user.
Dec 4 2024, 1:14 PM
des closed D47876: stress2: Fix expected output for tmpfs24..
Dec 4 2024, 1:14 PM
des closed D47875: stress2: Use tests as the default test user..
Dec 4 2024, 1:13 PM
des added a comment to D47876: stress2: Fix expected output for tmpfs24..

Look again. There _is_ a hole at the end of the file.

Dec 4 2024, 1:03 PM
des added a comment to D47875: stress2: Use tests as the default test user..

I only needed to run tmpfs24 which does not use $testuser but refuses to run if it is not defined. This patch does not fix every broken test, but it fixes some of them.

Dec 4 2024, 1:02 PM

Dec 3 2024

des added a comment to D47876: stress2: Fix expected output for tmpfs24..
In D47876#1091682, @pho wrote:

I too have been thinking about removing the "Missing EOF hole" comment, but stalled because I still am not sure that the output is correct.
Isn't there supposed to be a virtual hole at the end of a file?

Dec 3 2024, 10:51 AM
des added a comment to D47875: stress2: Use tests as the default test user..

Use su -m.

Dec 3 2024, 10:49 AM
des requested review of D47876: stress2: Fix expected output for tmpfs24..
Dec 3 2024, 8:35 AM
des requested review of D47875: stress2: Use tests as the default test user..
Dec 3 2024, 8:35 AM

Nov 26 2024

des committed rG6748d4e0eb8a: tests: Add regression test for ppoll() / pselect() race. (authored by des).
tests: Add regression test for ppoll() / pselect() race.
Nov 26 2024, 8:37 PM
des closed D47738: tests: Demonstrate a bug in ppoll() and pselect()..
Nov 26 2024, 8:37 PM
des added a comment to D47767: swap_pager: fix seek_data with invalid first page.

In mail thread, @des suggests that the problem exists on stable/14 as well,

No, I said it occurs in a 14 jail on a 15 host. It does not occur in a 13 jail because 13's install(1) does not use copy_file_range(2) and therefore does not trip over the bug in the host's 15 kernel.

Nov 26 2024, 7:56 PM

Nov 25 2024

des accepted D47741: kern: restore signal mask before ast() for pselect/ppoll.

I can confirm that this fixes the test cases in D47738.

Nov 25 2024, 7:44 PM
des updated the diff for D47738: tests: Demonstrate a bug in ppoll() and pselect()..

Further unsimplify

Nov 25 2024, 7:39 PM
des updated the diff for D47738: tests: Demonstrate a bug in ppoll() and pselect()..

Unsimplify

Nov 25 2024, 7:36 PM
des added a comment to D47738: tests: Demonstrate a bug in ppoll() and pselect()..

Sorry, I appear to have oversimplified the test case, I will amend it shortly

Nov 25 2024, 7:18 PM
des requested review of D47738: tests: Demonstrate a bug in ppoll() and pselect()..
Nov 25 2024, 5:16 PM

Nov 22 2024

des added a comment to D46876: Remove the OpenBSD derived bc and dc programs (not built by default).

ping @se

Nov 22 2024, 7:14 PM

Nov 19 2024

des closed D47569: mv: Convert tests to ATF..
Nov 19 2024, 8:54 PM
des added inline comments to D47641: save-entropy: Fix the guard to avoid non-digits.
Nov 19 2024, 6:01 PM
des committed rG80b9b4dacd65: gpiospi: Fix module dependencies. (authored by des).
gpiospi: Fix module dependencies.
Nov 19 2024, 5:54 PM
des committed rG5d7079bedcca: gpiospi: Fix module dependencies. (authored by des).
gpiospi: Fix module dependencies.
Nov 19 2024, 11:41 AM
des committed rG3bcbd391dd7e: gpiospi: Fix module dependencies. (authored by des).
gpiospi: Fix module dependencies.
Nov 19 2024, 11:41 AM
des committed rG2822a7953316: mv: Convert tests to ATF. (authored by des).
mv: Convert tests to ATF.
Nov 19 2024, 9:30 AM
des committed rGd4fb5984ab0b: mv: Add test cases for command-line options. (authored by des).
mv: Add test cases for command-line options.
Nov 19 2024, 9:30 AM
des committed rGdc6105ebedcf: mv: More style nits. (authored by des).
mv: More style nits.
Nov 19 2024, 9:30 AM
des closed D47582: mv: Add test cases for command-line options..
Nov 19 2024, 9:30 AM
des closed D47568: mv: More style nits..
Nov 19 2024, 9:29 AM
des added a comment to D47470: poc of atf_require_kld.

What is your intention with the patch?

Nov 19 2024, 9:24 AM

Nov 18 2024

des added a comment to D47582: mv: Add test cases for command-line options..

ping @asomers

Nov 18 2024, 6:19 PM
des added inline comments to D47641: save-entropy: Fix the guard to avoid non-digits.
Nov 18 2024, 12:02 PM

Nov 15 2024

des committed rG79af8f72b3af: gpiospi: Fix module dependencies. (authored by des).
gpiospi: Fix module dependencies.
Nov 15 2024, 5:56 AM
des closed D47570: gpiospi: Fix module dependencies..
Nov 15 2024, 5:55 AM
des added inline comments to D47582: mv: Add test cases for command-line options..
Nov 15 2024, 1:14 AM
des updated the diff for D47582: mv: Add test cases for command-line options..

require.user root

Nov 15 2024, 1:14 AM

Nov 14 2024

des requested review of D47582: mv: Add test cases for command-line options..
Nov 14 2024, 8:13 PM
des updated the diff for D47569: mv: Convert tests to ATF..

descriptive names

Nov 14 2024, 7:43 PM
des committed rGb697835ce614: Improve reliability of stdout tests. (authored by des).
Improve reliability of stdout tests.
Nov 14 2024, 7:42 PM
des closed D47572: Improve reliability of stdout tests..
Nov 14 2024, 7:42 PM
des updated the diff for D47569: mv: Convert tests to ATF..

rm cvt.pl

Nov 14 2024, 6:14 PM
des added a comment to D47569: mv: Convert tests to ATF..

Shouldn't you delete cvt.pl? That looks like a one-time script to me.

Nov 14 2024, 6:13 PM
des requested review of D47572: Improve reliability of stdout tests..
Nov 14 2024, 4:46 PM
des updated the diff for D47569: mv: Convert tests to ATF..

review feedback

Nov 14 2024, 4:35 PM
des added inline comments to D47568: mv: More style nits..
Nov 14 2024, 4:34 PM
des added inline comments to D47569: mv: Convert tests to ATF..
Nov 14 2024, 4:19 PM
des added a reviewer for D47569: mv: Convert tests to ATF.: tests.
Nov 14 2024, 4:18 PM
des requested review of D47570: gpiospi: Fix module dependencies..
Nov 14 2024, 11:33 AM
des requested review of D47569: mv: Convert tests to ATF..
Nov 14 2024, 11:31 AM
des requested review of D47568: mv: More style nits..
Nov 14 2024, 11:31 AM
des updated the diff for D47470: poc of atf_require_kld.
  • #ifdef __FreeBSD__
  • s/kld/module/g
  • Avoid linking libatf with libutil
Nov 14 2024, 11:30 AM

Nov 13 2024

des committed rGb210c33a91ee: mv: Type and style nits. (authored by des).
mv: Type and style nits.
Nov 13 2024, 1:50 PM
des closed D47537: mv: Type and style nits..
Nov 13 2024, 1:50 PM
des added a comment to D47470: poc of atf_require_kld.

No. I had done the work already and posted the review when I saw your email to avoid having someone else waste their time reproducing it.

Nov 13 2024, 1:43 PM
des updated the diff for D47537: mv: Type and style nits..

more

Nov 13 2024, 1:28 PM
des retitled D47537: mv: Type and style nits. from mv: Type nit. to mv: Type and style nits..
Nov 13 2024, 1:28 PM
des requested review of D47537: mv: Type and style nits..
Nov 13 2024, 1:25 PM

Nov 11 2024

des added a comment to D47470: poc of atf_require_kld.

You seem to have me confused with a GSoC student. Do you want to try again?

Nov 11 2024, 4:19 PM

Nov 7 2024

des updated the diff for D47470: poc of atf_require_kld.

require

Nov 7 2024, 12:23 AM
des updated the diff for D47470: poc of atf_require_kld.

missing stuff

Nov 7 2024, 12:12 AM

Nov 6 2024

des requested review of D47470: poc of atf_require_kld.
Nov 6 2024, 11:58 PM
des added inline comments to D47289: git-arc: Trap on every mktemp.
Nov 6 2024, 11:43 PM
des added inline comments to D47289: git-arc: Trap on every mktemp.
Nov 6 2024, 9:18 AM

Nov 1 2024

des closed D47382: fts: Simplify fts_alloc() and use calloc()..
Nov 1 2024, 3:53 PM
des committed rG79679a18eacb: fts: Simplify fts_alloc() and use calloc(). (authored by des).
fts: Simplify fts_alloc() and use calloc().
Nov 1 2024, 3:53 PM
des accepted D47377: sed: fix commandline-given expression when -e is not used.
Nov 1 2024, 2:37 PM