Debian 2.4.24 Adding list of task_struct's to user_struct
I am currently working on a project for an Operating Systems class that requires modifying the scheduler in Debian 2.4.24. Currently the algorithm that I have devised requires that each user has a list of tasks (processes) that are associated with it. Each task_struct currently has a pointer to a user_struct and I am assuming that this means that each task knows the user it is associated with. What would be the most efficient way to creating a list of processes in the user_struct?