Re: [PATCH]lscpu: Read available CPUs max and min frequencies

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

 



Thanks for reviewing,


On 04/17/2017 02:30 PM, Rüdiger Meier wrote:
On 04/17/2017 10:30 AM, Mamatha Inamdar wrote:
Problem: On power syatems "lscpu frequency-info" command was always
reading CPU0 max and min frequencies. If CPU0 is guarded or offline
then it used to display max and min frequencies as NULL.

Solution: This patch will check for the available/online CPUs
and read the max/min frequencies of that CPU

Maybe we could do it even more generically, not letting the first lookup win but really using the minimum/maximum over *all* CPUs. Who knows, maybe different cores could have different min/max.

ok..sure..let me check on this.


cu,
Rudi


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



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

  Powered by Linux