Messages in this thread | | | Date | Wed, 29 Oct 2008 11:53:42 +0100 | From | Ingo Molnar <> | Subject | Re: [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
| |