public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
* [Linux-ia64] cpu_halt() question
@ 2003-01-14  8:34 Christian Hildner
  2003-01-14 15:36 ` Alex Williamson
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Christian Hildner @ 2003-01-14  8:34 UTC (permalink / raw)
  To: linux-ia64

Hi,

cpu_halt (in process.c) calls ia64_pal_halt_info() every time when it is
called. I assume that cpu_halt is called often and pal_halt_info will
never change for a specific PAL/processor. Why not call
ia64_pal_halt_info() once at setup time and save the min_power_state in
a global variable? This would save power (important when Itanium
notebooks are coming) and (if you are lucky) increases performance if
time needed by the two PAL calls is bigger then the time needed by the
external resource to finish.

Additionally a loop including nops instead of the ia64_pal_halt call
could bring a acceleration of the response of an external interruption
(depending on interrupt handling in PAL).

Opinions?

Christian



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

end of thread, other threads:[~2003-01-15  8:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-01-14  8:34 [Linux-ia64] cpu_halt() question Christian Hildner
2003-01-14 15:36 ` Alex Williamson
2003-01-14 22:18 ` Seth, Rohit
2003-01-15  8:47 ` Christian Hildner

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