Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Fri, 7 Dec 2001 15:16:08 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Fri, 7 Dec 2001 15:15:59 -0500 Received: from pc1-camc5-0-cust78.cam.cable.ntl.com ([80.4.0.78]:47011 "EHLO amadeus.home.nl") by vger.kernel.org with ESMTP id ; Fri, 7 Dec 2001 15:15:48 -0500 Message-Id: Date: Fri, 7 Dec 2001 20:15:26 +0000 (GMT) From: arjan@fenrus.demon.nl To: Subject: Re: Maximizing brk() space on stock ia32 Linux 2.4.x cc: linux-kernel@vger.kernel.org In-Reply-To: X-Newsgroups: fenrus.linux.kernel User-Agent: tin/1.5.8-20010221 ("Blue Water") (UNIX) (Linux/2.4.3-6.0.1 (i586)) Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org In article you wrote: > Hello, > 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... - 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/