diff options
author | Alex Shi <[email protected]> | 2012-12-18 12:22:14 -0800 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2013-01-24 15:58:54 +0100 |
commit | 57c4f43043f89e18e0a386e096e57457f11f668b (patch) | |
tree | 7154b108a55a3d5c8bd4a23e230845040491b25e /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 444723dccc3c855fe88ea138cdec46f30e707b74 (diff) |
arch/x86/platform/uv: Fix incorrect tlb flush all issue
The flush tlb optimization code has logical issue on UV
platform. It doesn't flush the full range at all, since it
simply ignores its 'end' parameter (and hence also the "all"
indicator) in uv_flush_tlb_others() function.
Cliff's notes:
| I tested the patch on a UV. It has the effect of either
| clearing 1 or all TLBs in a cpu. I added some debugging to
| test for the cases when clearing all TLBs is overkill, and in
| practice it happens very seldom.
Reported-by: Jan Beulich <[email protected]>
Signed-off-by: Alex Shi <[email protected]>
Signed-off-by: Cliff Wickman <[email protected]>
Tested-by: Cliff Wickman <[email protected]>
Cc: "H. Peter Anvin" <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions