diff options
author | Borislav Petkov <[email protected]> | 2012-06-20 16:17:51 +0200 |
---|---|---|
committer | H. Peter Anvin <[email protected]> | 2012-08-22 16:15:41 -0700 |
commit | 685ca6d797af9d41164dd64dd60145d4946fc152 (patch) | |
tree | b6a867ea37b5f9c03c3819570243ccb34c97ef62 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | e7e632f5ba240fbc313c49ed6559681ea57534e9 (diff) |
x86, microcode, AMD: Check before applying a patch
Make sure we're actually applying a microcode patch to a core which
really needs it.
This brings only a very very very minor slowdown on F10:
0.032218828 sec vs 0.056010626 sec with this patch.
And small speedup on F15:
0.487089449 sec vs 0.180551162 sec (from perf output).
Also, fixup comments while at it.
Signed-off-by: Borislav Petkov <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: H. Peter Anvin <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions