https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=289017

--- Comment #8 from Gui-Dong Han <[email protected]> ---
Also, I want to highlight that compiler optimizations (such as inlining and
tail call optimization) can make pinpointing the exact crash location in a
stock kernel extremely difficult.

I observed that crashes on the unmodified kernel often appear to stall at
ether_output+0x6b0, masking the deeper call chain. The detailed stack trace
provided above (showing ether_output_frame, lagg_transmit_ethernet, and
lagg_lacp_start) was only obtained after I explicitly added __noinline and
__attribute__((optnone)) to the relevant functions to disable these
optimizations.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to