priority of kernel threads

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

 



Hi,

How can I set the priority of a kernel thread ??

As I understand (looking at the sources)

  • User space RT tasks  ( tasks having scheduling policy of SCHED_FIFO/SCHED_RR) can have a  priority from 0 to MAX_RT_USER_PRIO -1.

 

  • And Kernel threads can have priority between MAX_USER_RT_PRIO to MAX_RT_PRIO.

 

  • And threads having scheduling policy SCHED_OTHER can have priorities between MAX_RT_PRIO to MAX_PRIO -1.

 

If all the above 3 statements are correct ( If not correct me first) then how do I set the priority of a kernel thread ??

 

Regards

Nilanjan

 

 

 


[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