Re: [RFC PATCH] membarrier: riscv: Provide core serializing command
From: Andrea Parri
Date: Mon Aug 07 2023 - 09:19:29 EST
> One more noteworthy detail: if a system call similar to ARM cacheflush(2) is implemented for
> RISC-V, perhaps an iovec ABI (similar to readv(2)/writev(2)) would be relevant to handle
> batching of cache flushing when address ranges are not contiguous. Maybe with a new name
> like "cacheflushv(2)", so eventually other architectures could implement it as well ?
I believe that's a sensible idea. But the RISC-V maintainers can provide
a more reliable feedback.
Andrea