Re: [PATCH 2/3] mm/memory.c: Update local TLB if PTE entry exists

2020-05-16 Thread maobibo
On 05/16/2020 04:40 AM, Andrew Morton wrote: > On Fri, 15 May 2020 12:10:08 +0800 Bibo Mao wrote: > >> If there are two threads hitting page fault at the same page, >> one thread updates PTE entry and local TLB, the other can >> update local tlb also, rather than give up and do page fault >> a

Re: [PATCH 2/3] mm/memory.c: Update local TLB if PTE entry exists

2020-05-15 Thread Andrew Morton
On Fri, 15 May 2020 12:10:08 +0800 Bibo Mao wrote: > If there are two threads hitting page fault at the same page, > one thread updates PTE entry and local TLB, the other can > update local tlb also, rather than give up and do page fault > again. > > ... > > --- a/mm/memory.c > +++ b/mm/memory.c