diff options
author | Dave Hansen <[email protected]> | 2015-06-07 11:37:02 -0700 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2015-06-09 12:24:30 +0200 |
commit | 46a6e0cf1c6665a8e867d8f7798d7a3538633f03 (patch) | |
tree | 85b142ed094594330ee5e170fc92463d432e9097 /tools/perf/scripts/python | |
parent | a84eeaa96b36a03188e1423349669c108d3a4bd7 (diff) |
x86/mpx: Clean up the code by not passing a task pointer around when unnecessary
The MPX code can only work on the current task. You can not,
for instance, enable MPX management in another process or
thread. You can also not handle a fault for another process or
thread.
Despite this, we pass a task_struct around prolifically. This
patch removes all of the task struct passing for code paths
where the code can not deal with another task (which turns out
to be all of them).
This has no functional changes. It's just a cleanup.
Signed-off-by: Dave Hansen <[email protected]>
Reviewed-by: Thomas Gleixner <[email protected]>
Cc: Andrew Morton <[email protected]>
Cc: Dave Hansen <[email protected]>
Cc: H. Peter Anvin <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Oleg Nesterov <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions