lkml.org 
[lkml]   [2019]   [Aug]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] RISC-V: Issue a local tlb flush if possible.
On Mon, Aug 19, 2019 at 08:39:02PM +0530, Anup Patel wrote:
> If we were using ASID then yes we don't need to flush anything
> but currently we don't use ASID due to lack of HW support and
> HW can certainly do speculatively page table walks so flushing
> local TLB when MM mask is empty might help.
>
> This just my theory and we need to stress test more.

Well, when we context switch away from a mm we always flush the
local tlb. So either the mm_struct has never been scheduled in,
or we alrady did a local_tlb_flush and we context switched it up.

\
 
 \ /
  Last update: 2019-08-19 17:10    [W:1.974 / U:0.004 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site