Messages in this thread | | | Date | Tue, 25 May 2021 14:28:09 +0200 | From | Christoph Hellwig <> | Subject | Re: [PATCH V3 1/2] riscv: Fixup _PAGE_GLOBAL in _PAGE_KERNEL |
| |
On Tue, May 25, 2021 at 12:24:06PM +0000, guoren@kernel.org wrote: > From: Guo Ren <guoren@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@linux.alibaba.com> > Reviewed-by: Anup Patel <anup@brainfault.org> > Cc: Palmer Dabbelt <palmerdabbelt@google.com>
Otherwise looks good,
Reviewed-by: Christoph Hellwig <hch@lst.de>
| |