lkml.org 
[lkml]   [2008]   [Oct]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] sched: cleanup for alloc_rt/fair_sched_group()

* Li Zefan <lizf@cn.fujitsu.com> 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@cn.fujitsu.com>
> ---
> kernel/sched.c | 26 ++++++++++++--------------
> 1 files changed, 12 insertions(+), 14 deletions(-)

applied to tip/sched/core, thanks!

Ingo


\
 
 \ /
  Last update: 2008-10-29 11:57    [W:0.024 / U:0.600 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site