RHEL6.2: 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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content