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

Andrea Parri parri.andrea at gmail.com
Mon Aug 7 06:19:18 PDT 2023


> 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



More information about the linux-riscv mailing list