Re: breakage: flex mmap patch for x86-64

From: Rafael J. Wysocki
Date: Sat Nov 06 2004 - 04:54:13 EST


On Saturday 06 of November 2004 10:12, Andi Kleen wrote:
> > static inline int mmap_is_legacy(void)
> > {
> > + if (test_thread_flag(TIF_IA32))
> > + return 1;
>
> That's definitely not the right fix because for 32bit you need flexmmap
> more than for 64bit because it gives you more address space.

So let's call it temporary, but I like 32-bit apps having less address space
rather than segfaulting.

Greets,
RJW

--
- Would you tell me, please, which way I ought to go from here?
- That depends a good deal on where you want to get to.
-- Lewis Carroll "Alice's Adventures in Wonderland"
-
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/