All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] sched: remove redundant call to unregister_sched_domain_sysctl()
@ 2008-11-04  8:19 Li Zefan
  2008-11-04  9:23 ` Ingo Molnar
  0 siblings, 1 reply; 2+ messages in thread
From: Li Zefan @ 2008-11-04  8:19 UTC (permalink / raw)
  To: Ingo Molnar; +Cc: LKML, Peter Zijlstra

The sysctl has been unregistered by partition_sched_domains().

Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
---
 kernel/sched.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/kernel/sched.c b/kernel/sched.c
index e8819bc..bf75a5e 100644
--- a/kernel/sched.c
+++ b/kernel/sched.c
@@ -7734,8 +7734,6 @@ static void detach_destroy_domains(const cpumask_t *cpu_map)
 	cpumask_t tmpmask;
 	int i;
 
-	unregister_sched_domain_sysctl();
-
 	for_each_cpu_mask_nr(i, *cpu_map)
 		cpu_attach_domain(NULL, &def_root_domain, i);
 	synchronize_sched();
-- 
1.5.4.rc3

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

* Re: [PATCH] sched: remove redundant call to unregister_sched_domain_sysctl()
  2008-11-04  8:19 [PATCH] sched: remove redundant call to unregister_sched_domain_sysctl() Li Zefan
@ 2008-11-04  9:23 ` Ingo Molnar
  0 siblings, 0 replies; 2+ messages in thread
From: Ingo Molnar @ 2008-11-04  9:23 UTC (permalink / raw)
  To: Li Zefan; +Cc: LKML, Peter Zijlstra


* Li Zefan <lizf@cn.fujitsu.com> wrote:

> The sysctl has been unregistered by partition_sched_domains().
> 
> Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
> ---
>  kernel/sched.c |    2 --
>  1 files changed, 0 insertions(+), 2 deletions(-)

applied to tip/sched/core, thanks!

	Ingo

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

end of thread, other threads:[~2008-11-04  9:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-04  8:19 [PATCH] sched: remove redundant call to unregister_sched_domain_sysctl() Li Zefan
2008-11-04  9:23 ` Ingo Molnar

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.