aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorArd Biesheuvel <[email protected]>2021-02-03 12:36:18 +0100
committerWill Deacon <[email protected]>2021-02-03 20:48:02 +0000
commitd13c613f136c9090f3863c49b2306d57ab59feba (patch)
tree1460b7bd70176eefcf74869c55d31e15908e4535 /tools/perf/scripts/python/export-to-postgresql.py
parent5c8fe583cce542aa0b84adc939ce85293de36e5e (diff)
arm64: assembler: add cond_yield macro
Add a macro cond_yield that branches to a specified label when called if the TIF_NEED_RESCHED flag is set and decreasing the preempt count would make the task preemptible again, resulting in a schedule to occur. This can be used by kernel mode SIMD code that keeps a lot of state in SIMD registers, which would make chunking the input in order to perform the cond_resched() check from C code disproportionately costly. Signed-off-by: Ard Biesheuvel <[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