Re: [PATCH] sched: Fix rt_task to work properly

2016-08-29 Thread Yin-goo Yim
Thank you for your immediate response. > AFAICS this change is a larger layer violation (dependency issue) > since AFAIK prio.h is a generic, common base header > which is to provide priority definitions > common to *all* of the > more specific scheduler sub handling > (deadline, rt, ...), > which

Re: [PATCH] sched: Fix rt_task to work properly

2016-08-25 Thread Andreas Mohr
Hi, [no properly binding reference via In-Reply-To: available thus manually re-creating, sorry] > +++ b/include/linux/sched/deadline.h > @@ -1,13 +1,7 @@ > #ifndef _SCHED_DEADLINE_H > #define _SCHED_DEADLINE_H > > -/* > - * SCHED_DEADLINE tasks has negative priorities, reflecting > - * the fact

[PATCH] sched: Fix rt_task to work properly

2016-08-25 Thread Yin-goo Yim
Hi, I am a graduate student of System Software Lab. at Konkuk University We found that the rt_task() function returns true even if the task is a deadline task scheduled by SCHED_DEADLINE, because the function simply checks whether the priority of the task is smaller than 100. As the priority of de