LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* pm_idle generic register/unregister
@ 2008-03-11  7:02 Jon Masters
  0 siblings, 0 replies; only message in thread
From: Jon Masters @ 2008-03-11  7:02 UTC (permalink / raw)
  To: Linux Kernel Mailing List

Yo,

I'm working on a patch (needed for the Real Time tree) to cleanup use of
the pm_idle pointer, something each architecture defines and optionally
calls from within the CPU idle loop, if it's defined. The problem is
that there's a classical bug (which has existed for quite some time)
whenever a function providing that pointer is unloaded from under it.

So, I'm proposing an ordered list of pm_idle functions with a
register/unregister function to ensure safe access. Anyway, before I
post that, does anyone have a good reason for why things are as they are
currently in the kernel with respect to the pm_idle stuff? Cruftiness?

Jon.



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-03-11  7:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-03-11  7:02 pm_idle generic register/unregister Jon Masters

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).