Re: [PATCH] x86_64: dynamic MCE poll interval

From: Andi Kleen
Date: Fri Apr 27 2007 - 15:28:32 EST


> - printk(KERN_INFO "Machine check events logged\n");
> + if ((now - last_print) >= check_interval*HZ) {

Shouldn't this use time_after() to handle wrapping?

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