From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52787) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VbcNs-0001Qr-Kf for qemu-devel@nongnu.org; Wed, 30 Oct 2013 16:29:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VbcNk-0005DG-8J for qemu-devel@nongnu.org; Wed, 30 Oct 2013 16:28:56 -0400 Received: from mail-ea0-x235.google.com ([2a00:1450:4013:c01::235]:40672) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VbcNk-0005Co-1r for qemu-devel@nongnu.org; Wed, 30 Oct 2013 16:28:48 -0400 Received: by mail-ea0-f181.google.com with SMTP id d10so920790eaj.26 for ; Wed, 30 Oct 2013 13:28:47 -0700 (PDT) Sender: Paolo Bonzini Message-ID: <52716BF9.9080202@redhat.com> Date: Wed, 30 Oct 2013 21:28:41 +0100 From: Paolo Bonzini MIME-Version: 1.0 References: <20131028140406.GA18025@amt.cnet> <1383070729-19427-1-git-send-email-imammedo@redhat.com> <20131029213844.GB32615@amt.cnet> <20131030174949.2fb0d2c2@nial.usersys.redhat.com> <20131030193126.GA19938@amt.cnet> In-Reply-To: <20131030193126.GA19938@amt.cnet> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [RFC PATCH] pc: align gpa<->hpa on 1GB boundary by splitting RAM on several regions List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Marcelo Tosatti Cc: aarcange@redhat.com, peter.maydell@linaro.org, gleb@redhat.com, quintela@redhat.com, jan.kiszka@siemens.com, qemu-devel@nongnu.org, aliguori@amazon.com, Igor Mammedov , afaerber@suse.de, rth@twiddle.net Il 30/10/2013 20:31, Marcelo Tosatti ha scritto: > > I do not believe that unability to deal with memory aliases on the > future ability to create machine from configuration is strong enough > reason to justify pushing mixed 1GB and 2MB pages size to the user (1GB > pages are allocated on the host kernel command line). I agree. The memory allocation in your patch is a bit awkward, but from the user's point of view it is by far the cleanest. Paolo