aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/tasks.py
diff options
context:
space:
mode:
authorJisheng Zhang <[email protected]>2021-05-12 22:55:45 +0800
committerPalmer Dabbelt <[email protected]>2021-05-25 22:56:57 -0700
commit37a7a2a10ec525a79d733008bc7fe4ebbca34382 (patch)
treec4d7257ecfe7a54eec0286b274de15ae56eb68a7 /scripts/gdb/linux/tasks.py
parent8237c5243a614d33fe339bc844f90aa2b393c2a8 (diff)
riscv: Turn has_fpu into a static key if FPU=y
The has_fpu check sits at hot code path: switch_to(). Currently, has_fpu is a bool variable if FPU=y, switch_to() checks it each time, we can optimize out this check by turning the has_fpu into a static key. Signed-off-by: Jisheng Zhang <[email protected]> Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions