CS433 Linux Kernel Programming
Homework 7 on Scheduling Kernel Threads
In this homework, you will trace the life cycle of kernel threads by following creation and switching. Print the time, thread numbers, and names before and after creation and switch. There are two places you need to look: kernel_thread() and schedule().
There will be many switches and try to limit the number of switches to, say 100, using a global switch counter.