[PATCH v3 8/8] mm/hwpoison: fix memory failure still hold reference count after unpoison empty zero page

2013-08-25 Thread Wanpeng Li
madvise hwpoison inject will poison the read-only empty zero page if there is no write access before poison. Empty zero page reference count will be increased for hwpoison, subsequent poison zero page will return directly since page has already been set PG_hwpoison, however, page reference

[PATCH v3 8/8] mm/hwpoison: fix memory failure still hold reference count after unpoison empty zero page

2013-08-25 Thread Wanpeng Li
madvise hwpoison inject will poison the read-only empty zero page if there is no write access before poison. Empty zero page reference count will be increased for hwpoison, subsequent poison zero page will return directly since page has already been set PG_hwpoison, however, page reference