Re: Changing the default scheduler

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

 



> What would I have to do if I instead wanted to change the scheduler class
> that is used when a process specifies the SCHED_NORMAL policy? Is there a
> way to do that without replacing the CFS source at fair.c?

I'm not sure if it is the safer way to do this, but I think you can
achieve this by changing the __setcheduler() method in core.c to
ignore
priority and always set scheduler to whatever scheduler you would want
to default.

This also prevent you from changing the tasks to have the same
priority and reverting would be a matter of reconsidering priority.

Regards

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies



[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