Re: mm,tlb: revert 4647706ebeee?

2018-07-09 Thread Nicholas Piggin
On Mon, 9 Jul 2018 17:13:56 -0700 Andrew Morton wrote: > On Sun, 8 Jul 2018 01:25:38 +1000 Nicholas Piggin wrote: > > > On Fri, 06 Jul 2018 13:03:55 -0400 > > Rik van Riel wrote: > > > > > Hello, > > > > > > It looks like last summer, there were 2 sets of patches > > > in flight to fix the

Re: mm,tlb: revert 4647706ebeee?

2018-07-09 Thread Andrew Morton
On Sun, 8 Jul 2018 01:25:38 +1000 Nicholas Piggin wrote: > On Fri, 06 Jul 2018 13:03:55 -0400 > Rik van Riel wrote: > > > Hello, > > > > It looks like last summer, there were 2 sets of patches > > in flight to fix the issue of simultaneous mprotect/madvise > > calls unmapping PTEs, and some pa

Re: mm,tlb: revert 4647706ebeee?

2018-07-07 Thread Nicholas Piggin
On Fri, 06 Jul 2018 13:03:55 -0400 Rik van Riel wrote: > Hello, > > It looks like last summer, there were 2 sets of patches > in flight to fix the issue of simultaneous mprotect/madvise > calls unmapping PTEs, and some pages not being flushed from > the TLB before returning to userspace. > > Mi

mm,tlb: revert 4647706ebeee?

2018-07-06 Thread Rik van Riel
Hello, It looks like last summer, there were 2 sets of patches in flight to fix the issue of simultaneous mprotect/madvise calls unmapping PTEs, and some pages not being flushed from the TLB before returning to userspace. Minchan posted these patches: 56236a59556c ("mm: refactor TLB gathering API