A message for Linux.com registered users: We are in the process of making changes to the Linux forums. Starting Monday, 8/13/18 at 6:00 PM PT, you will be unable to access the forums. They will re-launch as soon as possible on Wednesday, 8/15/18 with new features and improved functionality. Thank you for your patience and stay tuned for the new improved forums.
Local Linux Scheduling
I am trying to change the scheduling algorithm so that if a thread finished executing, the scheduler will pick up a thread belonging to the same process. This is known as fair scheduling.
I have implemented my own logic my return the task_struct point from the pick_next_task in core.c but it keeps generating a kernel panic.
I have been struggling with that for more than 20 hours and no success.
Can anyone please point me to articles, tutorials, or advice that will help me in this implementation ?