Re: [PATCH v1] mm, hugetlb: use pte_present() instead of pmd_present() in follow_huge_pmd()

2017-03-22 Thread Naoya Horiguchi
On Wed, Mar 22, 2017 at 03:39:00PM +0100, Christian Borntraeger wrote: > On 03/22/2017 01:53 PM, Christian Borntraeger wrote: > > On 03/22/2017 03:31 AM, Naoya Horiguchi wrote: > >> I found the race condition which triggers the following bug when > >> move_pages() and soft offline are called on a

Re: [PATCH v1] mm, hugetlb: use pte_present() instead of pmd_present() in follow_huge_pmd()

2017-03-22 Thread Naoya Horiguchi
On Wed, Mar 22, 2017 at 03:39:00PM +0100, Christian Borntraeger wrote: > On 03/22/2017 01:53 PM, Christian Borntraeger wrote: > > On 03/22/2017 03:31 AM, Naoya Horiguchi wrote: > >> I found the race condition which triggers the following bug when > >> move_pages() and soft offline are called on a

Re: [PATCH v1] mm, hugetlb: use pte_present() instead of pmd_present() in follow_huge_pmd()

2017-03-22 Thread Christian Borntraeger
On 03/22/2017 01:53 PM, Christian Borntraeger wrote: > On 03/22/2017 03:31 AM, Naoya Horiguchi wrote: >> I found the race condition which triggers the following bug when >> move_pages() and soft offline are called on a single hugetlb page >> concurrently. >> >> [61163.578957] Soft offlining

Re: [PATCH v1] mm, hugetlb: use pte_present() instead of pmd_present() in follow_huge_pmd()

2017-03-22 Thread Christian Borntraeger
On 03/22/2017 01:53 PM, Christian Borntraeger wrote: > On 03/22/2017 03:31 AM, Naoya Horiguchi wrote: >> I found the race condition which triggers the following bug when >> move_pages() and soft offline are called on a single hugetlb page >> concurrently. >> >> [61163.578957] Soft offlining

Re: [PATCH v1] mm, hugetlb: use pte_present() instead of pmd_present() in follow_huge_pmd()

2017-03-22 Thread Michal Hocko
[CC Mike] On Wed 22-03-17 11:31:38, Naoya Horiguchi wrote: > I found the race condition which triggers the following bug when > move_pages() and soft offline are called on a single hugetlb page > concurrently. > > [61163.578957] Soft offlining page 0x119400 at 0x7000 >

Re: [PATCH v1] mm, hugetlb: use pte_present() instead of pmd_present() in follow_huge_pmd()

2017-03-22 Thread Michal Hocko
[CC Mike] On Wed 22-03-17 11:31:38, Naoya Horiguchi wrote: > I found the race condition which triggers the following bug when > move_pages() and soft offline are called on a single hugetlb page > concurrently. > > [61163.578957] Soft offlining page 0x119400 at 0x7000 >

Re: [PATCH v1] mm, hugetlb: use pte_present() instead of pmd_present() in follow_huge_pmd()

2017-03-22 Thread Christian Borntraeger
On 03/22/2017 03:31 AM, Naoya Horiguchi wrote: > I found the race condition which triggers the following bug when > move_pages() and soft offline are called on a single hugetlb page > concurrently. > > [61163.578957] Soft offlining page 0x119400 at 0x7000 > [61163.580062] BUG:

Re: [PATCH v1] mm, hugetlb: use pte_present() instead of pmd_present() in follow_huge_pmd()

2017-03-22 Thread Christian Borntraeger
On 03/22/2017 03:31 AM, Naoya Horiguchi wrote: > I found the race condition which triggers the following bug when > move_pages() and soft offline are called on a single hugetlb page > concurrently. > > [61163.578957] Soft offlining page 0x119400 at 0x7000 > [61163.580062] BUG:

Re: [PATCH v1] mm, hugetlb: use pte_present() instead of pmd_present() in follow_huge_pmd()

2017-03-21 Thread Hillf Danton
On March 22, 2017 10:32 AM Naoya Horiguchi wrote: > > I found the race condition which triggers the following bug when > move_pages() and soft offline are called on a single hugetlb page > concurrently. > > [61163.578957] Soft offlining page 0x119400 at 0x7000 >

Re: [PATCH v1] mm, hugetlb: use pte_present() instead of pmd_present() in follow_huge_pmd()

2017-03-21 Thread Hillf Danton
On March 22, 2017 10:32 AM Naoya Horiguchi wrote: > > I found the race condition which triggers the following bug when > move_pages() and soft offline are called on a single hugetlb page > concurrently. > > [61163.578957] Soft offlining page 0x119400 at 0x7000 >