Re: [RFC PATCH] membarrier: riscv: Provide core serializing command

Andrea Parri
2023-08-07T13:19:29Z

> 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