Re: [PATCH] 2.5: don't miss a preemption
Hugh Dickins (hugh@veritas.com)
Mon, 15 Apr 2002 21:50:12 +0100 (BST)
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/