On Sat, Feb 11, 2012 at 04:21:25PM +0200, Alexander Motin wrote:
> At this moment I am using different penalty coefficients for SMT and
> shared caches (for unrelated processes sharing is is not good). No
> problem to add more types there. Separate flag for shared FPU could be
> used to have different penalty coefficients for usual threads and
> FPU-less kernel threads.
It is very easy to record the fact of FPU access during the quantum on
the context switch-out. So you can at least distinguish numeric code.
This can be useful for bulldozer-like machines, if we ever want to
optimize for FPU on them.