Messages in this thread | | | From | Anup Patel <> | Date | Mon, 19 Aug 2019 20:39:02 +0530 | Subject | Re: [PATCH] RISC-V: Issue a local tlb flush if possible. |
| |
On Mon, Aug 19, 2019 at 8:16 PM hch@infradead.org <hch@infradead.org> wrote: > > On Thu, Aug 15, 2019 at 08:37:04PM +0000, Atish Patra wrote: > > We get ton of them. Here is the stack dump. > > Looks like we might not need to flush anything at all here as the > mm_struct was never scheduled to run on any cpu?
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.
Regards, Anup
| |