Re: Dumb question about Voluntary Kernel Preemption Patch

From: Arjan van de Ven
Date: Thu Jul 15 2004 - 14:54:06 EST



> My question is this: Do your reschedule points (might_sleep or whatever
> you end up using) ALWAYS reschedule, or do they only reschedule after a
> certain period of time (timer interrupt increments counter, and
> reschedule point does nothing if it's too early)?

they only reschedule when there is a higher priority task is waiting to
be run. In all other cases the current code just keeps running.

Attachment: signature.asc
Description: This is a digitally signed message part