Re: [PATCH 1/4] mm/hwpoison: fix traverse hugetlbfs page to avoid printk flood

2013-09-02 Thread Naoya Horiguchi
On Mon, Sep 02, 2013 at 08:33:41PM +0800, Wanpeng Li wrote: > madvise_hwpoison won't check if the page is small page or huge page and > traverse > in small page granularity against the range unconditional, which result in a > printk > flood "MCE xxx: already hardware poisoned" if the page is

[PATCH 1/4] mm/hwpoison: fix traverse hugetlbfs page to avoid printk flood

2013-09-02 Thread Wanpeng Li
madvise_hwpoison won't check if the page is small page or huge page and traverse in small page granularity against the range unconditional, which result in a printk flood "MCE xxx: already hardware poisoned" if the page is huge page. This patch fix it by increase

[PATCH 1/4] mm/hwpoison: fix traverse hugetlbfs page to avoid printk flood

2013-09-02 Thread Wanpeng Li
madvise_hwpoison won't check if the page is small page or huge page and traverse in small page granularity against the range unconditional, which result in a printk flood MCE xxx: already hardware poisoned if the page is huge page. This patch fix it by increase

Re: [PATCH 1/4] mm/hwpoison: fix traverse hugetlbfs page to avoid printk flood

2013-09-02 Thread Naoya Horiguchi
On Mon, Sep 02, 2013 at 08:33:41PM +0800, Wanpeng Li wrote: madvise_hwpoison won't check if the page is small page or huge page and traverse in small page granularity against the range unconditional, which result in a printk flood MCE xxx: already hardware poisoned if the page is huge