From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kt1nK-0005za-CN for qemu-devel@nongnu.org; Thu, 23 Oct 2008 11:08:14 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kt1nJ-0005yR-L1 for qemu-devel@nongnu.org; Thu, 23 Oct 2008 11:08:13 -0400 Received: from [199.232.76.173] (port=38000 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kt1nJ-0005yB-Fi for qemu-devel@nongnu.org; Thu, 23 Oct 2008 11:08:13 -0400 Received: from yw-out-1718.google.com ([74.125.46.156]:11775) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Kt1nJ-0001hg-Du for qemu-devel@nongnu.org; Thu, 23 Oct 2008 11:08:13 -0400 Received: by yw-out-1718.google.com with SMTP id 6so90144ywa.82 for ; Thu, 23 Oct 2008 08:08:03 -0700 (PDT) Message-ID: <779506c70810230808o6a2e3cefo1aa23776d007d66d@mail.gmail.com> Date: Thu, 23 Oct 2008 11:08:02 -0400 From: "Leonardo Reiter" Subject: Re: [Qemu-devel] Re: [PATCH 01/32] use anonymous memory for kqemu. In-Reply-To: <49008948.60102@us.ibm.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> 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 10:25 AM, Anthony Liguori wrote: > Jan Kiszka wrote: >> >> This hack-around, was it purely Linux-motivated? Or did/do other OSes >> have similar issues? >> > > /dev/shm doesn't exist on anything but Linux. > > Regards, > > Anthony Liguori > >> Jan 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? Thanks, Leo Reiter