lkml.org 
[lkml]   [2002]   [Feb]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch][rfc] enable uptime display > 497 days on 32 bit
On Tue, 26 Feb 2002, Andreas Dilger wrote:
> I'm
> not quite sure why we need to use the irq spinlock, since we already
> make a local copy of jiffies so another timer IRQ changing the jiffies
> value shouldn't affect the return value of get_jiffies64(). Then again,
> that isn't exactly stuff I'm familiar with, so I could be totally
> off-base here.

Indeed, the outcome of get_jiffies64() cannot be affected. The lock is
just to prevent the tiny chance of jiffies_hi getting incremented twice.

Tim

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

\
 
 \ /
  Last update: 2005-03-22 13:24    [W:0.067 / U:0.828 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site