Re: [PATCH] sched: cleanup adjusting sched_class

From: Ingo Molnar
Date: Mon Sep 24 2007 - 18:04:19 EST



* Hiroshi Shimamoto <h-shimamoto@xxxxxxxxxxxxx> wrote:

> Hi Ingo and Dmitry,
>
> I made a clean-up patch about fixing invalid sched_class use.
>
> Dmitry, could you please review and sign it?
>
>
> The adjusting sched_class is a missing part of the already existing
> "do not leak PI boosting priority to the child" at the sched_fork().
> This patch moves the adjusting sched_class from wake_up_new_task() to
> sched_fork().

thanks. Note that your cleanup also shrinks the code a bit:

text data bss dec hex filename
40111 4018 292 44421 ad85 sched.o.before
40102 4018 292 44412 ad7c sched.o.after

which never hurts :)

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/