Page MenuHomeFreeBSD

pho (Peter Holm)
User

Projects

User Details

User Since
Aug 6 2014, 5:32 AM (628 w, 4 d)

Recent Activity

Thu, Aug 20

pho committed rGd58ca841529c: Fix zombie leak in test using pdfork() (authored by pho).
Fix zombie leak in test using pdfork()
Thu, Aug 20, 9:01 AM
pho committed rG8eb77a5aabef: stress2: Enable two hwpmc tests that now run as expected (authored by pho).
stress2: Enable two hwpmc tests that now run as expected
Thu, Aug 20, 9:01 AM

Sun, Aug 16

pho added a comment to D58858: unionfs_lock(): eliminate LK_CANRECURSE special-case.

I ran the unions test cases in a loop for 7 hours, with this patch.
Looks good to me.

Sun, Aug 16, 11:19 AM

Sat, Aug 15

pho added a comment to D58856: unionfs7.sh: eliminate stderr redirection.

PS
Feel free to fix or add any unionfs tests you like.

Sat, Aug 15, 7:18 AM
pho accepted D58856: unionfs7.sh: eliminate stderr redirection.

Looks good to me.

Sat, Aug 15, 7:06 AM

Sat, Aug 1

pho added a comment to D58264: processes: add zombie references, each of them prevents reap.
In D58264#1344459, @kib wrote:
In D58264#1344458, @pho wrote:

I am, although it seems strange that I was not able to reproduce Mark's zombie issue.

It is not completely unexpected. I did a change right after the Mark' report, which fixed one zombie leak.

Sat, Aug 1, 11:53 AM
pho added a comment to D58264: processes: add zombie references, each of them prevents reap.
In D58264#1344457, @kib wrote:
In D58264#1344442, @kib wrote:
In D58264#1344441, @pho wrote:
In D58264#1343336, @kib wrote:

I ran the full regression test suite with the three patches applied, and got an OOM somewhere in the network tests. I can see a zombie leak somewhere, running the test again I see:

6441 threads:  19 running, 834 sleeping, 4960 zombie, 628 waiting

and the zombie count is growing slowly.

Could you please print out p_zombierefs for several of such zombies?
BTW one of the changes that I upload shortly might fix it, but I am not sure.

I will ask pho to help with the reproduction.

I ran most of the stress2 tests plus the tests in /usr/tests, without seeing any zombie leaks. This on ufs-dd72f46f512f.

Sorry, do you mean the ufs branch from the deviant3? It does not have these changes.

Could you please give the pdrfork branch some run time?

Great. So are you fine with the 'Tested by: pho' for this series?

Sat, Aug 1, 11:37 AM
pho added a comment to D58264: processes: add zombie references, each of them prevents reap.
In D58264#1344442, @kib wrote:
In D58264#1344441, @pho wrote:
In D58264#1343336, @kib wrote:

I ran the full regression test suite with the three patches applied, and got an OOM somewhere in the network tests. I can see a zombie leak somewhere, running the test again I see:

6441 threads:  19 running, 834 sleeping, 4960 zombie, 628 waiting

and the zombie count is growing slowly.

Could you please print out p_zombierefs for several of such zombies?
BTW one of the changes that I upload shortly might fix it, but I am not sure.

I will ask pho to help with the reproduction.

I ran most of the stress2 tests plus the tests in /usr/tests, without seeing any zombie leaks. This on ufs-dd72f46f512f.

Sorry, do you mean the ufs branch from the deviant3? It does not have these changes.

Could you please give the pdrfork branch some run time?

Sat, Aug 1, 10:26 AM
pho added a comment to D58264: processes: add zombie references, each of them prevents reap.
In D58264#1343336, @kib wrote:

I ran the full regression test suite with the three patches applied, and got an OOM somewhere in the network tests. I can see a zombie leak somewhere, running the test again I see:

6441 threads:  19 running, 834 sleeping, 4960 zombie, 628 waiting

and the zombie count is growing slowly.

Could you please print out p_zombierefs for several of such zombies?
BTW one of the changes that I upload shortly might fix it, but I am not sure.

I will ask pho to help with the reproduction.

Sat, Aug 1, 9:49 AM

Tue, Jul 28

pho added a comment to D58506: kern_execve(): avoid storing non-VDIR into p_textdvp.

Looks good to me. I have started a full stress2 test, just in case ..

09:54 /usr/src/tools/test/stress2/misc $ ./filemount_panic.sh
  PID COMM                OSREL PATH
67825 cover             1600019 /tmp/tmp.kEEk4GCRkj.renamed/cover
09:54 /usr/src/tools/test/stress2/misc $ ./filemount_panic2.sh 
mounted /bin/sleep over /tmp/filemount.VWEd7r/cover
querying kern.proc.pathname for pid 28160
pathname = /tmp/filemount.VWEd7r.renamed/cover
09:56 /usr/src/tools/test/stress2/misc $ uname -a
FreeBSD mercat1.netperf.freebsd.org 16.0-CURRENT FreeBSD 16.0-CURRENT #1 ufs-n287721-3b23d05c7781: Tue Jul 28 08:09:01 CEST 2026     pho@mercat1.netperf.freebsd.org:/var/tmp/deviant3/sys/amd64/compile/PHO amd64
09:56 /usr/src/tools/test/stress2/misc $
Tue, Jul 28, 7:59 AM

Mon, Jul 27

pho added a comment to D58178: vfs: handle file mounts in vn_fullpath_hardlink().

I no longer get a panic with the two test scenarios and D58178.id181841.diff added..

Mon, Jul 27, 3:53 PM
pho added a comment to D58178: vfs: handle file mounts in vn_fullpath_hardlink().

Yes, thank you!
Reproduced: https://people.freebsd.org/~pho/stress/log/log0679.txt

Mon, Jul 27, 3:09 PM
pho added a comment to D58178: vfs: handle file mounts in vn_fullpath_hardlink().

Here are two new clean reproducers for this panic - there is also another panic doing mount_nullfs -o mountdir $(mktemp) (using -o mountdir on top of a file) but that is outside of this scope.

Mon, Jul 27, 7:35 AM

Jul 21 2026

pho committed rGff6574d2508d: stress2: Added a regression test (authored by pho).
stress2: Added a regression test
Jul 21 2026, 7:54 AM
pho committed rGb11a605ebecc: stress2: Updated the exclude file (authored by pho).
stress2: Updated the exclude file
Jul 21 2026, 7:54 AM
pho committed rG4dc01fe70d92: stress2: Added a comment (authored by pho).
stress2: Added a comment
Jul 21 2026, 7:54 AM

Jul 18 2026

pho added a comment to D58191: lookup: do not return vp_crossmp as dvp for mount over the reg file.

I ran all of the stress2 tests without seeing any issues.

Jul 18 2026, 2:42 PM

Jul 14 2026

pho committed rG9c6ed9a88d3a: stress2: Added new test scenarios (authored by pho).
stress2: Added new test scenarios
Jul 14 2026, 7:30 AM

Jul 6 2026

pho added a comment to D57124: sys: add pdopenpid(2).

I ran a full stress2 test without seeing any issues.

Jul 6 2026, 9:08 PM

Mar 23 2026

pho committed rG4f8a1b4dffa8: stress2: Added syzkaller reproducers. Update the exclude file (authored by pho).
stress2: Added syzkaller reproducers. Update the exclude file
Mar 23 2026, 11:17 AM

Mar 6 2026

pho committed rGb15dc3ff28db: stress2: Updated comments (authored by pho).
stress2: Updated comments
Mar 6 2026, 9:04 AM
pho committed rG05cbd5fc2b48: stress2: Added a new test scenario (authored by pho).
stress2: Added a new test scenario
Mar 6 2026, 9:04 AM

Feb 28 2026

pho added a comment to D55595: vn_delayed_setsize().
20260228 20:28:50 all (1/11): ftruncate3.sh
VNASSERT failed: a->a_gen.a_desc == &vop_lock1_desc not true at vnode_if.c:2095 (VOP_LOCK1_APV)
0xfffffe016a9e6940: type VREG state VSTATE_CONSTRUCTED op 0xffffffff81aaead8
    usecount 3, writecount 2, refcount 1 seqc users 0
    hold count flags ()
    flags (VV_VMSIZEVNLOCK|VI(0x40)|VMP_LAZYLIST)
    v_object 0xfffff803dac10c30 ref 2 pages 0 cleanbuf 0 dirtybuf 0
    lock type nfs: UNLOCKED
#0 0xffffffff80b990c8 at lockmgr_lock_flags+0x1b8
#1 0xffffffff80cc0f20 at vop_sigdefer+0x30
#2 0xffffffff81213a93 at VOP_LOCK1_APV+0x133
#3 0xffffffff80cfc96b at VOP_LOCK1+0x4b
#4 0xffffffff80cfa260 at _vn_lock+0x140
#5 0xffffffff80cf7902 at vn_truncate+0x82
#6 0xffffffff80c4febe at kern_ftruncate+0xee
#7 0xffffffff8113eaa9 at amd64_syscall+0x169
#8 0xffffffff8110d6db at fast_syscall_common+0xf8
	fileid 3 fsid 0x3a3a00ff01
panic: Wrong a_desc in vop_lock1(0xfffffe016a9e6940, 0xfffffe010008fa50)

log0657.txt

Feb 28 2026, 7:41 PM

Feb 27 2026

pho added a comment to D55562: acpi: Don't attach a "wake" sysctl node to devices without the ACPI flags IVAR.

My MacBookPro13,1 no longer panics when I run sysctl dev.pci..

@pho : would it make sense to make this a regression test?

Feb 27 2026, 8:20 PM

Feb 12 2026

pho committed rG83693c121aec: stress2: Fix cleanup (authored by pho).
stress2: Fix cleanup
Feb 12 2026, 10:33 AM
pho committed rG2b061bd1796d: stress2: Limit output from test (authored by pho).
stress2: Limit output from test
Feb 12 2026, 10:33 AM

Jan 25 2026

pho added a comment to D54592: Add pdrfork(2) and pdwait(2).

I have completed a full stress2 test run without seeing any issues. This on the pdrfork-5982326ec607 branch.

Jan 25 2026, 11:42 AM

Jan 24 2026

pho committed rGc2b513335f68: stress2: Added two new test scenarios (authored by pho).
stress2: Added two new test scenarios
Jan 24 2026, 12:31 PM
pho committed rG833f9294b468: stress2: Added two syzkaller reproducers. Updated the exclude file (authored by pho).
stress2: Added two syzkaller reproducers. Updated the exclude file
Jan 24 2026, 12:31 PM

Dec 24 2025

pho added a comment to D54338: vm_object_coalesce(): return swap reservation back if overcharged.

I ran the full set of stress2 tests, without seeing any issues.

Dec 24 2025, 6:44 PM
pho added a comment to D54263: vm_object_coalesce(): do not account holes twice.

I ran the full set of stress2 tests, without seeing any issues.

Dec 24 2025, 6:41 PM

Dec 12 2025

pho committed rG9d2981f20d64: stress2: Fix looping at exit and fix the cleanup (authored by pho).
stress2: Fix looping at exit and fix the cleanup
Dec 12 2025, 9:21 AM

Dec 9 2025

pho committed rGf88300a7b56e: stress2: Added a regression test (authored by pho).
stress2: Added a regression test
Dec 9 2025, 10:36 AM

Dec 8 2025

pho added a comment to D53963: vm_fault: only rely on PG_ZERO when the page was newly allocated.

LGTM

Dec 8 2025, 4:25 PM

Dec 2 2025

pho added a comment to D53988: unionfs: Implement VOP_GETLOWVNODE and employ it for basicmount-time deadlock detection.

D53988.167397.patch also LGTM

Dec 2 2025, 9:30 AM

Nov 30 2025

pho added a comment to D53988: unionfs: Implement VOP_GETLOWVNODE and employ it for basicmount-time deadlock detection.

I ran the uniofs tests in a loop for 5 hours without observing any issues.

Nov 30 2025, 7:17 PM

Nov 22 2025

pho committed rGc75ce77a26d4: stress2: Added a regression test (authored by pho).
stress2: Added a regression test
Nov 22 2025, 9:23 AM
pho committed rGaa2468493e35: stress2: syzkaller87 fixed by ebc17879f0885ca87644980f6275b9759b311eb3 (authored by pho).
stress2: syzkaller87 fixed by ebc17879f0885ca87644980f6275b9759b311eb3
Nov 22 2025, 9:23 AM

Nov 21 2025

pho committed rGd941fde3508d: stress2: Update the exclude list (authored by pho).
stress2: Update the exclude list
Nov 21 2025, 8:51 AM
pho committed rGc149db04aecc: stress2: No not rely on unset variables when using 'set -u' (authored by pho).
stress2: No not rely on unset variables when using 'set -u'
Nov 21 2025, 8:51 AM
pho committed rG51e0c428749c: stress2: Added more robust test termination (authored by pho).
stress2: Added more robust test termination
Nov 21 2025, 8:51 AM

Nov 12 2025

pho accepted D53666: sound: Fix KASSERT panics in chn_read() and chn_write().

Do what I explained in the last message. stress2 has finished after 30 minutes
without panicking. I've yet to test chn_read() though.

@pho, can you also test please?

Nov 12 2025, 5:27 PM
pho committed rG539726e86d69: stress2: Added a syzkaller reproducer (authored by pho).
stress2: Added a syzkaller reproducer
Nov 12 2025, 8:34 AM

Oct 18 2025

pho committed rGd7ff2ded4748: stress2: Added kqueuex(KQUEUE_CPONFORK) test scenarios (authored by pho).
stress2: Added kqueuex(KQUEUE_CPONFORK) test scenarios
Oct 18 2025, 8:00 AM

Oct 17 2025

pho committed rG86db3c735dd9: stress2: Added a regression test (authored by pho).
stress2: Added a regression test
Oct 17 2025, 8:05 AM

Oct 4 2025

pho committed rG257a750c60f1: stress2: Add syzkaller reproducers (authored by pho).
stress2: Add syzkaller reproducers
Oct 4 2025, 8:22 AM
pho committed rGc16f53782c8b: stress2: Do not try to open a fifo (authored by pho).
stress2: Do not try to open a fifo
Oct 4 2025, 8:22 AM

Sep 21 2025

pho committed rGb1442e6b8d34: stress2: Limit disk usage to avoid a disk full message (authored by pho).
stress2: Limit disk usage to avoid a disk full message
Sep 21 2025, 9:16 AM
pho committed rG6ef1bf8f3460: stress2: Do not follow symbolic links (authored by pho).
stress2: Do not follow symbolic links
Sep 21 2025, 9:16 AM

Sep 16 2025

pho committed rGda20d88599d5: stress2: Added two new fdescfs test scenarios (authored by pho).
stress2: Added two new fdescfs test scenarios
Sep 16 2025, 9:22 AM
pho committed rG8af56f7e08c5: stress2: Fix how the reproducer is run. Lingering threads seen before (authored by pho).
stress2: Fix how the reproducer is run. Lingering threads seen before
Sep 16 2025, 9:21 AM

Sep 15 2025

pho committed rG7780766b403d: stress2: Do not exit the test program without clearing the trace flags (authored by pho).
stress2: Do not exit the test program without clearing the trace flags
Sep 15 2025, 8:54 AM

Sep 14 2025

pho committed rGec7199bf3ffb: stress2: Fix cleanup of temporary files (authored by pho).
stress2: Fix cleanup of temporary files
Sep 14 2025, 10:10 AM

Aug 1 2025

pho committed rG5b977a8e2b83: stress2: A workaround for an infrequent "filesystem full" issue (authored by pho).
stress2: A workaround for an infrequent "filesystem full" issue
Aug 1 2025, 9:57 AM
pho committed rGc1c58c001943: stress2: Added two syzkaller reproducers and updated the exclude list (authored by pho).
stress2: Added two syzkaller reproducers and updated the exclude list
Aug 1 2025, 9:57 AM

Jul 16 2025

pho committed rG113f2f0c76a7: stress2: Updated dtrace comment (authored by pho).
stress2: Updated dtrace comment
Jul 16 2025, 10:40 AM
pho committed rGd6ee73e5ad27: stress2: Added syzkaller reproducers. Update the exclude list (authored by pho).
stress2: Added syzkaller reproducers. Update the exclude list
Jul 16 2025, 10:32 AM

Jun 29 2025

pho added a comment to D51085: amd64 pmap: move DMAP out of kernel pml4 table for LA57..

I ran tests with D51085.id157729.diff for 18 hours without seeing any issues.

Jun 29 2025, 6:56 PM

Jun 1 2025

pho committed rG66c2e68076bd: stress2: Added a regression test (authored by pho).
stress2: Added a regression test
Jun 1 2025, 8:16 AM

May 26 2025

pho added a comment to D50482: amd64: add pcb_tlsbase.
In D50482#1153552, @kib wrote:

There seems to be no more interest to the review.
Peter, could you, please run the stress2 set, all amd64 and threading tests are relevant?

May 26 2025, 5:31 PM
pho added a comment to D50520: fsck_ffs: change struct bufarea member b_index type to uint64_t.

I ran fsck tests with D50520.156022.patch added, without observing any issues.

May 26 2025, 7:28 AM

May 18 2025

pho added a comment to D50392: vm_page: reset iterator after domainset drops lock.

I have been running tests with D50392.155617.patch for 13 hours without seeing any issues

May 18 2025, 7:22 AM

May 16 2025

pho committed rG91ef8c3e1304: stress2: Fix scenario after the changes to ptrace(PT_ATTACH) in commit… (authored by pho).
stress2: Fix scenario after the changes to ptrace(PT_ATTACH) in commit…
May 16 2025, 11:08 AM

May 12 2025

pho committed rGabe84e611076: stress2: Added syzkaller reproducers (authored by pho).
stress2: Added syzkaller reproducers
May 12 2025, 10:08 AM

May 7 2025

pho added a comment to D50200: stress2: exlock2.sh: Preserve behavior after ps(1)'s '-U' change.
In D50200#1145643, @pho wrote:

Looks good to me.

Great. Sorry, I committed this quite quickly as it's a very small change that I'd like to be MFCed soon and put into 14.3, else I would have waited more for you.

May 7 2025, 12:27 PM
pho added a comment to D50200: stress2: exlock2.sh: Preserve behavior after ps(1)'s '-U' change.

Looks good to me.

May 7 2025, 10:31 AM

Apr 29 2025

pho added a comment to D47114: vm_grab_pages_unlocked: read all the pages at once.

I ran tests with D47114.154425.patch for 5 hours without seeing any issues.

Apr 29 2025, 7:07 AM

Apr 25 2025

pho committed rG736e2ab5ef3c: stress2: Added two syzkaller reproducers (authored by pho).
stress2: Added two syzkaller reproducers
Apr 25 2025, 7:53 AM

Apr 24 2025

pho added a comment to D49987: vm_map: fix iterator jump size.

I ran the syzkaller reproducer for an hour with D49987.154201.patch added. I added a further 4 hours of random test cases.
I did not observe any issues.

Apr 24 2025, 1:21 PM

Apr 23 2025

pho added a comment to D49957: vm_fault: reset iterator after vm_fault_populate().
20250423 09:20:24 all (1/1): syzkaller75.sh
panic: vm_pager_assert_in: page 0xfffffe0000b5fcc0 is mapped
cpuid = 11
time = 1745393009
KDB: stack backtrace:
db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe016df1d7b0
vpanic() at vpanic+0x136/frame 0xfffffe016df1d8e0
panic() at panic+0x43/frame 0xfffffe016df1d940
vm_pager_assert_in() at vm_pager_assert_in+0x1fa/frame 0xfffffe016df1d980
vm_pager_get_pages() at vm_pager_get_pages+0x3d/frame 0xfffffe016df1d9d0
vm_fault() at vm_fault+0x745/frame 0xfffffe016df1db40
vm_map_wire_locked() at vm_map_wire_locked+0x385/frame 0xfffffe016df1dbf0
vm_mmap_object() at vm_mmap_object+0x2fd/frame 0xfffffe016df1dc50
vn_mmap() at vn_mmap+0x152/frame 0xfffffe016df1dce0
kern_mmap() at kern_mmap+0x621/frame 0xfffffe016df1ddc0
sys_mmap() at sys_mmap+0x42/frame 0xfffffe016df1de00
amd64_syscall() at amd64_syscall+0x15a/frame 0xfffffe016df1df30
fast_syscall_common() at fast_syscall_common+0xf8/frame 0xfffffe016df1df30
--- syscall (0, FreeBSD ELF64, syscall), rip = 0x823efb7fa, rsp = 0x821f52f68, rbp = 0x821f52f90 ---
KDB: enter: panic
[ thread pid 37673 tid 108519 ]
Stopped at      kdb_enter+0x33: movq    $0,0x104d7a2(%rip)
db> x/s version
version:  FreeBSD 15.0-CURRENT #0 main-n276680-d14036ea424d-dirty: Wed Apr 23 09:10:41 CEST 2025
  pho@mercat1.netperf.freebsd.org:/usr/src/sys/amd64/compile/PHO
db>
Uptime: 8m32s
Apr 23 2025, 8:16 AM
pho added a comment to D49957: vm_fault: reset iterator after vm_fault_populate().

Doug,
I have mailed you the test scenario. I will start a test on the latest version of HEAD.

Apr 23 2025, 6:59 AM
pho added a comment to D49957: vm_fault: reset iterator after vm_fault_populate().
In D49957#1139502, @pho wrote:

The syzkaller test still triggers a panic:

20250422 20:52:41 all (1/1): syzkaller75.sh

I don't have access to syzkaller75.sh. Can you provide it?

Apr 23 2025, 3:29 AM

Apr 22 2025

pho added a comment to D49957: vm_fault: reset iterator after vm_fault_populate().

The syzkaller test still triggers a panic:

Apr 22 2025, 7:16 PM

Apr 19 2025

pho added a comment to D49904: vm_object: reset iter in page_clean.

I got this panic, which seems unrelated to me, after 8 hours of testing:

Apr 19 2025, 4:32 PM

Apr 3 2025

pho committed rGef777be98543: stress2: Move files to the right directory (authored by pho).
stress2: Move files to the right directory
Apr 3 2025, 10:27 AM
pho committed rGfb7687edea52: stress2: New tests added (authored by pho).
stress2: New tests added
Apr 3 2025, 9:22 AM

Feb 27 2025

pho added a comment to D49103: vm_page: expose page_alloc_after.

I completed a full stress2 test run with D49103.151425.patch without seeing any issues.

Feb 27 2025, 8:40 AM

Feb 24 2025

pho added a comment to D49103: vm_page: expose page_alloc_after.

I got this with D49103.151389.patch:

20250224 11:38:23 all (254/953): mmap8.sh
panic: vm_reserv_from_object: msucc doesn't succeed pindex
cpuid = 4
time = 1740393505
KDB: stack backtrace:
db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe01087809b0
vpanic() at vpanic+0x136/frame 0xfffffe0108780ae0
panic() at panic+0x43/frame 0xfffffe0108780b40
vm_reserv_from_object() at vm_reserv_from_object+0xc9/frame 0xfffffe0108780b50
vm_reserv_alloc_page() at vm_reserv_alloc_page+0x72/frame 0xfffffe0108780bb0
vm_page_alloc_domain_after() at vm_page_alloc_domain_after+0x140/frame 0xfffffe0108780c40
vm_page_alloc_after() at vm_page_alloc_after+0x54/frame 0xfffffe0108780cb0
vm_fault_copy_entry() at vm_fault_copy_entry+0x32f/frame 0xfffffe0108780d60
vm_map_protect() at vm_map_protect+0x72b/frame 0xfffffe0108780df0
sys_mprotect() at sys_mprotect+0x9f/frame 0xfffffe0108780e00
amd64_syscall() at amd64_syscall+0x15a/frame 0xfffffe0108780f30
fast_syscall_common() at fast_syscall_common+0xf8/frame 0xfffffe0108780f30
--- syscall (74, FreeBSD ELF64, mprotect), rip = 0x822c0ed7a, rsp = 0x820d0ee78, rbp = 0x820d0eea0 ---
KDB: enter: panic
[ thread pid 82131 tid 102074 ]
Stopped at      kdb_enter+0x33: movq    $0,0x104ed52(%rip)
db>

It's easy to reproduce on my test box.

Feb 24 2025, 12:41 PM
pho added a comment to D49103: vm_page: expose page_alloc_after.

I ran tests for two days on D49103.151334.patch. Switching to D49103.151389.patch

Feb 24 2025, 8:30 AM

Feb 10 2025

pho added a comment to D48588: pctrie: add parent pointer to nodes.

I ran tests with D48588.150722.patch for two days without observing any problems.

Feb 10 2025, 7:10 PM

Feb 4 2025

pho added a comment to D48825: unlink, rmdir: call notify_upper from VOP pre method instead of syscall.

I ran all of the stress2 tests using nullfs and also ronald@'s test scenario. LGTM.

Feb 4 2025, 12:29 PM

Jan 29 2025

pho added a comment to D45409: vm_phys: reduce touching of page->pool fields.

FYI: I came across this i386 problem after commit 0078df5f0258.

Trying to mount root from ufs:/dev/vtbd0p1 [rw]...
WARNING: WITNESS option enabled, expect reduced performance.
WARNING: DIAGNOSTIC option enabled, expect reduced performance.
WARNING: 32-bit kernels are deprecated and may be removed in FreeBSD 15.0.
panic: vm_page_t 0x5d49be0 phys_addr mismatch ffffffffb8779000 00000000b8779405
cpuid = 3
time = 1738177579
KDB: stack backtrace:
db_trace_self_wrapper(7,114beb40,5d49be0,ffffffff,ffffffff,...) at db_trace_self_wrapper+0x28/frame 0x113f6744
vpanic(148badd,113f6780,113f6780,113f67f0,13a54e9,...) at vpanic+0xf4/frame 0x113f6760
panic(148badd,5d49be0,b8779000,ffffffff,b8779405,...) at panic+0x14/frame 0x113f6774
pmap_pae_remove_pages(114128e8) at pmap_pae_remove_pages+0x599/frame 0x113f67f0
exec_new_vmspace(113f6994,188247c) at exec_new_vmspace+0x1cb/frame 0x113f6810
exec_elf32_imgact(113f6994,16d4801,113f6984,0,0,...) at exec_elf32_imgact+0x5e4/frame 0x113f6874
kern_execve(114beb40,113f6a8c,0,1141284c) at kern_execve+0x72c/frame 0x113f6a74
sys_execve(114beb40,114bedf0,114beb40,13ae913,114bede4,...) at sys_execve+0x4e/frame 0x113f6ac8
syscall(113f6ba8,3b,3b,3b,402aaf,...) at syscall+0x1e6/frame 0x113f6b9c
Xint0x80_syscall() at 0xffc03479/frame 0x113f6b9c
--- syscall (59, FreeBSD ELF32, execve), eip = 0x47e53f, esp = 0xffbfe848, ebp = 0xffbfe858 ---
KDB: enter: panic
[ thread pid 17 tid 100080 ]
Stopped at      kdb_enter+0x34: movl    $0,kdb_why
db> x/s version
version:        FreeBSD 15.0-CURRENT #0 main-n275068-0078df5f0258-dirty: Wed Jan 29 18:44:45 CET 2025\012    pho@mercat1.netperf.freebsd.org:/mnt25/obj/usr/src/i386.i386/sys/PHO\012
db>
Jan 29 2025, 6:09 PM

Jan 27 2025

pho added a comment to D48652: tcp: revert rxtshift too on a spurious timeout (RTO).

With this patch I caught this:

Jan 27 2025, 4:03 PM
pho added a comment to D45409: vm_phys: reduce touching of page->pool fields.

I ran tests. for a day with D45409.149981.patch. LGTM.

Jan 27 2025, 9:27 AM

Dec 4 2024

pho added a comment to D47875: stress2: Use tests as the default test user..
In D47875#1092294, @des wrote:

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:18 PM
pho added a comment to D47876: stress2: Fix expected output for tmpfs24..
In D47876#1092295, @des wrote:

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

Dec 4 2024, 1:09 PM

Dec 3 2024

pho added a comment to D47875: stress2: Use tests as the default test user..

I'm puzzled by how your change could work for you.

Dec 3 2024, 3:45 PM
pho added a comment to D47876: stress2: Fix expected output for tmpfs24..
In D47876#1091689, @des wrote:
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?

Only if there isn't already a hole there.

$ /tmp/lsholes tmpfs24.sh 
Min hole size is 512, file size is 2382.
data #1 @ 0, size=2382)
hole #2 @ 2382, size=0
Dec 3 2024, 3:44 PM
pho accepted D47876: stress2: Fix expected output for tmpfs24..

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? See for example https://docs.oracle.com/cd/E86824_01/html/E54765/lseek-2.html

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

That does not work for me. This is what I get on a pristine install:

Dec 3 2024, 10:47 AM

Nov 28 2024

pho committed rG2e2699c48a7e: stress2: Added new tmpfs test scenarios (authored by pho).
stress2: Added new tmpfs test scenarios
Nov 28 2024, 12:17 PM

Nov 20 2024

pho added a comment to D46724: vm_object: use pciters to remove pages.

I completed a full stress2 test without seing any issues.

Nov 20 2024, 6:46 AM

Nov 18 2024

pho committed rG43778a593f92: stress2: Added zfs test scenarios (authored by pho).
stress2: Added zfs test scenarios
Nov 18 2024, 9:47 AM
pho committed rG55aa53fbf2bb: stress2: Added a zfs regression test scenario (authored by pho).
stress2: Added a zfs regression test scenario
Nov 18 2024, 9:41 AM

Nov 14 2024

pho added a comment to D47559: sound: Remove CHN_F_SLEEPING.

I do net see any panics with D47559.146396.patch

Nov 14 2024, 3:16 PM

Nov 13 2024

pho added a comment to D47523: SU+J: all writes to SU journal must be exempt from runningbufspace throttling.

I ran all of the stress2 SU+J tests without seeing any issues with this patch.

Nov 13 2024, 9:58 AM

Oct 22 2024

pho added a comment to D47200: vfs_subr: maintain sorted tailq.
In D47200#1076295, @pho wrote:

I'm running tests with both D47150.145188.patch and D47200.145189.patch. I'll be running a full set of stress2 tests, which takes about 60 hours.
No problems seen in the first 8 hours.

Oct 22 2024, 9:16 PM
pho added a comment to D47150: swap_pager: move scan_all_shadowed, use pctrie iterators.
In D47150#1076296, @pho wrote:

I'm running tests with both D47150.145188.patch and D47200.145189.patch. I'll be running a full set of stress2 tests, which takes about 60 hours.
No problems seen in the first 8 hours.

Oct 22 2024, 9:16 PM

Oct 20 2024

pho added a comment to D47150: swap_pager: move scan_all_shadowed, use pctrie iterators.

I'm running tests with both D47150.145188.patch and D47200.145189.patch. I'll be running a full set of stress2 tests, which takes about 60 hours.
No problems seen in the first 8 hours.

Oct 20 2024, 8:07 AM
pho added a comment to D47200: vfs_subr: maintain sorted tailq.

I'm running tests with both D47150.145188.patch and D47200.145189.patch. I'll be running a full set of stress2 tests, which takes about 60 hours.
No problems seen in the first 8 hours.

Oct 20 2024, 8:06 AM