panic "kernel BUG at mm/huge_memory.c:1384!" (mapcount 0 page_mapcount 1)

Solution Verified - Updated -

Issue

A panic "kernel BUG at mm/huge_memory.c:1384!" can occur on systems where multithreaded applications are utilizing the madvise() system call. The panic is preceded by the console message "mapcount 0 page_mapcount 1". This issue has been observed on KVM hosts because the qemu-kvm processes (which provide the execution environment for KVM guests) are utilizing madvise() in connection with ballooning. However, this issue is not limited to KVM hosts.

Environment

  • Red Hat Enterprise Linux 6.2
  • x86_64
  • Transparent Huge Pages are enabled

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.