Re: [PATCH 1/3] [kidled]: introduce kidled.

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Salman Qazi
Date: Wednesday, April 14, 2010 - 8:41 am

On Wed, Apr 14, 2010 at 2:49 AM, Andi Kleen <andi@firstfloor.org> wrote:

To capture all the quantities for a CPU atomically, they must be read
on the CPU.  Basically, reading them on that CPU prevents them from
changing as we read them.

Also, if the CPU is idle (injected or otherwise), the quantities won't
get updated.


It should be infrequent.  The idle cycle injector does all the hard
work.  These interfaces are for monitoring.



I will look at it one more time to see if there is something else that
can be done.

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 1/3] [kidled]: introduce kidled., Salman, (Tue Apr 13, 5:08 pm)
[PATCH 2/3] [kidled]: Add eager injection., Salman, (Tue Apr 13, 5:08 pm)
Re: [PATCH 1/3] [kidled]: introduce kidled., Andi Kleen, (Wed Apr 14, 2:49 am)
Re: [PATCH 1/3] [kidled]: introduce kidled., Salman Qazi, (Wed Apr 14, 8:41 am)
Re: [PATCH 1/3] [kidled]: introduce kidled., Peter Zijlstra, (Thu Apr 15, 12:46 am)
Re: [PATCH 0/3] [idled]: Idle Cycle Injector for power capping, Arjan van de Ven, (Sat Apr 17, 10:57 am)
Re: [PATCH 0/3] [idled]: Idle Cycle Injector for power capping, Vaidyanathan Srinivasan, (Mon Apr 19, 9:50 pm)
Re: [PATCH 0/3] [idled]: Idle Cycle Injector for power capping, Vaidyanathan Srinivasan, (Mon Apr 19, 10:00 pm)
Re: [PATCH 0/3] [idled]: Idle Cycle Injector for power capping, Arjan van de Ven, (Tue Apr 20, 10:08 pm)
Re: [PATCH 0/3] [idled]: Idle Cycle Injector for power capping, Vaidyanathan Srinivasan, (Thu Apr 22, 12:02 pm)