diff options
| author | Andy Chiu <tchiu@tenstorrent.com> | 2026-10-05 19:02:55 -0600 |
|---|---|---|
| committer | Paul Walmsley <pjw@kernel.org> | 2026-10-07 20:40:43 -0600 |
| commit | 333485f3e0212acf51aa01c6e50df6b811566e5b (patch) | |
| tree | cc40eb74118510a170eb731893f723b87241b3ed /include/linux/workqueue_api.h | |
| parent | abf33d62127fc11b8df04ea5922801aaf19af0b9 (diff) | |
riscv: vector: refactor context switch for kernel-mode vector
When context switching out a thread in preemptible kernel-mode vector,
there are 2 distinct cases: One is voluntary switch and the other is
trap-introduced switch. We don't need to save vector context for
voluntary switch and the context is always !dirty as long as we clear
the dirty bit at riscv_v_context_nesting_end().
Signed-off-by: Andy Chiu <tchiu@tenstorrent.com>
Link: https://patch.msgid.link/20260918215154.2481482-3-tchiu@tenstorrent.com
Signed-off-by: Paul Walmsley <pjw@kernel.org>
Diffstat (limited to 'include/linux/workqueue_api.h')
0 files changed, 0 insertions, 0 deletions
