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 > >> TLB batch. For that, we will increas

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 count >> of mm_struct whenever tlb_[gather|fi

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 is called. > > Befor

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

2017-08-02 Thread Nadav Amit
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 is called. Before making it simple, this patch separates architecture specific part and re