Re: [PATCH] mm: numa: disable change protection for vma(VM_HUGETLB)

2015-04-01 Thread Naoya Horiguchi
On Tue, Mar 31, 2015 at 02:35:21PM -0700, Andrew Morton wrote: > On Tue, 31 Mar 2015 01:45:55 + Naoya Horiguchi > wrote: > > > Currently when a process accesses to hugetlb range protected with PROTNONE, > > unexpected COWs are triggered, which finally put hugetlb subsystem into > > broken/un

Re: [PATCH] mm: numa: disable change protection for vma(VM_HUGETLB)

2015-03-31 Thread Andrew Morton
On Tue, 31 Mar 2015 01:45:55 + Naoya Horiguchi wrote: > Currently when a process accesses to hugetlb range protected with PROTNONE, > unexpected COWs are triggered, which finally put hugetlb subsystem into > broken/uncontrollable state, where for example h->resv_huge_pages is > subtracted >

[PATCH] mm: numa: disable change protection for vma(VM_HUGETLB)

2015-03-30 Thread Naoya Horiguchi
ggestion. It passed my testing. Thanks, Naoya Horiguchi --- From: Naoya Horiguchi Subject: [PATCH] mm: numa: disable change protection for vma(VM_HUGETLB) Currently when a process accesses to hugetlb range protected with PROTNONE, unexpected COWs are triggered, which finally put hugetlb subsystem into