Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Fri, 7 Dec 2001 15:23:08 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Fri, 7 Dec 2001 15:22:58 -0500 Received: from shimura.Math.Berkeley.EDU ([169.229.58.53]:12692 "EHLO shimura.math.berkeley.edu") by vger.kernel.org with ESMTP id ; Fri, 7 Dec 2001 15:22:46 -0500 Date: Fri, 7 Dec 2001 12:22:35 -0800 (PST) From: Wayne Whitney Reply-To: To: cc: LKML Subject: Re: Maximizing brk() space on stock ia32 Linux 2.4.x In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 7 Dec 2001 arjan@fenrus.demon.nl wrote: > In article 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/