Re: [PATCH 2/3] powerpc/sysfs: Show idle_purr and idle_spurr for every CPU

From: Naveen N. Rao
Date: Wed Feb 05 2020 - 01:59:04 EST


Gautham R Shenoy wrote:

With repect to lparstat, the read interval is user-specified and just gets
passed onto sleep().

Ok. So I guess currently you will be sending smp_call_function every
time you read a PURR and SPURR. That number will now increase by 2
times when we read idle_purr and idle_spurr.

Yes, not really efficient. I just wanted to point out that we can't have stale data being returned if we choose to add another sysfs file.

We should be able to use any other interface too, if you have a different interface in mind.


- Naveen