Re: [PATCH 3/3] mm:fix gup_pud_range

2019-09-20 Thread Qiujun Huang
On Sat, Sep 21, 2019 at 9:19 AM John Hubbard wrote: > > On 9/20/19 5:33 PM, Qiujun Huang wrote: > >> On 9/20/19 8:51 AM, Qiujun Huang wrote: > ... > >> It would be nice if this spelled out a little more clearly what's > >> wrong. I think you and Aneesh are saying that the entry is really > >> a

Re: [PATCH 3/3] mm:fix gup_pud_range

2019-09-20 Thread Qiujun Huang
>On 9/20/19 8:51 AM, Qiujun Huang wrote: >> __get_user_pages_fast try to walk the page table but the >> hugepage pte is replace by hwpoison swap entry by mca path. > >I expect you mean MCE (machine check exception), rather than mca? Yeah > >> ... >> [15798.177437] mce: Uncorrected hardware memory

Re: [PATCH 3/3] mm:fix gup_pud_range

2019-09-20 Thread John Hubbard
On 9/20/19 8:51 AM, Qiujun Huang wrote: > __get_user_pages_fast try to walk the page table but the > hugepage pte is replace by hwpoison swap entry by mca path. I expect you mean MCE (machine check exception), rather than mca? > ... > [15798.177437] mce: Uncorrected hardware memory error in >

Re: [PATCH 3/3] mm:fix gup_pud_range

2019-09-20 Thread Aneesh Kumar K.V
On 9/20/19 9:21 PM, Qiujun Huang wrote: __get_user_pages_fast try to walk the page table but the hugepage pte is replace by hwpoison swap entry by mca path. ... Can you describe this in more details. I guess you are facing the issue with respect PUD level PTE entry that got updated by

[PATCH 3/3] mm:fix gup_pud_range

2019-09-20 Thread Qiujun Huang
__get_user_pages_fast try to walk the page table but the hugepage pte is replace by hwpoison swap entry by mca path. ... [15798.177437] mce: Uncorrected hardware memory error in user-access at 224f1761c0 [15798.180171] MCE 0x224f176: Killing pal_main:6784 due to