--- ./mm/memory.c.fix 2004-02-04 20:48:15.000000000 +0100 +++ ./mm/memory.c 2004-02-14 17:59:42.000000000 +0100 @@ -1250,7 +1250,7 @@ mark_page_accessed(page); pte_chain = pte_chain_alloc(GFP_KERNEL); if (!pte_chain) { - ret = -ENOMEM; + ret = VM_FAULT_OOM; goto out; } lock_page(page);