Devfreq Simple On Demand Governor

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

 



Hi Ham,

I was looking at the simple on demand governor's code and have got few queries:
- In the code below to check for overflow, why 24 and 7  has been taken? 
        /* Prevent overflow */
        if (stat.busy_time >= (1 << 24) || stat.total_time >= (1 << 24)) {
                stat.busy_time >>= 7;
                stat.total_time >>= 7;
        }

- Also for maximum frequency UINT_MAX is returned which may not be suited for some devices.

- One more query, whats the unit (usecs, nsecs etc) used for busy and load time. Has it got nothing to do with units
and its mere the percentage of busy time?

- If we want to use simple on demand governor then do we need to modify yours to suit our needs? I mean you have
just provided a framework?

Thanks,
Satendra
_______________________________________________
linux-pm mailing list
linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linuxfoundation.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