Messages in this thread | | | Subject | Re: [PATCH] RISC-V: only flush icache when it has VM_EXEC set | From | patchwork-bot+linux-riscv@kernel ... | Date | Wed, 10 Apr 2024 14:10:29 +0000 |
| |
Hello:
This patch was applied to riscv/linux.git (for-next) by Palmer Dabbelt <palmer@rivosinc.com>:
On Wed, 10 Jan 2024 02:48:59 +0800 you wrote: > As I-Cache flush on current RISC-V needs to send IPIs to every CPU cores > in the system is very costly, limiting flush_icache_mm to be called only > when vma->vm_flags has VM_EXEC can help minimize the frequency of these > operations. It improves performance and reduces disturbances when > copy_from_user_page is needed such as profiling with perf. > > For I-D coherence concerns, it will not fail if such a page adds VM_EXEC > flags in the future since we have checked it in the __set_pte_at function. > > [...]
Here is the summary with links: - RISC-V: only flush icache when it has VM_EXEC set https://git.kernel.org/riscv/c/542124fc0d5c
You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html
| |