Re: 2.5.13 IDE and preemptible kernel problems

Alan Cox (alan@lxorguk.ukuu.org.uk)
Mon, 6 May 2002 17:01:02 +0100 (BST)


> > immediately that there is a need for single argument
> > time_past() or whatever and I turn spinlock debugging on :-).
>
> Hmm.. Something like
> #define timeout_expired(x) time_after(jiffies, (x))
>
> migth indeed make sense.

That would be good because in the longer term the elimination of random
references to jiffies is pretty essential to low power devices and for
things like S/390 scaling.

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