[PATCH] sched: remove redundant call to unregister_sched_domain_sysctl() - Kernel

This is a discussion on [PATCH] sched: remove redundant call to unregister_sched_domain_sysctl() - Kernel ; The sysctl has been unregistered by partition_sched_domains(). Signed-off-by: Li Zefan --- 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 ...

+ Reply to Thread
Results 1 to 2 of 2

Thread: [PATCH] sched: remove redundant call to unregister_sched_domain_sysctl()

  1. [PATCH] sched: remove redundant call to unregister_sched_domain_sysctl()

    The sysctl has been unregistered by partition_sched_domains().

    Signed-off-by: Li Zefan
    ---
    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
    --
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

  2. Re: [PATCH] sched: remove redundant call to unregister_sched_domain_sysctl()


    * Li Zefan wrote:

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


    applied to tip/sched/core, thanks!

    Ingo
    --
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

+ Reply to Thread