All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [PATCH *] use 64 bit jiffies
@ 2003-02-04 17:37 Randy.Dunlap
  2003-02-16  1:37 ` [PATCH] make jiffies wrap 5 min after boot Tim Schmielau
  0 siblings, 1 reply; 12+ messages in thread
From: Randy.Dunlap @ 2003-02-04 17:37 UTC (permalink / raw)
  To: Denis Vlasenko; +Cc: Matti Aarnio, Tim Schmielau, lkml

On Tue, 4 Feb 2003, Denis Vlasenko wrote:

| On 3 February 2003 10:28, Matti Aarnio wrote:
| >
| > You don't need to have 64-bit jiffy for things like internal
| > timers, nor for uptime tracking.
| >
| > Timers have well behaving constructs to use 32-bit jiffy quite
| > successfully, and 64-bit values, especially atomicish, in 32-bit
| > register-poor machines (i386) are damn difficult.
| >
| > I do have a number of machines with 100 to 300 day uptimes, all
| > with "mere" 32-bit jiffy.  With 1000 Hz clock that means at least
| > one full wrap-around of jiffy.
|
| Your processes will show strange start times, CPU times etc.
| This will happen in 2.5 pretty soon (after 50 days uptime).
|
| However, this is a bit cosmetic. There is a much more serious problem:
|
| 		Jiffy Wrap Bugs
|
| There were reports of machines hanging on jiffy wrap.
| This is typically a result of incorrect jiffy use in some driver.
| Ask Tim - he is hunting those problems regularly, but he is outnumbered
| by buggy driver authors. :(
|
| There is a better solution to ensure correct jiffy wrap handling in
| *ALL* kernel code: make jiffy wrap in first five minutes of uptime.
| Tim has a patch for such config option. This is almost right.
| This MUST NOT be a config option, it MUST be mandatory in every
| kernel. Driver writers would be bitten by their own bugs and will
| fix it themself. Tim, what do you think?

I like it too.  We should take advantage of easy-to-force/find/fix
problems like this.

-- 
~Randy


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2003-02-16 11:55 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <Pine.LNX.4.33L2.0302040935230.6174-100000@dragon.pdx.osdl.net.suse.lists.linux.kernel>
     [not found] ` <Pine.LNX.4.33.0302160232120.7975-100000@gans.physik3.uni-rostock.de.suse.lists.linux.kernel>
     [not found]   ` <20030216020808.GF9833@krispykreme.suse.lists.linux.kernel>
2003-02-16  6:36     ` [PATCH] make jiffies wrap 5 min after boot Andi Kleen
2003-02-16  6:56       ` Andrew Morton
2003-02-16  7:00         ` Andi Kleen
2003-02-16  8:10         ` Tim Schmielau
2003-02-04 17:37 [PATCH *] use 64 bit jiffies Randy.Dunlap
2003-02-16  1:37 ` [PATCH] make jiffies wrap 5 min after boot Tim Schmielau
2003-02-16  2:08   ` Anton Blanchard
2003-02-16  2:43     ` William Lee Irwin III
2003-02-16  2:50       ` Michael Vergoz
2003-02-16  6:37       ` Robert Love
2003-02-16  7:16         ` Muli Ben-Yehuda
2003-02-16 11:50           ` Falk Hueffner
2003-02-16 12:04             ` William Lee Irwin III

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.