Re: atomic copy_from_user?
From: Rob Love
Date: Mon Dec 22 2003 - 17:19:24 EST
On Mon, 2003-12-22 at 17:06, Joe Korty wrote:
> If this is done then preempt_enable_no_resched() and preempt_enable() also
> need to be adjusted, as they both call dec_preempt_count().
True.
In that case, and because dec_preempt_count() is our base interface, I
think we should leave it alone and go back to your original idea
(explicitly call preempt_check_resched()).
Rob Love
-
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/