[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <tip-9434f9f5d117302cc7ddf038e7879f6871dc7a81@git.kernel.org>
Date: Thu, 25 Jul 2019 09:13:08 -0700
From: tip-bot for Valentin Schneider <tipbot@...or.com>
To: linux-tip-commits@...r.kernel.org
Cc: valentin.schneider@....com, mingo@...nel.org, tglx@...utronix.de,
torvalds@...ux-foundation.org, peterz@...radead.org, hpa@...or.com,
linux-kernel@...r.kernel.org
Subject: [tip:sched/core] sched/fair: Change task_numa_work() storage to
static
Commit-ID: 9434f9f5d117302cc7ddf038e7879f6871dc7a81
Gitweb: https://git.kernel.org/tip/9434f9f5d117302cc7ddf038e7879f6871dc7a81
Author: Valentin Schneider <valentin.schneider@....com>
AuthorDate: Mon, 15 Jul 2019 11:25:08 +0100
Committer: Ingo Molnar <mingo@...nel.org>
CommitDate: Thu, 25 Jul 2019 15:51:52 +0200
sched/fair: Change task_numa_work() storage to static
There are no callers outside of fair.c.
Signed-off-by: Valentin Schneider <valentin.schneider@....com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@...radead.org>
Cc: Linus Torvalds <torvalds@...ux-foundation.org>
Cc: Peter Zijlstra <peterz@...radead.org>
Cc: Thomas Gleixner <tglx@...utronix.de>
Cc: mgorman@...e.de
Cc: riel@...riel.com
Link: https://lkml.kernel.org/r/20190715102508.32434-4-valentin.schneider@arm.com
Signed-off-by: Ingo Molnar <mingo@...nel.org>
---
kernel/sched/fair.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c
index fd391fc00ed8..b5546a15206c 100644
--- a/kernel/sched/fair.c
+++ b/kernel/sched/fair.c
@@ -2482,7 +2482,7 @@ static void reset_ptenuma_scan(struct task_struct *p)
* The expensive part of numa migration is done from task_work context.
* Triggered from task_tick_numa().
*/
-void task_numa_work(struct callback_head *work)
+static void task_numa_work(struct callback_head *work)
{
unsigned long migrate, next_scan, now = jiffies;
struct task_struct *p = current;
Powered by blists - more mailing lists