Re: linux-2.6.1 x86_64 : STACK_TOP and text/data

From: Andi Kleen
Date: Tue Jan 27 2004 - 14:33:21 EST


On Tue, 27 Jan 2004 19:57:23 +0100
dada1 <dada1@xxxxxxxxxxxxx> wrote:

> Andi Kleen wrote:
>
> > STACK_TOP is only for 32bit a.out executables running on x86-64
> >
> >ELF 32bit and 64bit programs use different defaults.
> >
> >-Andi
> >
> >
> >
> >
> Hi Andi
>
> I'm afraid not Andi

You're right. Thanks for reporting this. This seems to be a 2.6
specific bug, it didn't happen in 2.4.

I will fix it. It should definitely use PAGE_OFFSET for 64bit
processes and 4GB for !3GB 32bit processes.

-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/