x86: CPA fix pagetable split
authorThomas Gleixner <tglx@linutronix.de>
Mon, 4 Feb 2008 15:48:08 +0000 (16:48 +0100)
committerIngo Molnar <mingo@elte.hu>
Mon, 4 Feb 2008 15:48:08 +0000 (16:48 +0100)
commit07cf89c05f2bbafa002401ac4e09ac31678513e4
tree24c5beac69602ed5f1cc8f34e1660be821048847
parent31422c51e0dc72532d82e80895932d430c3ed307
x86: CPA fix pagetable split

Move the readout of the large entry into the spinlock section to
prevent an unlikely but possible race.

Mark the pmd/pud entry present after the split. We preserved the
non present bit in the new split mapping.

Remove the stale gfp_flags double initialization.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/mm/pageattr.c