Re: [PATCH v6 4/7] mm: refactoring TLB gathering API

2017-08-13 Thread Minchan Kim
On Fri, Aug 11, 2017 at 10:12:45AM -0700, Nadav Amit wrote: > Peter Zijlstra wrote: > > > On Tue, Aug 01, 2017 at 05:08:15PM -0700, Nadav Amit wrote: > >> From: Minchan Kim > >> > >> This patch is a preparatory patch for solving race problems caused by

Re: [PATCH v6 4/7] mm: refactoring TLB gathering API

2017-08-11 Thread Nadav Amit
Peter Zijlstra wrote: > On Tue, Aug 01, 2017 at 05:08:15PM -0700, Nadav Amit wrote: >> From: Minchan Kim >> >> This patch is a preparatory patch for solving race problems caused by >> TLB batch. For that, we will increase/decrease TLB flush pending

Re: [PATCH v6 4/7] mm: refactoring TLB gathering API

2017-08-11 Thread Peter Zijlstra
On Tue, Aug 01, 2017 at 05:08:15PM -0700, Nadav Amit wrote: > From: Minchan Kim > > This patch is a preparatory patch for solving race problems caused by > TLB batch. For that, we will increase/decrease TLB flush pending count > of mm_struct whenever tlb_[gather|finish]_mmu