[PATCH] implement flush_cache_vmap and flush_cache_vunmap for RISC-V
Christoph Hellwig
hch at infradead.org
Thu Apr 1 07:37:07 BST 2021
On Mon, Mar 29, 2021 at 01:55:09AM +0000, Jiuyang Liu wrote:
> +/*
> + * flush_cache_vmap and flush_cache_vunmap might modify PTE, needs SFENCE.VMA.
> + * - flush_cache_vmap is invoked after map_kernel_range() has installed the page table entries.
> + * - flush_cache_vunmap is invoked before unmap_kernel_range() deletes the page table entries
> + */
Please never ever write comments > 80 chars. And please read the
coding style document.
More information about the linux-riscv
mailing list