Annotate vital static information into kmemdump: - node_states Information on these variables is stored into dedicated kmemdump section. Signed-off-by: Eugen Hristev <eugen.hristev@xxxxxxxxxx> --- mm/page_alloc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mm/page_alloc.c b/mm/page_alloc.c index fa09154a799c..5f0015e27a30 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c @@ -55,6 +55,7 @@ #include <linux/delayacct.h> #include <linux/cacheinfo.h> #include <linux/pgalloc_tag.h> +#include <linux/kmemdump.h> #include <asm/div64.h> #include "internal.h" #include "shuffle.h" @@ -207,6 +208,7 @@ nodemask_t node_states[NR_NODE_STATES] __read_mostly = { #endif /* NUMA */ }; EXPORT_SYMBOL(node_states); +KMEMDUMP_VAR_CORE(node_states, sizeof(node_states)); gfp_t gfp_allowed_mask __read_mostly = GFP_BOOT_MASK; -- 2.43.0