Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S263529AbTEIWID (ORCPT ); Fri, 9 May 2003 18:08:03 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S263535AbTEIWID (ORCPT ); Fri, 9 May 2003 18:08:03 -0400 Received: from cpe-24-221-190-179.ca.sprintbbd.net ([24.221.190.179]:38292 "EHLO myware.akkadia.org") by vger.kernel.org with ESMTP id S263529AbTEIWIB (ORCPT ); Fri, 9 May 2003 18:08:01 -0400 Message-ID: <3EBC29AD.5050203@redhat.com> Date: Fri, 09 May 2003 15:20:29 -0700 From: Ulrich Drepper Organization: Red Hat, Inc. User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4b) Gecko/20030506 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "H. Peter Anvin" CC: linux-kernel@vger.kernel.org Subject: Re: hammer: MAP_32BIT References: <3EBB5A44.7070704@redhat.com> <20030509092026.GA11012@averell> <16059.37067.925423.998433@gargle.gargle.HOWL> <20030509113845.GA4586@averell> <3EBC0084.4090809@redhat.com> <3EBC15B5.4070604@zytor.com> <3EBC2164.6050605@redhat.com> <3EBC26BF.2080709@zytor.com> In-Reply-To: <3EBC26BF.2080709@zytor.com> X-Enigmail-Version: 0.75.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1142 Lines: 30 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 H. Peter Anvin wrote: > On the other > hand, how big of a performance issue is it really to call mmap() again > in the failure scenario *only*? Just look at the code, it's very expensive. In the moment the mmap code has to sequentially look at the VMAs in question. If it fails it means it walked the entire data structure without success. Ingo's patch does not address this, it just makes successful allocation usually fast again. - -- - --------------. ,-. 444 Castro Street Ulrich Drepper \ ,-----------------' \ Mountain View, CA 94041 USA Red Hat `--' drepper at redhat.com `--------------------------- -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE+vCmt2ijCOnn/RHQRAsUeAJ9gGIwIK+QKpSz15YDEaB5aISBwowCgjReV WSvgiDRcLX5bpla/Agikmj0= =NSIn -----END PGP SIGNATURE----- - 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/