Re: [PATCH] sched: fix to use invalid sched_class

From: Hiroshi Shimamoto
Date: Wed Sep 19 2007 - 20:02:02 EST


Dmitry Adamushko wrote:
>>> Hi Ingo,
>>>
>>> I found an issue about the scheduler.
>>> If you need a test case, please let me know.
>>> Here is a patch.
>>> [ ... ]
>>> The new thread should be valid scheduler class before queuing.
>>> This patch fixes to set the suitable scheduler class.
>> Nice fix! It's a 2.6.23 must-have fix - i'll push it out into the
>> scheduler tree. Thanks!
>
> I think, the following approach would be a bit more appropriate
> (the missing addition to the already existing "don't leak PI boosting prio"):
>
> (not tested)
>
Thank you for reviewing my patch.
Yes, your approach looks better than mine.
I've tested it and it looks working fine in my test case.
I attached the test case.

Will you write a patch to replace mine?

Thanks,
Hiroshi Shimamoto

X bitmap