Messages in this thread | | | Date | Tue, 27 Dec 2005 09:54:45 -0500 | From | Ben Collins <> | Subject | Re: something about jiffies wraparound overflow |
| |
On Tue, 2005-12-27 at 12:46 +0800, jeff shia wrote: > 1.why the macros of time_after can solve the jiffies wraparound problem?
Basically it assumes that the two values you are comparing will never be more than MAX_ULONG/2 apart. Which for jiffies means 270 some odd days on 32-bit platforms.
-- Ben Collins <ben.collins@ubuntu.com> Developer Ubuntu Linux
- 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/
| |