Re: [PATCH] mm: hugetlbfs: Skip shared VMAs when unmapping private pages to satisfy a fault

2015-09-23 Thread Naoya Horiguchi
On Tue, Sep 22, 2015 at 04:49:38PM +0100, Mel Gorman wrote: > On Tue, Sep 22, 2015 at 01:31:51PM +0100, Mel Gorman wrote: > > SunDong reported the following on > > https://bugzilla.kernel.org/show_bug.cgi?id=103841 > > > > Michal Hocko correctly pointed out privately that this should have > chec

Re: [PATCH] mm: hugetlbfs: Skip shared VMAs when unmapping private pages to satisfy a fault

2015-09-22 Thread Michal Hocko
On Tue 22-09-15 16:49:38, Mel Gorman wrote: [...] > mm: hugetlbfs: Skip shared VMAs when unmapping private pages to satisfy a > fault > > SunDong reported the following on > https://bugzilla.kernel.org/show_bug.cgi?id=103841 > > I think I find a linux bug, I have the test cases is constru

Re: [PATCH] mm: hugetlbfs: Skip shared VMAs when unmapping private pages to satisfy a fault

2015-09-22 Thread Mel Gorman
On Tue, Sep 22, 2015 at 01:31:51PM +0100, Mel Gorman wrote: > SunDong reported the following on > https://bugzilla.kernel.org/show_bug.cgi?id=103841 > Michal Hocko correctly pointed out privately that this should have checked VM_MAYSHARE for the reasons outlined in commit f83a275dbc5c ("mm: acco

[PATCH] mm: hugetlbfs: Skip shared VMAs when unmapping private pages to satisfy a fault

2015-09-22 Thread Mel Gorman
SunDong reported the following on https://bugzilla.kernel.org/show_bug.cgi?id=103841 I think I find a linux bug, I have the test cases is constructed. I can stable recurring problems in fedora22(4.0.4) kernel version, arch for x86_64. I construct transparent huge page, wh