[PATCH]PM_QOS-to-use-handle-based-requests-API-change 1/5

From: mark gross
Date: Tue Dec 01 2009 - 16:29:14 EST


This is the first in a 5 part series that attempts to update PM_QOS to
use handles instead of named strings in its kernel api. It seams that
some folks are using pm_qos on hot paths and the overhead of the list
walks and string compares is a problem.

Most of the changes came from aili@xxxxxxxxxxxxxx, and I spent some time
cleaning up the API.

Also, I couldn't resist myself in renaming the API's a bit give the fact
that the signatures changed enough that I had to touch all the pm_qos
users anyway. I changed *requirement* to *request* in keeping with the
way PM_QOS really only does best effort. I've felt "requirement" is too
strong a word for the way it works.

If folks would rather me do the function re-naming in a separate patch
set we can do that too.

diffstat for the series:
drivers/acpi/processor_idle.c | 2
drivers/cpuidle/governors/ladder.c | 2
drivers/cpuidle/governors/menu.c | 2
drivers/net/e1000e/netdev.c | 13 +-
drivers/net/igbvf/netdev.c | 5
drivers/net/wireless/ipw2x00/ipw2100.c | 11 +
include/linux/pm_qos_params.h | 14 +-
include/sound/pcm.h | 3
kernel/pm_qos_params.c | 183
++++++++++++++-------------------
net/mac80211/mlme.c | 2
sound/core/pcm.c | 3
sound/core/pcm_native.c | 14 +-
12 files changed, 116 insertions(+), 138 deletions(-)

--mgross

Signed-off-by: mark gross <mgross@xxxxxxxxxxxxxxx>