Messages in this thread | | | Date | Sun, 17 Aug 2003 19:46:02 +0100 | From | Jamie Lokier <> | Subject | Re: Scheduler activations (IIRC) question |
| |
Mike Galbraith wrote: > ...once the shadow task is enqueued and runnable, there's nothing to > prevent the worker thread from exhausting it's slice before it can put it's > shadow back to sleep.
This is why the shadow needs to check whether the active task is runnable when the shadow returns from FUTEX_WAIT. Reading /proc/pid/stat alas, but hey that's what we have.
-- Jamie - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |