diff options
| author | Samuel Holland <[email protected]> | 2024-03-26 21:49:46 -0700 |
|---|---|---|
| committer | Palmer Dabbelt <[email protected]> | 2024-04-29 10:49:28 -0700 |
| commit | 9546f00410ed88b8117388cfd74ea59f4616a158 (patch) | |
| tree | 1c0d8fc79fd666a1caf2c7a501ffef7d16a6354d /rust/kernel/workqueue.rs | |
| parent | 038ac18aae935c89c874649acde5a82f588a12b4 (diff) | |
riscv: Only send remote fences when some other CPU is online
If no other CPU is online, a local cache or TLB flush is sufficient.
These checks can be constant-folded when SMP is disabled.
Signed-off-by: Samuel Holland <[email protected]>
Reviewed-by: Alexandre Ghiti <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'rust/kernel/workqueue.rs')
0 files changed, 0 insertions, 0 deletions