[PATCH V3 1/2] riscv: Fixup _PAGE_GLOBAL in _PAGE_KERNEL
Christoph Hellwig
hch at lst.de
Tue May 25 05:28:09 PDT 2021
On Tue, May 25, 2021 at 12:24:06PM +0000, guoren at kernel.org wrote:
> From: Guo Ren <guoren at linux.alibaba.com>
>
> Kernel virtual address translation should avoid care asid or it'll
s/care aisd/to use ASIDs/ ?
> cause more TLB-miss and TLB-refill. Because the current asid in satp
s/asid/ASID/ ?
> belongs to the current process, but the target kernel va TLB entry's
> asid still belongs to the previous process.
>
> Signed-off-by: Guo Ren <guoren at linux.alibaba.com>
> Reviewed-by: Anup Patel <anup at brainfault.org>
> Cc: Palmer Dabbelt <palmerdabbelt at google.com>
Otherwise looks good,
Reviewed-by: Christoph Hellwig <hch at lst.de>
More information about the linux-riscv
mailing list