Re: [PATCH 0/2] watchdog: pretimeout: Allow building dump governor as module
Andrew Morton <[email protected]> Thu, 30 Jul 2026 15:50:21 -0700
| Newsgroups | org.kernel.vger.linux-watchdog,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
On Thu, 30 Jul 2026 15:00:20 -0700 Mayank Rungta via B4 Relay <[email protected]> wrote: > All other watchdog pretimeout governors (noop, panic) can be built as > loadable modules. However the "dump" pretimeout governor is restricted > to built-in code because it calls trigger_all_cpu_backtrace(), which > relies on arch_trigger_cpumask_backtrace(), an arch specific helper that > is not exported to loadable modules. > > This 2-patch series allows building the dump governor as a module (=m): > 1) Export cpumask_backtrace() in lib/nmi_backtrace.c. > 2) Convert CONFIG_WATCHDOG_PRETIMEOUT_GOV_DUMP from bool to tristate. LGTM. Can you please redo against current mainline? The Kconfig has changed.