lkml.org 
[lkml]   [1999]   [Oct]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: SCHED_YIELD again
Artur Skawina writes:
> this assumes the SCHED_YIELD flag will prevent the current task from
> being selected if there's anything else to run. Other than being
> "wrong" from a modular pov, it's also wrong because that's not what
> SCHED_YIELD actually does. Not even in the stock scheduler... (this
> btw means that Richards sched_yield() change is wrong -- normal
> threads will _not_ be selected even if a RT task has SCHED_YIELD
> set)

Hm. Looking at the current scheduler code, I see you're right.

Damn, it's changed a lot since I last played with it! It's even more
of a mess :-(

Regards,

Richard....
Permanent: rgooch@atnf.csiro.au
Current: rgooch@ras.ucalgary.ca

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:54    [W:0.063 / U:0.932 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site