2005-04-18 16:37:19

by Zou, Nanhai

[permalink] [raw]
Subject: RE: [discuss] [Patch] X86_64 TASK_SIZE cleanup


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:[email protected]]
> Sent: Monday, April 18, 2005 5:06 PM
> To: Zou, Nanhai
> Cc: [email protected]; Andi Kleen; [email protected];
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