RE: [discuss] [Patch] X86_64 TASK_SIZE cleanup

From: Zou, Nanhai
Date: Mon Apr 18 2005 - 11:39:02 EST



When a 32bit program is mapping a lot of hugepage vm_areas,
hugetlb_get_unmapped_area may search beyond 4G, then the program will
get a SIGFAULT instead of an errno of ENOMEM.
This patch will fix that.
I believe there are other inconsistent cases in generic code like mm and
fs.

Zou Nan hai

> -----Original Message-----
> From: Andi Kleen [mailto:ak@xxxxxxx]
> Sent: Monday, April 18, 2005 5:06 PM
> To: Zou, Nanhai
> Cc: discuss@xxxxxxxxxx; Andi Kleen; linux-kernel@xxxxxxxxxxxxxxx;
Siddha,
> Suresh B
> Subject: Re: [discuss] [Patch] X86_64 TASK_SIZE cleanup
>
> On Sat, Apr 16, 2005 at 09:34:25AM +0800, Zou, Nanhai wrote:
> >
> > Hi,
> > This patch will clean up the X86_64 compatibility mode TASK_SIZE
> > define thus fix some bugs found in X86_64 compatibility mode
program.
>
> Fix what bugs exactly? Please a detailed description.
>
> -Andi
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/