Skip to contentSkip to conversation

QUESTION: RT & SCHED & fork: ?MISSING EQUIV of task_new_fairfor RT tasks.

DISCUSSION Mitchell Erblich 3 participants 3 messages Aug 15, 2007 – Aug 24, 2007

lore
Share & tools
lore
#0 lore raw
Quoted 10 lines · Mike Galbraith
Quoted 4 lines · Mitchell Erblich

Group, Ingo Molnar, etc,

Why does the rt sched_class contain fewer elements than fair? missing is the RT for .task_new.

No class specific initialization needs to be done for RT tasks.

-Mike

Mike, et al,

one time: I was told that this group likes bottom posts.

The logic of class independent code calling class scheduling dependent code, assumes that all functions
are in ALL the class dependent sections.

Minimally, if I agree with your above statement, I would assume that the function should still exist as a null type function. However, in reality, alot of RT class specific init is done. Just currently none of it is done in this non-existant function.

Mitchell Erblich

#1 lore raw
Quoted 3 lines · Mitchell Erblich

However,
in reality, alot of RT class specific init is done. Just currently none of it is done in this non-existant function.

Patch?

#2 lore raw
In reply to Mitchell Erblich
Quoted 8 lines · Mitchell Erblich
Quoted 7 lines · Mike Galbraith
Quoted 4 lines · Mitchell Erblich

Group, Ingo Molnar, etc,

Why does the rt sched_class contain fewer elements than fair? missing is the RT for .task_new.

Quoted 8 lines
Quoted 3 lines

No class specific initialization needs to be done for RT tasks.

-Mike

Mike, et al,

one time: I was told that this group likes bottom posts.

( Mike did not top-post, so why this comment? )

Quoted 8 lines

The logic of class independent code calling class scheduling
dependent code, assumes that all functions are in ALL the class dependent sections.

Minimally, if I agree with your above statement, I would assume that the function should still exist as a null type function. However, in reality, alot of RT class specific init is done. Just currently none of it is done in this non-existant function.

your original claim and these additional claims are both incorrect. What Mike said is true: there is nothing "missing", RT class tasks do not need any extra setup over what they already receive from the generic function. A NULL pointer for sched_class->task_new means: "do default setup, no class-specific setup needed". If you disagree with what we say then please send a fix-patch or quote the specific code that is missing something in your opinion.

Ingo