Skip to content
Snippets Groups Projects
Commit fcef8576 authored by Rusty Russell's avatar Rusty Russell
Browse files

cpumask: convert arch/x86/kernel/nmi.c's backtrace_mask to a cpumask_var_t


Impact: cleanup, reduce memory usage for CONFIG_CPUMASK_OFFSTACK=y

I *think* every path calls check_nmi_watchdog before using the
watchdog, so that's the right place for the initialization.

If that's wrong, we'll get a nice NULL-deref with
CONFIG_CPUMASK_OFFSTACK=y, and have uncovered another bug.

Signed-off-by: default avatarRusty Russell <rusty@rustcorp.com.au>
parent bc9b83dd
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment