Thread (41 messages) 41 messages, 5 authors, 2011-08-11

Re: [PATCH 01/13] PM: QoS: rename pm_qos_params files to pm_qos

From: Rafael J. Wysocki <hidden>
Date: 2011-08-02 09:46:10

On Tuesday, August 02, 2011, Jean Pihet wrote:
Rafael,

2011/7/29 Rafael J. Wysocki [off-list ref]:
quoted
On Thursday, July 28, 2011, jean.pihet@newoldbits.com wrote:
quoted
From: Jean Pihet <redacted>

The PM QoS implementation files are better named
kernel/pm_qos.c and include/linux/pm_qos.h.
...
quoted
quoted
 create mode 100644 include/linux/pm_qos.h
 delete mode 100644 include/linux/pm_qos_params.h
That I agree with.
quoted
 create mode 100644 kernel/pm_qos.c
 delete mode 100644 kernel/pm_qos_params.c
As I said, please move that file to kernel/power and call it qos.c.
Ok
quoted
That said the device interface should be located in drivers/base/power
to follow our current conventions.
By device interface I understand the following:
- the user space API (per-device sysfs entry),
- the in-kernel device specific PM QoS API. If needed, cf. comments on
[04/13] about that.

Is that correct?
Yes, it is.

I think that the definitions of the dev_pm_qos_*() funtions mentioned
in there may go into drivers/base/power/qos.c and they can call functions
from kernel/power/qos.c.

Thanks,
Rafael
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help