Re: It hurts when I shoot myself in the foot

Alan Cox (alan@lxorguk.ukuu.org.uk)
Fri, 24 May 2002 19:44:13 +0100 (BST)


> > You can solve it by disabling pre-emption (and given its questionable
> > value doing so permanently might not be a bad idea).
>
> Questionable value of what? TSC or preemption?

Pre-emption

> I wouldn't want to disable preemption during udelays.
> Either I would disable and enable preemption on every
> pass through the loop. Or I would just manually check

You've already made it too expensive too bother with

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