Re:A tale of an impossible bug: big.LITTLE and caching
by pm215 on Tuesday September 13, 2016 @06:43AM
(#12486879)
This won't work in the presence of CPU hotplug (which Android uses for power management), because some of the CPUs might not be online when you do it.
The API for "tell me this info" is "read the CTR_EL0 register"; it's a hardware bug that it doesn't do the right thing on this particular chip.
If anything, the OS should have an API to tell you this info in advance.