pdflush: use time_after() instead of open-coding it