[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200127085112.4em4vfyydx6h6rf2@f53c9c00458a>
Date: Mon, 27 Jan 2020 16:51:12 +0800
From: kbuild test robot <lkp@...el.com>
To: "Joel Fernandes (Google)" <joel@...lfernandes.org>
Cc: kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
"Joel Fernandes (Google)" <joel@...lfernandes.org>,
Davidlohr Bueso <dave@...olabs.net>,
Josh Triplett <josh@...htriplett.org>,
Lai Jiangshan <jiangshanlai@...il.com>,
Mathieu Desnoyers <mathieu.desnoyers@...icios.com>,
"Paul E. McKenney" <paulmck@...nel.org>, rcu@...r.kernel.org,
Steven Rostedt <rostedt@...dmis.org>, urezki@...il.com
Subject: [RFC PATCH] rcuperf: mem_begin can be static
Fixes: e4b6bfefb245 ("rcuperf: Measure memory footprint during kfree_rcu() test (v4)")
Signed-off-by: kbuild test robot <lkp@...el.com>
---
rcuperf.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/rcu/rcuperf.c b/kernel/rcu/rcuperf.c
index c41f009acbbb5..4f642e7b25fa6 100644
--- a/kernel/rcu/rcuperf.c
+++ b/kernel/rcu/rcuperf.c
@@ -617,7 +617,7 @@ DEFINE_KFREE_OBJ(32); // goes on kmalloc-64 slab
DEFINE_KFREE_OBJ(64); // goes on kmalloc-96 slab
DEFINE_KFREE_OBJ(96); // goes on kmalloc-128 slab
-long long mem_begin;
+static long long mem_begin;
static int
kfree_perf_thread(void *arg)
Powered by blists - more mailing lists