Re: [PATCH v2] add time_now_after and other macros which comparewith jiffies

From: Alan Cox
Date: Sun Mar 09 2008 - 16:17:08 EST


> a) the existing macros are (I believe) a right royal pita. It's very
> hard to remember which order the args are supposed to be in.

Its operator(first, second) - the C++ infix operators aren't available in
C so there isn't much choice.

Really we should be trying to stamp out all these uses of jiffies tests
so that we can make tickless work ever better.

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