Re: Maximizing brk() space on stock ia32 Linux 2.4.x

Wayne Whitney (whitney@math.berkeley.edu)
Fri, 7 Dec 2001 12:22:35 -0800 (PST)


On Fri, 7 Dec 2001 arjan@fenrus.demon.nl wrote:

> In article <Pine.LNX.4.33.0112071128500.440-100000@mf1.private> you wrote:
>
> > Given the limitation of running under a stock ia32 Linux 2.4.x kernel
> > (e.g. TASK_UNMAPPED_BASE = 0x40000000 and __PAGE_OFFSET = 0xC0000000), how
> > can one write a program in a way to maximize the address space available
> > for brk()? For example:
>
> Try using the "hoard" preload library for malloc()
> Does wonders...

I'm sure it does wonders for malloc(), but I'm talking about programs that
use sbrk()/brk(), for whatever reason. :-) I suppose I could try reading
the source and documentation for "hoard" to see what it does.

Thanks, Wayne

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/