From: "Kirill A. Shutemov" <kirill.shutemov@xxxxxxxxxxxxxxx> Hi Jiri, Sorry for late answer. It took time to reproduce and debug the issue. Could you test two patches below by thread. I expect it to fix both issues: put_huge_zero_page() and Bad rss-counter state. Kirill A. Shutemov (2): thp: fix anononymous page accounting in fallback path for COW of HZP thp: avoid race on multiple parallel page faults to the same page mm/huge_memory.c | 30 +++++++++++++++++++++++++----- 1 file changed, 25 insertions(+), 5 deletions(-) -- 1.7.11.7 -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>