From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42736) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yh20j-0003Js-Rq for qemu-devel@nongnu.org; Sat, 11 Apr 2015 16:28:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yh20g-0003Al-MS for qemu-devel@nongnu.org; Sat, 11 Apr 2015 16:28:13 -0400 Received: from cantor2.suse.de ([195.135.220.15]:40660 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yh20g-0003AI-FV for qemu-devel@nongnu.org; Sat, 11 Apr 2015 16:28:10 -0400 Message-ID: <552983D8.70904@suse.de> Date: Sat, 11 Apr 2015 22:28:08 +0200 From: =?UTF-8?B?QW5kcmVhcyBGw6RyYmVy?= MIME-Version: 1.0 References: <1428777292-24628-1-git-send-email-afaerber@suse.de> <1428777292-24628-8-git-send-email-afaerber@suse.de> In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH for-2.3? 7/7] tests/tcg: Enable runcom test by default List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: QEMU Developers , Richard Henderson Am 11.04.2015 um 22:22 schrieb Peter Maydell: > On 11 April 2015 at 19:34, Andreas F=C3=A4rber wrote= : >> The comment of it requiring root appears outdated - makes no differenc= e. >=20 > This depends on what your system has set for the tunable > /proc/sys/vm/mmap_min_addr. On my system it is 65536 (I think > Ubuntu and Debian ship like this), and in that case you can't > mmap MAP_FIXED to address zero unless you're root (tested with > a little C program that does the same mmap that runcom does). Hm, $ cat /proc/sys/vm/mmap_min_addr 65536 Are you sure that QEMU / runcom / pi_10.com still try to map to that address zero? Regards, Andreas --=20 SUSE Linux GmbH, Maxfeldstr. 5, 90409 N=C3=BCrnberg, Germany GF: Felix Imend=C3=B6rffer, Jane Smithard, Jennifer Guild, Dilip Upmanyu, Graham Norton; HRB 21284 (AG N=C3=BCrnberg)