[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <tip-9e49e2447c6385e45c6fddd70d6c0e917e21b669@git.kernel.org>
Date: Mon, 12 Mar 2018 05:16:36 -0700
From: tip-bot for Peter Zijlstra <tipbot@...or.com>
To: linux-tip-commits@...r.kernel.org
Cc: mingo@...nel.org, tglx@...utronix.de, bigeasy@...utronix.de,
linux-kernel@...r.kernel.org, torvalds@...ux-foundation.org,
hpa@...or.com, peterz@...radead.org
Subject: [tip:sched/core] sched/core: Remove TASK_ALL
Commit-ID: 9e49e2447c6385e45c6fddd70d6c0e917e21b669
Gitweb: https://git.kernel.org/tip/9e49e2447c6385e45c6fddd70d6c0e917e21b669
Author: Peter Zijlstra <peterz@...radead.org>
AuthorDate: Tue, 27 Feb 2018 17:05:10 +0100
Committer: Ingo Molnar <mingo@...nel.org>
CommitDate: Mon, 12 Mar 2018 10:51:47 +0100
sched/core: Remove TASK_ALL
It's unused:
$ git grep "\<TASK_ALL\>" | wc -l
1
... and it is also dangerous, kill the bugger.
Signed-off-by: Peter Zijlstra (Intel) <peterz@...radead.org>
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@...utronix.de>
Acked-by: Thomas Gleixner <tglx@...utronix.de>
Cc: Linus Torvalds <torvalds@...ux-foundation.org>
Cc: Peter Zijlstra <peterz@...radead.org>
Link: http://lkml.kernel.org/r/20180227160510.10829-1-bigeasy@linutronix.de
Signed-off-by: Ingo Molnar <mingo@...nel.org>
---
include/linux/sched.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/include/linux/sched.h b/include/linux/sched.h
index b161ef8a902e..21b1168da951 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -93,7 +93,6 @@ struct task_group;
/* Convenience macros for the sake of wake_up(): */
#define TASK_NORMAL (TASK_INTERRUPTIBLE | TASK_UNINTERRUPTIBLE)
-#define TASK_ALL (TASK_NORMAL | __TASK_STOPPED | __TASK_TRACED)
/* get_task_state(): */
#define TASK_REPORT (TASK_RUNNING | TASK_INTERRUPTIBLE | \
Powered by blists - more mailing lists