diff options
author | Peter Zijlstra <[email protected]> | 2019-10-09 12:26:53 +0200 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2019-11-27 07:44:24 +0100 |
commit | 4531ef6a8aaf132aa32e2e26670c652942540633 (patch) | |
tree | d9e7587dd1027cd0472bb61d78c409f5bc279b76 /scripts/gdb/linux/timerlist.py | |
parent | 97e6c977ccf128c3f34d6084ad53fc0021f90e03 (diff) |
x86/alternative: Shrink text_poke_loc
Employ the fact that all text must be within a s32 displacement of one
another to shrink the text_poke_loc::addr field. Make it relative to
_stext.
This then shrinks struct text_poke_loc to 16 bytes, and consequently
increases TP_VEC_MAX from 170 to 256.
Tested-by: Alexei Starovoitov <[email protected]>
Tested-by: Steven Rostedt (VMware) <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Acked-by: Alexei Starovoitov <[email protected]>
Cc: Andy Lutomirski <[email protected]>
Cc: Borislav Petkov <[email protected]>
Cc: H. Peter Anvin <[email protected]>
Cc: Josh Poimboeuf <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/timerlist.py')
0 files changed, 0 insertions, 0 deletions