All of lore.kernel.org
 help / color / mirror / Atom feed
* early_cpu_init() and identify_cpu()
@ 2007-07-13 16:16 Jan Beulich
  2007-07-13 16:26 ` Keir Fraser
  0 siblings, 1 reply; 18+ messages in thread
From: Jan Beulich @ 2007-07-13 16:16 UTC (permalink / raw)
  To: xen-devel

Is there any reason (other than having things inherited this way from Linux) that
we cannot call identify_cpu() for the boot CPU at the end of early_cpu_init()
rather than explicitly from __start_xen()? And if not, it would seem reasonable
to me to at once move the two CR4 twiddling pieces out of __start_xen, too.

(I'm not asking because I want to beautify the code, but because I want the
identify to happen earlier, namely I want to fully set up the VESA console as
early as possible, but there I'd like to be able to set MTRRs, which in turn
depends on identify_cpu() having executed.

Thanks, Jan

^ permalink raw reply	[flat|nested] 18+ messages in thread
* Re: early_cpu_init() and identify_cpu()
@ 2007-07-16  8:18 Jan Beulich
  2007-07-17  7:50 ` Keir Fraser
  0 siblings, 1 reply; 18+ messages in thread
From: Jan Beulich @ 2007-07-16  8:18 UTC (permalink / raw)
  To: Keir Fraser, xen-devel

>How much faster is scrolling of WC framebuffer on your test system?

That's a win of about 30%, and using movsq in memcpy() is another win of
about 50%. Will probably create a vidmemmove()...

Jan

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

end of thread, other threads:[~2007-07-17 10:23 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-13 16:16 early_cpu_init() and identify_cpu() Jan Beulich
2007-07-13 16:26 ` Keir Fraser
2007-07-16  6:14   ` Jan Beulich
2007-07-16  6:25     ` Keir Fraser
2007-07-16  6:41       ` Jan Beulich
2007-07-16  6:57         ` Keir Fraser
2007-07-16  7:01           ` Keir Fraser
2007-07-16  7:31             ` Jan Beulich
2007-07-16  7:30           ` Jan Beulich
2007-07-16  9:23     ` Alan Cox
2007-07-17  7:55       ` Keir Fraser
2007-07-17 10:00         ` Jan Beulich
2007-07-17 10:15           ` Keir Fraser
2007-07-17 10:23             ` Keir Fraser
  -- strict thread matches above, loose matches on Subject: below --
2007-07-16  8:18 Jan Beulich
2007-07-17  7:50 ` Keir Fraser
2007-07-17  9:58   ` Jan Beulich
2007-07-17 10:05     ` Keir Fraser

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.