Re: [PATCH] fix potential jiffies overflow

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>>>>> On Thu, 2 Mar 2006 19:48:41 -0800, Andrew Morton <[email protected]> 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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux