From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42484) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1euO9D-0005ef-PE for qemu-devel@nongnu.org; Fri, 09 Mar 2018 14:57:48 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1euO9D-0002eI-0T for qemu-devel@nongnu.org; Fri, 09 Mar 2018 14:57:47 -0500 References: <20180228221609.11265-1-jcmvbkbc@gmail.com> <20180228221609.11265-7-jcmvbkbc@gmail.com> From: Laurent Vivier Message-ID: Date: Fri, 9 Mar 2018 20:57:30 +0100 MIME-Version: 1.0 In-Reply-To: <20180228221609.11265-7-jcmvbkbc@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Subject: Re: [Qemu-devel] [PATCH v2 06/11] linux-user: fix assertion in shmdt List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Max Filippov , qemu-devel@nongnu.org Cc: Riku Voipio , qemu-stable@nongnu.org Le 28/02/2018 à 23:16, Max Filippov a écrit : > shmdt fails to call mmap_lock/mmap_unlock around page_set_flags, > resulting in the following assertion: > page_set_flags: Assertion `have_mmap_lock()' failed. > > Wrap shmdt internals into mmap_lock/mmap_unlock. > > Cc: qemu-stable@nongnu.org > Cc: Riku Voipio > Cc: Laurent Vivier > Signed-off-by: Max Filippov > --- > linux-user/syscall.c | 8 +++++++- > 1 file changed, 7 insertions(+), 1 deletion(-) Applied to my 'linux-user-for-2.12' branch. Thanks, Laurent