linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* Why call calibrate_delay() in smp.c: secondary_start_kernel()
@ 2011-01-18  8:43 Jonas Aaberg
  2011-01-18 10:16 ` Santosh Shilimkar
  0 siblings, 1 reply; 8+ messages in thread
From: Jonas Aaberg @ 2011-01-18  8:43 UTC (permalink / raw)
  To: linux-arm-kernel


Hi,

calibrate_delay() calculates loops_per_jiffy. loops_per_jiffy is not per cpu.
Therefore I wonder why there is a calibrate_delay() call in smp.c: 
secondary_start_kernel()?

If you don't set lpj= it looks like it just takes longer time to boot
and bring a secondary cpu online.

u8500 seems to do fine without the calibrate_delay() call.

Best regards,
 Jonas Aaberg

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

end of thread, other threads:[~2011-01-18 15:30 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-18  8:43 Why call calibrate_delay() in smp.c: secondary_start_kernel() Jonas Aaberg
2011-01-18 10:16 ` Santosh Shilimkar
2011-01-18 11:31   ` Russell King - ARM Linux
2011-01-18 12:12     ` Santosh Shilimkar
2011-01-18 12:16       ` Russell King - ARM Linux
2011-01-18 12:25         ` Santosh Shilimkar
2011-01-18 15:17   ` Linus Walleij
2011-01-18 15:30     ` Santosh Shilimkar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).