Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S268593AbUI2P1y (ORCPT ); Wed, 29 Sep 2004 11:27:54 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S268535AbUI2P1r (ORCPT ); Wed, 29 Sep 2004 11:27:47 -0400 Received: from clock-tower.bc.nu ([81.2.110.250]:12938 "EHLO localhost.localdomain") by vger.kernel.org with ESMTP id S268662AbUI2P1V (ORCPT ); Wed, 29 Sep 2004 11:27:21 -0400 Subject: Re: heap-stack-gap for 2.6 From: Alan Cox To: Andrea Arcangeli Cc: Arjan van de Ven , Linux Kernel Mailing List , Andrew Morton In-Reply-To: <20040929141151.GJ4084@dualathlon.random> References: <20040925162252.GN3309@dualathlon.random> <1096272553.6572.3.camel@laptop.fenrus.com> <20040927130919.GE28865@dualathlon.random> <20040928194351.GC5037@devserv.devel.redhat.com> <20040928221933.GG4084@dualathlon.random> <20040929060521.GA6975@devserv.devel.redhat.com> <20040929141151.GJ4084@dualathlon.random> Content-Type: text/plain Content-Transfer-Encoding: 7bit Message-Id: <1096467886.15905.33.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 (1.4.6-2) Date: Wed, 29 Sep 2004 15:24:46 +0100 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 666 Lines: 20 On Mer, 2004-09-29 at 15:11, Andrea Arcangeli wrote: > > MAP_FIXED is to be used only on things YOU mmaped before. > > where is that written? MAP_FIXED is for very very special cases only. You can't combine MAP_FIXED with glibc for example because the memory allocators may clash with it. You can use it to map over an existing object but that is about it. As the man page says "Use of this option is discouraged." - 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/