Right above the "if (!pmd)" ret is also set to -ENOMEM...
--- mm/vmalloc.c.old Fri Feb 16 22:47:59 2001
+++ mm/vmalloc.c Fri Feb 16 22:48:16 2001
@@ -151,7 +151,6 @@
if (!pmd)
break;
- ret = -ENOMEM;
if (alloc_area_pmd(pmd, address, end - address, gfp_mask,
prot))
break;
--
Francis Galiegue, [email protected] - Normand et fier de l'?tre
"Programming is a race between programmers, who try and make more and more
idiot-proof software, and universe, which produces more and more remarkable
idiots. Until now, universe leads the race" -- R. Cook
On Fri, 16 Feb 2001, Burton Windle wrote:
> Date: Fri, 16 Feb 2001 17:10:27 -0500 (EST)
> From: Burton Windle <[email protected]>
> To: Francis Galiegue <[email protected]>
> Subject: Re: [patchlet] One liner "fix" to mm/vmalloc.c
>
> What kernel is your patch against?
>
>
Oops! Sorry. That's against 2.4.1-ac16.
--
Francis Galiegue, [email protected] - Normand et fier de l'?tre
"Programming is a race between programmers, who try and make more and more
idiot-proof software, and universe, which produces more and more remarkable
idiots. Until now, universe leads the race" -- R. Cook