Re: [PATCH] fix potential jiffies overflow

From: Atsushi Nemoto
Date: Thu Mar 02 2006 - 23:37:29 EST


>>>>> On Thu, 2 Mar 2006 19:48:41 -0800, Andrew Morton <akpm@xxxxxxxx> said:
>> Well, jiffies will lose 49.7 days... Then, how about this? We can
>> sleep 136 years.

akpm> but...

akpm> wall_jiffies += sleep_length;

akpm> wall_jiffies is 32-bit.

Yes ... and I think wall_jiffies can be removed completely (with
update_times() cleanup). Of course it should not be 2.6.16 material.

---
Atsushi Nemoto
-
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/