Its not needed. Linux already gives up the CPU if you return from a system
call and your timeslice has expired. The timer code sets
current->need_resched=1
The syscall return path checks it
Alan
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/