x86: fix bad pmd ffff810000207xxx(9090909090909090)
authorHugh Dickins <hugh@veritas.com>
Thu, 5 Jun 2008 14:09:02 +0000 (15:09 +0100)
committerChris Wright <chrisw@sous-sol.org>
Mon, 9 Jun 2008 18:27:06 +0000 (11:27 -0700)
commitfd22beb45137e0920e34b03f9067c59a16350669
treea2e1ea9a28c0eeeba748e73e4b2f05d17c9b11f9
parent8dbac2301d9dae0646f7b87e62f8cdee9a6e208b
x86: fix bad pmd ffff810000207xxx(9090909090909090)

upstream commit: 2884f110d5409714f3a04eeb6d2ecd77da66b242

OGAWA Hirofumi and Fede have reported rare pmd_ERROR messages:
mm/memory.c:127: bad pmd ffff810000207xxx(9090909090909090).

Initialization's cleanup_highmap was leaving alignment filler
behind in the pmd for MODULES_VADDR: when vmalloc's guard page
would occupy a new page table, it's not allocated, and then
module unload's vfree hits the bad 9090 pmd entry left over.

Signed-off-by: Hugh Dickins <hugh@veritas.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Hugh notes:

 It's actually not a serious problem, but it does look as if it's a
 serious problem, so we should stamp it out.

Signed-off-by: Chris Wright <chrisw@sous-sol.org>
arch/x86/mm/init_64.c