[PATCH] x86: don't ever allocate PTEs from lowmem

From: Vegard Nossum
Date: Mon Apr 21 2008 - 14:57:53 EST


Hi,

This is needed for the kernel to boot properly without OOMing if PSE is
not present or disabled for some reason. It is the fix that you proposed for
the kmemcheck OOM-on-boot case. It would also be possible to check the PSE
feature before deciding where to allocate from, but I don't think it really
matters.

Looks ok?

(And yes, this DOES fix the OOM for me. :-D)


Vegard