[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20081208125319.GD16560@elte.hu>
Date: Mon, 8 Dec 2008 13:53:19 +0100
From: Ingo Molnar <mingo@...e.hu>
To: Ken Chen <kenchen@...gle.com>
Cc: Peter Zijlstra <a.p.zijlstra@...llo.nl>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [patch] sched: fix sd_parent_degenerate on non-numa smp machine
* Ken Chen <kenchen@...gle.com> wrote:
> The addition of SD_SERIALIZE flag added to SD_NODE_INIT prevented top level
> dummy numa sched_domain to be properly degenerated on non-numa smp machine.
> The reason is that in sd_parent_degenerate(), it found that the child and
> parent does not have comon sched_domain flags due to SD_SERIALIZE. However,
> for non-numa smp box, the top level is a dummy with a single sched_group.
>
> Filter out SD_SERIALIZE if it is on non-numa machine to properly degenerate
> top level node sched_domain. this will cut back some of the sd domain walk
> in the load balancer code.
>
> Signed-off-by: Ken Chen <kenchen@...gle.com>
applied to tip/sched/core, thanks Ken!
Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists