Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1216940
| From | Borislav Petkov <bp@alien8.de> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 09/15] x86, amd: add accessor for number of cores per compute unit |
| Date | 2015-09-01 18:00 +0200 |
| Message-ID | <q3W8y-2Bi-15@gated-at.bofh.it> (permalink) |
| References | (5 earlier) <q3sNb-2pJ-5@gated-at.bofh.it> <q3zOG-4hj-21@gated-at.bofh.it> <q3zYn-4sz-31@gated-at.bofh.it> <q3EbE-1Wt-19@gated-at.bofh.it> <q3EOm-2Vg-19@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Mon, Aug 31, 2015 at 02:24:08PM -0700, Guenter Roeck wrote:
> That is a matter of driver implementation. Very commonly hwmon drivers
> implement value caching, where data from the device is only read at
> minimum intervals, and the cached values are reported if the information
> is polled too rapidly.
I don't see how we can use cached values in that case as they'd be
basically a lie as to how much power the CU/processor has consumed. I
guess it would be fairer to the user to warn instead and not issue any
values or to simply delay the read to a min timeout...
--
Regards/Gruss,
Boris.
ECO tip #101: Trim your mails when you reply.
--
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: [PATCH 09/15] x86, amd: add accessor for number of cores per compute unit Borislav Petkov <bp@alien8.de> - 2015-08-28 08:50 +0200
Re: [PATCH 09/15] x86, amd: add accessor for number of cores per compute unit Guenter Roeck <linux@roeck-us.net> - 2015-08-28 10:10 +0200
Re: [PATCH 09/15] x86, amd: add accessor for number of cores per compute unit Ingo Molnar <mingo@kernel.org> - 2015-08-28 10:10 +0200
Re: [PATCH 09/15] x86, amd: add accessor for number of cores per compute unit Borislav Petkov <bp@alien8.de> - 2015-08-28 11:00 +0200
Re: [PATCH 09/15] x86, amd: add accessor for number of cores per compute unit Ingo Molnar <mingo@kernel.org> - 2015-08-29 11:20 +0200
Re: [PATCH 09/15] x86, amd: add accessor for number of cores per compute unit Borislav Petkov <bp@alien8.de> - 2015-08-30 18:00 +0200
Re: [PATCH 09/15] x86, amd: add accessor for number of cores per compute unit Peter Zijlstra <peterz@infradead.org> - 2015-08-31 10:40 +0200
Re: [PATCH 09/15] x86, amd: add accessor for number of cores per compute unit Guenter Roeck <linux@roeck-us.net> - 2015-08-31 15:30 +0200
Re: [PATCH 09/15] x86, amd: add accessor for number of cores per compute unit Peter Zijlstra <peterz@infradead.org> - 2015-08-31 15:40 +0200
Re: [PATCH 09/15] x86, amd: add accessor for number of cores per compute unit Guenter Roeck <linux@roeck-us.net> - 2015-08-31 16:00 +0200
Re: [PATCH 09/15] x86, amd: add accessor for number of cores per compute unit Peter Zijlstra <peterz@infradead.org> - 2015-08-31 17:00 +0200
Re: [PATCH 09/15] x86, amd: add accessor for number of cores per compute unit Guenter Roeck <linux@roeck-us.net> - 2015-08-31 17:20 +0200
Re: [PATCH 09/15] x86, amd: add accessor for number of cores per compute unit Borislav Petkov <bp@alien8.de> - 2015-08-31 18:10 +0200
Re: [PATCH 09/15] x86, amd: add accessor for number of cores per compute unit Guenter Roeck <linux@roeck-us.net> - 2015-08-31 18:20 +0200
Re: [PATCH 09/15] x86, amd: add accessor for number of cores per compute unit Peter Zijlstra <peterz@infradead.org> - 2015-08-31 22:50 +0200
Re: [PATCH 09/15] x86, amd: add accessor for number of cores per compute unit Guenter Roeck <linux@roeck-us.net> - 2015-08-31 23:30 +0200
Re: [PATCH 09/15] x86, amd: add accessor for number of cores per compute unit Borislav Petkov <bp@alien8.de> - 2015-09-01 18:00 +0200
Re: [PATCH 09/15] x86, amd: add accessor for number of cores per compute unit Guenter Roeck <linux@roeck-us.net> - 2015-09-01 18:10 +0200
csiph-web