From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kt1zJ-0007Nt-Kk for qemu-devel@nongnu.org; Thu, 23 Oct 2008 11:20:37 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kt1zI-0007Mz-63 for qemu-devel@nongnu.org; Thu, 23 Oct 2008 11:20:37 -0400 Received: from [199.232.76.173] (port=52422 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kt1zH-0007Mt-RP for qemu-devel@nongnu.org; Thu, 23 Oct 2008 11:20:35 -0400 Received: from wa-out-1112.google.com ([209.85.146.177]:48440) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Kt1zH-0005W3-JU for qemu-devel@nongnu.org; Thu, 23 Oct 2008 11:20:35 -0400 Received: by wa-out-1112.google.com with SMTP id j5so467294wah.18 for ; Thu, 23 Oct 2008 08:20:34 -0700 (PDT) Message-ID: <779506c70810230820j741627ej5544af2a88e6d557@mail.gmail.com> Date: Thu, 23 Oct 2008 11:20:34 -0400 From: "Leonardo Reiter" Subject: Re: [Qemu-devel] Re: [PATCH 01/32] use anonymous memory for kqemu. In-Reply-To: <779506c70810230808o6a2e3cefo1aa23776d007d66d@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <1224771556-11146-1-git-send-email-glommer@redhat.com> <1224771556-11146-2-git-send-email-glommer@redhat.com> <490080A2.7040802@us.ibm.com> <49008787.3050202@siemens.com> <49008948.60102@us.ibm.com> <779506c70810230808o6a2e3cefo1aa23776d007d66d@mail.gmail.com> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org On Thu, Oct 23, 2008 at 11:08 AM, Leonardo Reiter wrote: > This should be tested well on Solaris 10, especially with -m values > approaching 1GB and -kernel-kqemu. The Solaris version would use /tmp > rather than /dev/shm, but iirc there were problems when using > MAP_ANONYMOUS. > > Also, on Linux, does anyone know what minimum kernel version is needed > to not need the /dev/shm hack? > Please disregard the Solaris bit as the 1.4.0 version of KQEMU is not widely available there yet, so you can't use the SVN version of QEMU with KQEMU anyway AFAIK. I'd be glad to look at this in the (somewhat distant) future and come up with a patch if anonymous memory on Solaris is not stable. But the Linux bit is still good to understand. I know Fabrice put this limitation in specifically because of problems with Linux kernels, so it would be good to know what minimum kernel version seems to have this fixed. Thanks, Leo Reiter