Re: [RFC][PATCH 01/11] asm-generic/tlb: Provide a comment
From: Peter Zijlstra
Date: Thu Sep 13 2018 - 08:40:00 EST
On Thu, Sep 13, 2018 at 02:18:27PM +0200, Martin Schwidefsky wrote:
> We may get something working with a common code mmu_gather, but I fear the
> day someone makes a "minor" change to that subtly break s390. The debugging of
> TLB related problems is just horrible..
Yes it is, not just on s390 :/
And this is not something that's easy to write sanity checks for either
AFAIK. I mean we can do a few multi-threaded mmap()/mprotect()/munmap()
proglets and catch faults, but that doesn't even get close to covering
all the 'fun' spots.
Then again, you're more than welcome to the new:
MMU GATHER AND TLB INVALIDATION
section in MAINTAINERS.