All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] sched/rt: Remove leaf_rt_rq_list from struct rq
@ 2014-02-08  6:17 Li Zefan
  2014-02-08  6:17 ` [PATCH 2/2] sched/rt: Make init_sched_rt_calss() __init Li Zefan
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Li Zefan @ 2014-02-08  6:17 UTC (permalink / raw)
  To: Ingo Molnar; +Cc: Peter Zijlstra, Steven Rostedt, LKML

This is a leftover from commit e23ee74777f389369431d77390c4b09332ce026a
("sched/rt: Simplify pull_rt_task() logic and remove .leaf_rt_rq_list").

Signed-off-by: Li Zefan <lizefan@huawei.com>
---
 kernel/sched/core.c  | 1 -
 kernel/sched/sched.h | 4 ----
 2 files changed, 5 deletions(-)

diff --git a/kernel/sched/core.c b/kernel/sched/core.c
index a88f4a4..1f7d88a 100644
--- a/kernel/sched/core.c
+++ b/kernel/sched/core.c
@@ -6277,7 +6277,6 @@ void __init sched_init(void)
 
 		rq->rt.rt_runtime = def_rt_bandwidth.rt_runtime;
 #ifdef CONFIG_RT_GROUP_SCHED
-		INIT_LIST_HEAD(&rq->leaf_rt_rq_list);
 		init_tg_rt_entry(&root_task_group, &rq->rt, NULL, i, NULL);
 #endif
 
diff --git a/kernel/sched/sched.h b/kernel/sched/sched.h
index 88c85b2..1c83665 100644
--- a/kernel/sched/sched.h
+++ b/kernel/sched/sched.h
@@ -438,10 +438,6 @@ struct rq {
 	struct list_head leaf_cfs_rq_list;
 #endif /* CONFIG_FAIR_GROUP_SCHED */
 
-#ifdef CONFIG_RT_GROUP_SCHED
-	struct list_head leaf_rt_rq_list;
-#endif
-
 	/*
 	 * This is part of a global counter where only the total sum
 	 * over all CPUs matters. A task can increase this counter on
-- 
1.8.0.2

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [PATCH 2/2] sched/rt: Make init_sched_rt_calss() __init
  2014-02-08  6:17 [PATCH 1/2] sched/rt: Remove leaf_rt_rq_list from struct rq Li Zefan
@ 2014-02-08  6:17 ` Li Zefan
  2014-02-21 21:32   ` [tip:sched/core] " tip-bot for Li Zefan
  2014-02-22 18:03   ` tip-bot for Li Zefan
  2014-02-21 21:32 ` [tip:sched/core] sched/rt: Remove leaf_rt_rq_list from struct rq tip-bot for Li Zefan
  2014-02-22 18:03 ` [tip:sched/core] sched/rt: Remove 'leaf_rt_rq_list' from ' struct rq' tip-bot for Li Zefan
  2 siblings, 2 replies; 6+ messages in thread
From: Li Zefan @ 2014-02-08  6:17 UTC (permalink / raw)
  To: Ingo Molnar; +Cc: Peter Zijlstra, Steven Rostedt, LKML

It's a bootstrap function.

Signed-off-by: Li Zefan <lizefan@huawei.com>
---
 kernel/sched/rt.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/sched/rt.c b/kernel/sched/rt.c
index 1c40655..e45ec9a 100644
--- a/kernel/sched/rt.c
+++ b/kernel/sched/rt.c
@@ -1825,7 +1825,7 @@ static void switched_from_rt(struct rq *rq, struct task_struct *p)
 		resched_task(rq->curr);
 }
 
-void init_sched_rt_class(void)
+void __init init_sched_rt_class(void)
 {
 	unsigned int i;
 
-- 
1.8.0.2

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [tip:sched/core] sched/rt: Remove leaf_rt_rq_list from struct rq
  2014-02-08  6:17 [PATCH 1/2] sched/rt: Remove leaf_rt_rq_list from struct rq Li Zefan
  2014-02-08  6:17 ` [PATCH 2/2] sched/rt: Make init_sched_rt_calss() __init Li Zefan
@ 2014-02-21 21:32 ` tip-bot for Li Zefan
  2014-02-22 18:03 ` [tip:sched/core] sched/rt: Remove 'leaf_rt_rq_list' from ' struct rq' tip-bot for Li Zefan
  2 siblings, 0 replies; 6+ messages in thread
From: tip-bot for Li Zefan @ 2014-02-21 21:32 UTC (permalink / raw)
  To: linux-tip-commits; +Cc: linux-kernel, hpa, mingo, peterz, tglx, lizefan

Commit-ID:  673ca1919f2b0b83a377395454d5edd12f946bbf
Gitweb:     http://git.kernel.org/tip/673ca1919f2b0b83a377395454d5edd12f946bbf
Author:     Li Zefan <lizefan@huawei.com>
AuthorDate: Sat, 8 Feb 2014 14:17:26 +0800
Committer:  Thomas Gleixner <tglx@linutronix.de>
CommitDate: Fri, 21 Feb 2014 21:43:19 +0100

sched/rt: Remove leaf_rt_rq_list from struct rq

This is a leftover from commit e23ee74777f389369431d77390c4b09332ce026a
("sched/rt: Simplify pull_rt_task() logic and remove .leaf_rt_rq_list").

Cc: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Li Zefan <lizefan@huawei.com>
Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/52F5CBF6.4060901@huawei.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
---
 kernel/sched/core.c  | 1 -
 kernel/sched/sched.h | 4 ----
 2 files changed, 5 deletions(-)

diff --git a/kernel/sched/core.c b/kernel/sched/core.c
index c1687de..67a24fa 100644
--- a/kernel/sched/core.c
+++ b/kernel/sched/core.c
@@ -6884,7 +6884,6 @@ void __init sched_init(void)
 
 		rq->rt.rt_runtime = def_rt_bandwidth.rt_runtime;
 #ifdef CONFIG_RT_GROUP_SCHED
-		INIT_LIST_HEAD(&rq->leaf_rt_rq_list);
 		init_tg_rt_entry(&root_task_group, &rq->rt, NULL, i, NULL);
 #endif
 
diff --git a/kernel/sched/sched.h b/kernel/sched/sched.h
index caf4abd..d608125 100644
--- a/kernel/sched/sched.h
+++ b/kernel/sched/sched.h
@@ -543,10 +543,6 @@ struct rq {
 	struct list_head leaf_cfs_rq_list;
 #endif /* CONFIG_FAIR_GROUP_SCHED */
 
-#ifdef CONFIG_RT_GROUP_SCHED
-	struct list_head leaf_rt_rq_list;
-#endif
-
 	/*
 	 * This is part of a global counter where only the total sum
 	 * over all CPUs matters. A task can increase this counter on

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [tip:sched/core] sched/rt: Make init_sched_rt_calss() __init
  2014-02-08  6:17 ` [PATCH 2/2] sched/rt: Make init_sched_rt_calss() __init Li Zefan
@ 2014-02-21 21:32   ` tip-bot for Li Zefan
  2014-02-22 18:03   ` tip-bot for Li Zefan
  1 sibling, 0 replies; 6+ messages in thread
From: tip-bot for Li Zefan @ 2014-02-21 21:32 UTC (permalink / raw)
  To: linux-tip-commits; +Cc: linux-kernel, hpa, mingo, peterz, tglx, lizefan

Commit-ID:  6bd5d275ea039721f6fd382a15dc6adc949c77ec
Gitweb:     http://git.kernel.org/tip/6bd5d275ea039721f6fd382a15dc6adc949c77ec
Author:     Li Zefan <lizefan@huawei.com>
AuthorDate: Sat, 8 Feb 2014 14:17:45 +0800
Committer:  Thomas Gleixner <tglx@linutronix.de>
CommitDate: Fri, 21 Feb 2014 21:43:19 +0100

sched/rt: Make init_sched_rt_calss() __init

It's a bootstrap function.

Cc: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Li Zefan <lizefan@huawei.com>
Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/52F5CC09.1080502@huawei.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
---
 kernel/sched/rt.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/sched/rt.c b/kernel/sched/rt.c
index b22a090..0160887 100644
--- a/kernel/sched/rt.c
+++ b/kernel/sched/rt.c
@@ -1857,7 +1857,7 @@ static void switched_from_rt(struct rq *rq, struct task_struct *p)
 		resched_task(rq->curr);
 }
 
-void init_sched_rt_class(void)
+void __init init_sched_rt_class(void)
 {
 	unsigned int i;
 

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [tip:sched/core] sched/rt: Remove 'leaf_rt_rq_list' from ' struct rq'
  2014-02-08  6:17 [PATCH 1/2] sched/rt: Remove leaf_rt_rq_list from struct rq Li Zefan
  2014-02-08  6:17 ` [PATCH 2/2] sched/rt: Make init_sched_rt_calss() __init Li Zefan
  2014-02-21 21:32 ` [tip:sched/core] sched/rt: Remove leaf_rt_rq_list from struct rq tip-bot for Li Zefan
@ 2014-02-22 18:03 ` tip-bot for Li Zefan
  2 siblings, 0 replies; 6+ messages in thread
From: tip-bot for Li Zefan @ 2014-02-22 18:03 UTC (permalink / raw)
  To: linux-tip-commits; +Cc: linux-kernel, hpa, mingo, peterz, tglx, lizefan

Commit-ID:  d82fd25356b902703152c1800845661835541878
Gitweb:     http://git.kernel.org/tip/d82fd25356b902703152c1800845661835541878
Author:     Li Zefan <lizefan@huawei.com>
AuthorDate: Sat, 8 Feb 2014 14:17:26 +0800
Committer:  Ingo Molnar <mingo@kernel.org>
CommitDate: Sat, 22 Feb 2014 18:10:43 +0100

sched/rt: Remove 'leaf_rt_rq_list' from 'struct rq'

This is a leftover from commit e23ee74777f389369431d77390c4b09332ce026a
("sched/rt: Simplify pull_rt_task() logic and remove .leaf_rt_rq_list").

Signed-off-by: Li Zefan <lizefan@huawei.com>
Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/52F5CBF6.4060901@huawei.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
---
 kernel/sched/core.c  | 1 -
 kernel/sched/sched.h | 4 ----
 2 files changed, 5 deletions(-)

diff --git a/kernel/sched/core.c b/kernel/sched/core.c
index 003263b..cc4965e 100644
--- a/kernel/sched/core.c
+++ b/kernel/sched/core.c
@@ -6876,7 +6876,6 @@ void __init sched_init(void)
 
 		rq->rt.rt_runtime = def_rt_bandwidth.rt_runtime;
 #ifdef CONFIG_RT_GROUP_SCHED
-		INIT_LIST_HEAD(&rq->leaf_rt_rq_list);
 		init_tg_rt_entry(&root_task_group, &rq->rt, NULL, i, NULL);
 #endif
 
diff --git a/kernel/sched/sched.h b/kernel/sched/sched.h
index caf4abd..d608125 100644
--- a/kernel/sched/sched.h
+++ b/kernel/sched/sched.h
@@ -543,10 +543,6 @@ struct rq {
 	struct list_head leaf_cfs_rq_list;
 #endif /* CONFIG_FAIR_GROUP_SCHED */
 
-#ifdef CONFIG_RT_GROUP_SCHED
-	struct list_head leaf_rt_rq_list;
-#endif
-
 	/*
 	 * This is part of a global counter where only the total sum
 	 * over all CPUs matters. A task can increase this counter on

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [tip:sched/core] sched/rt: Make init_sched_rt_calss() __init
  2014-02-08  6:17 ` [PATCH 2/2] sched/rt: Make init_sched_rt_calss() __init Li Zefan
  2014-02-21 21:32   ` [tip:sched/core] " tip-bot for Li Zefan
@ 2014-02-22 18:03   ` tip-bot for Li Zefan
  1 sibling, 0 replies; 6+ messages in thread
From: tip-bot for Li Zefan @ 2014-02-22 18:03 UTC (permalink / raw)
  To: linux-tip-commits; +Cc: linux-kernel, hpa, mingo, peterz, tglx, lizefan

Commit-ID:  11c785b79ef2a669e4bf7be5cf2c3904b8fed015
Gitweb:     http://git.kernel.org/tip/11c785b79ef2a669e4bf7be5cf2c3904b8fed015
Author:     Li Zefan <lizefan@huawei.com>
AuthorDate: Sat, 8 Feb 2014 14:17:45 +0800
Committer:  Ingo Molnar <mingo@kernel.org>
CommitDate: Sat, 22 Feb 2014 18:11:10 +0100

sched/rt: Make init_sched_rt_calss() __init

It's a bootstrap function.

Signed-off-by: Li Zefan <lizefan@huawei.com>
Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/52F5CC09.1080502@huawei.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
---
 kernel/sched/rt.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/sched/rt.c b/kernel/sched/rt.c
index 3e488ca..4d4b386 100644
--- a/kernel/sched/rt.c
+++ b/kernel/sched/rt.c
@@ -1849,7 +1849,7 @@ static void switched_from_rt(struct rq *rq, struct task_struct *p)
 		resched_task(rq->curr);
 }
 
-void init_sched_rt_class(void)
+void __init init_sched_rt_class(void)
 {
 	unsigned int i;
 

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-02-22 18:03 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-08  6:17 [PATCH 1/2] sched/rt: Remove leaf_rt_rq_list from struct rq Li Zefan
2014-02-08  6:17 ` [PATCH 2/2] sched/rt: Make init_sched_rt_calss() __init Li Zefan
2014-02-21 21:32   ` [tip:sched/core] " tip-bot for Li Zefan
2014-02-22 18:03   ` tip-bot for Li Zefan
2014-02-21 21:32 ` [tip:sched/core] sched/rt: Remove leaf_rt_rq_list from struct rq tip-bot for Li Zefan
2014-02-22 18:03 ` [tip:sched/core] sched/rt: Remove 'leaf_rt_rq_list' from ' struct rq' tip-bot for Li Zefan

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.