lkml.org 
[lkml]   [2009]   [Dec]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject[PATCH]PM_QOS-to-use-handle-based-requests 0/5
This is a 5 patch series against linux-next-20091204 that changes pm_qos
to use a handle based access model for the kernel api. The string
based model was shown to be slow if pm_qos parameters are updated on hot
code paths.

Most of the design changes where motivated by a patch
aili@codeaurora.org sent me, and I spent some time cleaning up the API.

Also, I couldn't resist myself in renaming the API's a bit given 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 against linux-next-20091204 :
drivers/acpi/processor_idle.c | 2
drivers/cpuidle/governors/ladder.c | 2
drivers/cpuidle/governors/menu.c | 2
drivers/net/e1000e/netdev.c | 22 ++-
drivers/net/igbvf/netdev.c | 6 -
drivers/net/wireless/ipw2x00/ipw2100.c | 11 +
include/linux/netdevice.h | 4
include/linux/pm_qos_params.h | 14 +-
include/sound/pcm.h | 3
kernel/pm_qos_params.c | 188 ++++++++++++++-------------------
net/mac80211/mlme.c | 2
sound/core/pcm.c | 3
sound/core/pcm_native.c | 14 +-
13 files changed, 132 insertions(+), 141 deletions(-)

--mgross



\
 
 \ /
  Last update: 2009-12-07 18:07    [W:1.221 / U:0.372 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site