https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261338
--- Comment #17 from Dmitry K. <[email protected]> --- (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.
