Re: Preemption of the OS system call due to expiration of the time-sl ice for: a) SCHED_NORMAL (aka SCHED_OTHER) b) SCHED_RR

From: Oliver Neukum
Date: Wed Jun 30 2004 - 05:49:56 EST


Am Mittwoch, 30. Juni 2004 11:50 schrieb Povolotsky, Alexander:
> Con - thanks for your kind answers !
>
> Preemption (due to the expiration of the time-slice) of the process, while
> it executes OS system call, - by another process (of equal or higher
> priority) when running under following scheduling policies:
>
> a) SCHED_NORMAL (aka SCHED_OTHER)
> b) SCHED_RR
>
> Is it possible in Linux 2.6 ? Linux 2.4 ?

It is possible if the kernel is compiled with CONFIG_PREEMPT
and the calling task has not blocked it.

HTH
Oliver
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/