Andrew Morton wrote:
It all depends on what we mean by "per-cpu state". If we were to remember
that "CPU 7 needs 0x1234 in register 44" then that would be wrong. But
remembering some high-level functional thing like "CPU 7 needs to run the
NMI watchdog" is fine. The CPU bringup code can work out whether that is
possible, and how to do it.
But all the performance counter stuff is very model-specific. I don't
think there's any abstraction which would allow us to say "CPU 7 is
measuring branch misprediction stalls in pipeline 2" in any way other
than "needs 0x1234 in register 44".
J
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]