Re: [PATCH] 2.5: don't miss a preemption

From: Hugh Dickins (hugh@veritas.com)
Date: Mon Apr 15 2002 - 15:50:12 EST


On 15 Apr 2002, Robert Love wrote:
>
> This patch checks for need_resched in preempt_schedule after setting
> preempt_count back to zero, before returning. The overhead is
> negligible and it is crucial to never miss a preemption opportunity.

I'm curious: why is it crucial to never miss a preemption opportunity?

Hugh

-
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/



This archive was generated by hypermail 2b29 : Mon Apr 15 2002 - 22:00:25 EST