- Set the priority of the page zeroing thread using sched_prio() when the thread is created rather than adjusting the priority in the main function. (kthread_create() should probably take the initial priority as an argument.)
- Only yield the CPU in the !PREEMPTION case if there are any other runnable threads. Yielding when there isn't anything else better to do just wastes time in pointless context switches (albeit while the system is idle.)
Description
Description
Details
Details
- Provenance
jhb Authored on - Parents
- rS137267: - Make setting of IT_ENTROPY a bit simpler in ithread_update().
- Branches
- Unknown
- Tags