[PATCH 08/26] mm/page_alloc: Annotate static information into meminspect
Eugen Hristev
eugen.hristev at linaro.org
Wed Nov 19 07:44:09 PST 2025
Annotate vital static information into inspection table:
- node_states
Information on these variables is stored into dedicated inspection section.
Signed-off-by: Eugen Hristev <eugen.hristev at linaro.org>
---
mm/page_alloc.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/mm/page_alloc.c b/mm/page_alloc.c
index 600d9e981c23..323521489907 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/meminspect.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);
+MEMINSPECT_SIMPLE_ENTRY(node_states);
gfp_t gfp_allowed_mask __read_mostly = GFP_BOOT_MASK;
--
2.43.0
More information about the linux-arm-kernel
mailing list