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

adjusting timeslice in sched.c of linux kernel



I am trying to simple change the timeslice variable in the PCB block of a process found in the typedef struct task_t by implementing a system call.
Are there any race conditions or reasons I should synchronize this variable before I alter this timeslice? Are there any reasons it would fail?


thanks

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/