[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190822081153.GC17573@lst.de>
Date: Thu, 22 Aug 2019 10:11:53 +0200
From: Christoph Hellwig <hch@....de>
To: Atish Patra <atish.patra@....com>
Cc: linux-kernel@...r.kernel.org, Albert Ou <aou@...s.berkeley.edu>,
linux-riscv@...ts.infradead.org,
Palmer Dabbelt <palmer@...ive.com>,
Paul Walmsley <paul.walmsley@...ive.com>,
Christoph Hellwig <hch@....de>, Anup Patel <Anup.Patel@....com>
Subject: Re: [PATCH v4 3/3] RISC-V: Issue a tlb page flush if possible
On Thu, Aug 22, 2019 at 12:51:51AM -0700, Atish Patra wrote:
> If tlbflush request is for page only, there is no need to do a
> complete local tlb shootdown.
>
> Just do a local tlb flush for the given address.
Looks good, although I suspect in many cases even doing multiple
single-page sfence.vma calls might be cheaper than the global one.
But I think that is worth a Ń•eparate discussion, preferably with actual
numbers.
Reviewed-by: Christoph Hellwig <hch@....de>
Powered by blists - more mailing lists