Re: [PATCH] sched: cleanup for alloc_rt/fair_sched_group()

From: Ingo Molnar
Date: Wed Oct 29 2008 - 06:53:59 EST



* Li Zefan <lizf@xxxxxxxxxxxxxx> wrote:

> Remove checking parent == NULL. It won't be NULLL, because we dynamically
> create sub task_group only, and sub task_group always has its parent.
> (root task_group is statically defined)
>
> Also replace kmalloc_node(GFP_ZERO) with kzalloc_node().
>
> Signed-off-by: Li Zefan <lizf@xxxxxxxxxxxxxx>
> ---
> kernel/sched.c | 26 ++++++++++++--------------
> 1 files changed, 12 insertions(+), 14 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/