Linux MIPS Architecture development
 help / color / mirror / Atom feed
* CONFIG_PRINTK_TIME and initial value for jiffies?
@ 2006-05-15 20:41 Clem Taylor
  2006-05-15 21:11 ` Sergei Shtylyov
  0 siblings, 1 reply; 6+ messages in thread
From: Clem Taylor @ 2006-05-15 20:41 UTC (permalink / raw)
  To: linux-mips

I just switched to 2.6.16.16 from 2.6.14 on a Au1550. I enabled
CONFIG_PRINTK_TIME, and for some reason jiffies doesn't start out near
zero like it does on x86. The first printk() always seems to have a
time of 4284667.296000.

jiffies_64 and wall_jiffies gets initialized to INITIAL_JIFFIES, but
I'm not sure where jiffies is initialized. INITIAL_JIFFIES is -300*HZ
(with some weird casting)

The first line on the 2.6.16.16 Au1550 box is:
[4294667.296000] Linux version 2.6.16.16 (ctaylor@gort) (gcc version
4.1.0) #4 Mon May 15 13:06:37 EDT 2006

The first line on a 2.6.16 x86_64 box is:
[    0.000000] Bootdata ok (command line is ro root=/dev/md0)
[    0.000000] Linux version 2.6.16 (ctaylor@klaatu) (gcc version
4.1.0 20060420 (Red Hat 4.1.0-9)) #3 SMP PREEMPT Sat Apr 29 03:36:06
EDT 2006

Shouldn't the first printk() have a time at or very near zero?

                                    --Clem

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

end of thread, other threads:[~2006-05-22 16:27 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-15 20:41 CONFIG_PRINTK_TIME and initial value for jiffies? Clem Taylor
2006-05-15 21:11 ` Sergei Shtylyov
2006-05-15 21:35   ` Sergei Shtylyov
2006-05-16  6:03     ` Herbert Valerio Riedel
2006-05-16 12:35       ` Sergei Shtylyov
2006-05-22 16:27         ` Tim Bird

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox