diff options
| author | Andy Lutomirski <[email protected]> | 2015-03-18 18:33:30 -0700 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2015-03-23 11:13:41 +0100 |
| commit | 383f3af3f88aadafe1fcf1948987ad538683fb8c (patch) | |
| tree | 026e66b686487ce83da463d2f2e6183e6ec20520 /tools/perf/scripts/python | |
| parent | a67e7277d01ccfd39b0db5a198c2643cc19dd79c (diff) | |
x86/asm/entry, perf: Explicitly optimize vm86 handling in code_segment_base()
There's no point in checking the VM bit on 64-bit, and, since
we're explicitly checking it, we can use user_mode_ignore_vm86()
after the check.
While we're at it, rearrange the #ifdef slightly to make the code
flow a bit clearer.
Signed-off-by: Andy Lutomirski <[email protected]>
Cc: Borislav Petkov <[email protected]>
Cc: Brad Spengler <[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/dc1457a734feccd03a19bb3538a7648582f57cdd.1426728647.git.luto@kernel.org
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions