In May 2021 in current@ there was a thread about the kstack
inclusion in ^T output. There seemed to be much support for the
default to not include this, unless an invariant kernel is used.
Implement this belatedly.
Sponsored by: Netflix
Differential D35576
tty: Only print stack information on INVARIANT kernels imp on Jun 23 2022, 5:14 PM. Authored by Tags None Referenced Files
Details In May 2021 in current@ there was a thread about the kstack Sponsored by: Netflix
Diff Detail
Event TimelineComment Actions The commit message suggests the entire functionality is axed, as opposed to compiled in but disabled by default. Comment Actions I would suggest rewording the body of the commit message to something like: Adjust the default setting for kstack output in ^T to include kstack output in debug kernels with INVARIANTS and omit it in non-debug kernels. The default setting can always be changed via the kern.tty_info_kstacks sysctl/tunable. This might address mjg's point? Comment Actions I like jhb's wording and will use something like that in the commit message. It better represents what I'm doing here. Also, MFC After 1 week is the plan. |