diff options
author | Ard Biesheuvel <[email protected]> | 2024-01-11 12:24:48 +0100 |
---|---|---|
committer | Will Deacon <[email protected]> | 2024-01-12 12:48:27 +0000 |
commit | 3931261ecf46151a5e779c96fb3da00677b6dc37 (patch) | |
tree | a66aef908d4546b826c5f63fe461283f0018932a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 8c5a19cb17a71e52303150335b459c7d2d28a155 (diff) |
arm64: fpsimd: Bring cond_yield asm macro in line with new rules
We no longer disable softirqs or preemption when doing kernel mode SIMD,
and so for fully preemptible kernels, there is no longer a need to do any
explicit yielding (and for non-preemptible kernels, yielding is not
needed either).
That leaves voluntary preemption, where only explicit yield calls may
result in a reschedule. To retain the existing behavior for such a
configuration, we should take the new situation into account, where the
preempt count will be zero rather than one, and yielding to pending
softirqs is unnecessary.
Fixes: aefbab8e77eb ("arm64: fpsimd: Preserve/restore kernel mode NEON at context switch")
Signed-off-by: Ard Biesheuvel <[email protected]>
Reviewed-by: Mark Brown <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions