Skip to contentSkip to conversation

"bad pmd" when using huge pages

x86_64 Kin Cho 1 participant 1 message Dec 7, 2010

lore
Share & tools
lore

Kin Cho

author
#0 lore raw

Hi,

With a stock 2.6.32-8 kernel (with minor patches) configured for x86_64 and using huge pages, I'm seeing dmesg output like this:

mm/memory.c:144: bad pmd ffff880117bb6128(00000002cca000e7).

At this point one huge page is apparently "leaked" -- h->free_huge_pages in gather_surplus_pages is 1 less, until rebooted.

When this happens, the system is moderately loaded (~70% idle).

Also, if processes (bdb) holding shared (huge) pages are not restarted, or when configured for x86, the problem doesn't appear.

Looking at the pmd flags, the problem appears to be related to the _PAGE_PSE bit incorrectly getting set.

Any suggestions/comments is appreciated.

Thanks,

-kin