[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20251119154427.1033475-9-eugen.hristev@linaro.org>
Date: Wed, 19 Nov 2025 17:44:09 +0200
From: Eugen Hristev <eugen.hristev@...aro.org>
To: linux-arm-msm@...r.kernel.org,
linux-kernel@...r.kernel.org,
linux-mm@...ck.org,
tglx@...utronix.de,
andersson@...nel.org,
pmladek@...e.com,
rdunlap@...radead.org,
corbet@....net,
david@...hat.com,
mhocko@...e.com
Cc: tudor.ambarus@...aro.org,
mukesh.ojha@....qualcomm.com,
linux-arm-kernel@...ts.infradead.org,
linux-hardening@...r.kernel.org,
jonechou@...gle.com,
rostedt@...dmis.org,
linux-doc@...r.kernel.org,
devicetree@...r.kernel.org,
linux-remoteproc@...r.kernel.org,
linux-arch@...r.kernel.org,
tony.luck@...el.com,
kees@...nel.org,
Eugen Hristev <eugen.hristev@...aro.org>
Subject: [PATCH 08/26] mm/page_alloc: Annotate static information into meminspect
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@...aro.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
Powered by blists - more mailing lists