From owner-freebsd-hackers@FreeBSD.ORG Sat Sep 13 05:28:05 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C4B1E106566C for ; Sat, 13 Sep 2008 05:28:05 +0000 (UTC) (envelope-from artemb@gmail.com) Received: from ik-out-1112.google.com (ik-out-1112.google.com [66.249.90.177]) by mx1.freebsd.org (Postfix) with ESMTP id 068638FC25 for ; Sat, 13 Sep 2008 05:28:04 +0000 (UTC) (envelope-from artemb@gmail.com) Received: by ik-out-1112.google.com with SMTP id c29so1001722ika.3 for ; Fri, 12 Sep 2008 22:28:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender :to:subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references :x-google-sender-auth; bh=4zriJweGWF3lFW1BW5nds3J56XOV1tO82VMfFhH/5us=; b=sZnymKneK7BvzXFeB55m7bUkEv/GDRAfWw+mS3HXVx4NQLnD8qYFtfTmrXha+qlBzw uJd7a5vvWPJxD6pktD4PLJ6pYOMEttHQCPYzb2Q1xra+oFPjkpcZaFq97pJaCt+tI/Di U9fbCVkDjB4g+Vvd8QUJLxZyECn9ZnxrJZe2k= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references:x-google-sender-auth; b=eGK+O4H1cBklhoSSP6OX0Zn9eYYUOMh/seCcqLk8gZlJzDly/4OXEbO5Tnr86TIsQK M8Sk+jB/+CTSH9b3qPZLqDGkxIdY2K5hq0YeA8N8r3qtpEZuykHzu2t8RmQQqwiPH8TG Y3atOy4i0RM0eEI5SM+JK0FddgnQNvTCeJr1M= Received: by 10.210.62.12 with SMTP id k12mr4826711eba.15.1221283683746; Fri, 12 Sep 2008 22:28:03 -0700 (PDT) Received: by 10.210.128.7 with HTTP; Fri, 12 Sep 2008 22:28:03 -0700 (PDT) Message-ID: Date: Fri, 12 Sep 2008 22:28:03 -0700 From: "Artem Belevich" Sender: artemb@gmail.com To: freebsd-hackers@freebsd.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <48C8A78C.6070608@cs.rice.edu> X-Google-Sender-Auth: 35a7110f2824d181 Cc: Alan Cox Subject: Re: Increasing KVM on amd64 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Sep 2008 05:28:05 -0000 By the way, this part of Alan's patch fixes a bug in RELENG7 where mapbase is passed to vm_map_find uninitialized. -CURRENT already has this change applied. Perhaps it's worth committing in RELENG7, too. --- ./kern/link_elf_obj.c.orig 2008-09-01 11:06:44.000000000 -0700 +++ ./kern/link_elf_obj.c 2008-09-10 13:07:54.793310216 -0700 @@ -667,6 +667,7 @@ goto out; } ef->address = (caddr_t) vm_map_min(kernel_map); + mapbase = KERNBASE; error = vm_map_find(kernel_map, ef->object, 0, &mapbase, round_page(mapsize), TRUE, VM_PROT_ALL, VM_PROT_ALL, FALSE); if (error) { --Artem