> I could make it yield if anything else is runnable (I already check for
> this, but just to panic). I suppose if I just set p->static_prio to
> MAX_PRIO-1, this thread that would give me only very few activations
> while other processes are runnable ?
so you really want to run every time there's idle time, but you also want
to sleep until the event that causes some other thread to run, right?
Ingo
-
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/