diff options
author | Linus Torvalds <[email protected]> | 2010-02-05 16:16:50 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2010-02-06 13:00:37 -0800 |
commit | 6f5a55f1a6c5abee15a0e878e5c74d9f1569b8b0 (patch) | |
tree | 2b5304a71a3b2ef2f0665e4e2d9262c6c6918848 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py | |
parent | 9d9c3a51e7b20dcd63b8cc534035af99a41d03e4 (diff) |
Fix potential crash with sys_move_pages
We incorrectly depended on the 'node_state/node_isset()' functions
testing the node range, rather than checking it explicitly. That's not
reliable, even if it might often happen to work. So do the proper
explicit test.
Reported-by: Marcus Meissner <[email protected]>
Acked-and-tested-by: Brice Goglin <[email protected]>
Acked-by: Hugh Dickins <[email protected]>
Cc: [email protected]
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions