2007/4/15, Devon H. O'Dell <[EMAIL PROTECTED]>:
p->mach is a pointer back to a machine structure. I'm assuming this
only gets set when a process is being run. I suppose this test is here
in case another CPU took over running the process.

Though, this can't be the case, because m->readied isn't locked when
we come in here, and if we're running MP, wouldn't it be possible
(though unlikely) that another CPU takes the process between the
assignment and the test? Especially if running heavily threaded
applications on MP systems?

--dho

Reply via email to