[PATCH 0/3] PM / QoS / Domains: Fixes and optimization, take 2

From: Rafael J. Wysocki
Date: Sat Apr 28 2012 - 21:10:46 EST


Hi all,

On Friday, April 27, 2012, Rafael J. Wysocki wrote:
>
> This series is on top of the PM domains governor functions fixup patches
> posted recently:
>
> http://marc.info/?l=linux-pm&m=133538218801804&w=4
> http://marc.info/?l=linux-pm&m=133538220601826&w=4
> http://marc.info/?l=linux-pm&m=133538218801805&w=4
>
> Patch [1/2] is a fix that I think should be applied anyway. Patch [2/2],
> though, is an RFC. It is a bit subtle, although perhaps that's not immediately
> visible at first sight. Patch [2/2] hasn't been tested yet, but I have
> verified that it builds.

As it has happened to me for a couple of times recently, unfortunately,
I found a couple of issues with patch [2/2].

Most importantly, I forgot about the adaptive adjustments of device and domain
latency numbers, which obviously had to be taken into consideration in that
patch. Also, it turned out during testig that there was a locking issue
in pm_genpd_remove_device() that wasn't very easy to address. In the end,
I had to use an additional patch to help that, which is the current [2/3].

So, [1/3] is the previous [1/2] (with the Mark's ACK). [2/3] is a new patch,
which is a pm_genpd_remove_device() cleanup that may be regarded as a fix too
and [3/3] is the one that makes the default PM domain governors cache their
results if possible (that's even more subtle than before, but hopefully
I didn't break anything this time).

Thanks,
Rafael

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/