|
From: derkling m. <der...@gm...> - 2007-07-16 08:41:33
|
While doing some hacks on DynamicPower and I've notices that it miss support for a thread-related dpmstate definition. If I look within /proc/PID/task/TID I can't find a "dpmstate" query file, and thus I'm unable to set this param for a single thread. We could define only the dpmstate for a thread leader process and than all spawned threads will inherit that value. It should be of interest to have such a feature: this will allow intra-process optimizations. Is there any reason for that implementation choice? Do you think it should be possible and interesting to have a thread-specific dpmstate definition. Thanks for any clue. Patrick |