[Bug 261338] [PATCH] kernel panic "bad pte" under heavy CPU load on 12.2 and 12.3 (i386)
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 20 Jan 2022 16:11:38 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261338 --- Comment #17 from Dmitry K. <thedix@yandex.ru> --- (In reply to Andriy Gapon from comment #16) Changing position of KASSERT will help to debug the function under amd64. Imagine for some reason smp_targeted_tlb_shootdown() is called unpinned and the first condition is satisfied (active kernel debug or booting). In this case we go to local_cb and shed_unpin() is called. If KASSERT is placed after the if statement, we will not receive the descriptive panic message "curthread not pinned" and unpinning will expose strange panics again. My tests are finished successfully. I tested the latest patch under i386 and amd64 with 1 and 4 vCPUs building the kernel with -j4. -- You are receiving this mail because: You are the assignee for the bug.