Re: [PATCH] sched debug: remove NULL checking in print_cfs/rt_rq()
From: Ingo Molnar
Date: Tue Nov 04 2008 - 04:23:35 EST
* Li Zefan <lizf@xxxxxxxxxxxxxx> wrote:
> cfs->tg is initialized in init_tg_cfs_entry() with tg != NULL, and
> will never be invalidated to NULL. And the underlying cgroup of a
> valid task_group is always valid.
>
> Same for rt->tg.
>
> Signed-off-by: Li Zefan <lizf@xxxxxxxxxxxxxx>
> ---
> kernel/sched_debug.c | 14 ++------------
> 1 files changed, 2 insertions(+), 12 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/