All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] sched: mark autogroup_init() __init
@ 2011-01-07  4:43 Yong Zhang
  2011-01-07  8:57 ` Peter Zijlstra
  2011-01-07 15:36 ` [tip:sched/urgent] sched: Mark " tip-bot for Yong Zhang
  0 siblings, 2 replies; 3+ messages in thread
From: Yong Zhang @ 2011-01-07  4:43 UTC (permalink / raw)
  To: linux-kernel; +Cc: Ingo Molnar, Peter Zijlstra, Mike Galbraith

autogroup_init() is only called at boot time.

Signed-off-by: Yong Zhang <yong.zhang0@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Mike Galbraith <efault@gmx.de>
---
 kernel/sched_autogroup.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/kernel/sched_autogroup.c b/kernel/sched_autogroup.c
index ff6c88c..b367941 100644
--- a/kernel/sched_autogroup.c
+++ b/kernel/sched_autogroup.c
@@ -9,7 +9,7 @@ unsigned int __read_mostly sysctl_sched_autogroup_enabled = 1;
 static struct autogroup autogroup_default;
 static atomic_t autogroup_seq_nr;
 
-static void autogroup_init(struct task_struct *init_task)
+static void __init autogroup_init(struct task_struct *init_task)
 {
 	autogroup_default.tg = &init_task_group;
 	init_task_group.autogroup = &autogroup_default;
-- 
1.7.0.4


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

* Re: [PATCH] sched: mark autogroup_init() __init
  2011-01-07  4:43 [PATCH] sched: mark autogroup_init() __init Yong Zhang
@ 2011-01-07  8:57 ` Peter Zijlstra
  2011-01-07 15:36 ` [tip:sched/urgent] sched: Mark " tip-bot for Yong Zhang
  1 sibling, 0 replies; 3+ messages in thread
From: Peter Zijlstra @ 2011-01-07  8:57 UTC (permalink / raw)
  To: Yong Zhang; +Cc: linux-kernel, Ingo Molnar, Mike Galbraith

On Fri, 2011-01-07 at 12:43 +0800, Yong Zhang wrote:
> autogroup_init() is only called at boot time.
> 
> Signed-off-by: Yong Zhang <yong.zhang0@gmail.com>
> Cc: Ingo Molnar <mingo@elte.hu>
> Cc: Peter Zijlstra <peterz@infradead.org>
> Cc: Mike Galbraith <efault@gmx.de>=

Thanks

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

* [tip:sched/urgent] sched: Mark autogroup_init() __init
  2011-01-07  4:43 [PATCH] sched: mark autogroup_init() __init Yong Zhang
  2011-01-07  8:57 ` Peter Zijlstra
@ 2011-01-07 15:36 ` tip-bot for Yong Zhang
  1 sibling, 0 replies; 3+ messages in thread
From: tip-bot for Yong Zhang @ 2011-01-07 15:36 UTC (permalink / raw)
  To: linux-tip-commits
  Cc: linux-kernel, hpa, mingo, a.p.zijlstra, efault, yong.zhang0, tglx,
	mingo

Commit-ID:  0ca0873555c0abe17b28c25b19f82857c0ddd2bc
Gitweb:     http://git.kernel.org/tip/0ca0873555c0abe17b28c25b19f82857c0ddd2bc
Author:     Yong Zhang <yong.zhang0@gmail.com>
AuthorDate: Fri, 7 Jan 2011 12:43:45 +0800
Committer:  Ingo Molnar <mingo@elte.hu>
CommitDate: Fri, 7 Jan 2011 15:54:36 +0100

sched: Mark autogroup_init() __init

autogroup_init() is only called at boot time.

Signed-off-by: Yong Zhang <yong.zhang0@gmail.com>
Cc: Mike Galbraith <efault@gmx.de>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <1294375425-31065-1-git-send-email-yong.zhang0@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
---
 kernel/sched_autogroup.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/kernel/sched_autogroup.c b/kernel/sched_autogroup.c
index e011e53..32a723b 100644
--- a/kernel/sched_autogroup.c
+++ b/kernel/sched_autogroup.c
@@ -9,7 +9,7 @@ unsigned int __read_mostly sysctl_sched_autogroup_enabled = 1;
 static struct autogroup autogroup_default;
 static atomic_t autogroup_seq_nr;
 
-static void autogroup_init(struct task_struct *init_task)
+static void __init autogroup_init(struct task_struct *init_task)
 {
 	autogroup_default.tg = &root_task_group;
 	root_task_group.autogroup = &autogroup_default;

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

end of thread, other threads:[~2011-01-07 15:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-07  4:43 [PATCH] sched: mark autogroup_init() __init Yong Zhang
2011-01-07  8:57 ` Peter Zijlstra
2011-01-07 15:36 ` [tip:sched/urgent] sched: Mark " tip-bot for Yong Zhang

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.