Uninterruptible Sleep ???

From: ashish gupta (ashish407@yahoo.com)
Date: Tue Aug 29 2000 - 16:35:11 EST

        Before calling get_pid the state of child
is set to TASK_UNINTERRUPTIBLE and after get_pid
it is changed to TASK_RUNNNING.Why ?? Is it possbile
that a process may leave the CPU during get_pid?
        Can any body tell me how linux is ensuring that
scheduling can not happen when a process is executing
in a system call and timer interrupt has occured.

Please do a CC to me also.
Thanks in advance

Do You Yahoo!?
Yahoo! Mail - Free email you can access from anywhere!
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

This archive was generated by hypermail 2b29 : Thu Aug 31 2000 - 21:00:24 EST