RE: Linux scheduling.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
I think goodness of a process is calculated after it has entered the schedule. Will it happen than when it is in 
schedule the current process(prev) happens to have policy SCHED_FIFO and needs to go in wait queue or whatever.
Thank you,
Rahul.


-----Original Message-----
From: Momchil Velikov [mailto:velco@fadata.bg]
Sent: Friday, October 18, 2002 12:40 PM
To: Sonawane, Rahul (Rahul)
Cc: kernelnewbies@nl.linux.org
Subject: Re: Linux scheduling.


>>>>> "Sonawane" == Sonawane, Rahul (Rahul) <sonawane@avaya.com> writes:

Sonawane> Hi , I am looking into scheduler.  I have a question. Will
Sonawane> it ever happen that when the scheduler(schedule() ) is
Sonawane> executing and the current process has policy SCHED_FIFO. If
Sonawane> no why ?  This doubt came to my mind because in the schedule
Sonawane> code the policy SCHED_FIFO is never checked.  Thanks in
Sonawane> advance, Rahul.

See kernel/sched.c:goodness().

~velco

	
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux