[PATCH]PM_QOS-to-use-handle-based-requests 0/5

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxx 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

_______________________________________________
linux-pm mailing list
linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linux-foundation.org/mailman/listinfo/linux-pm

[Index of Archives]     [Linux ACPI]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [CPU Freq]     [Kernel Newbies]     [Fedora Kernel]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux