diff options
author | Andy Lutomirski <[email protected]> | 2016-05-10 09:18:46 -0700 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2016-05-20 09:10:03 +0200 |
commit | d696ca016d579d43fc043f28ba656d9305fba651 (patch) | |
tree | 8ad4ce52e4aaa359b08784126b66f6ea2190b834 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 06cd3d8c14bdd06f49f1c6a06acf219749c5598e (diff) |
x86/fsgsbase/64: Use TASK_SIZE_MAX for FSBASE/GSBASE upper limits
The GSBASE upper limit exists to prevent user code from confusing
the paranoid idtentry path. The FSBASE upper limit is just for
consistency. There's no need to enforce a smaller limit for 32-bit
tasks.
Just use TASK_SIZE_MAX. This simplifies the logic and will save a
few bytes of code.
Signed-off-by: Andy Lutomirski <[email protected]>
Cc: Andy Lutomirski <[email protected]>
Cc: Borislav Petkov <[email protected]>
Cc: Brian Gerst <[email protected]>
Cc: Denys Vlasenko <[email protected]>
Cc: H. Peter Anvin <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Link: http://lkml.kernel.org/r/5357f2fe0f103eabf005773b70722451eab09a89.1462897104.git.luto@kernel.org
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions