From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45006) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ecY1Q-0005tu-Lk for qemu-devel@nongnu.org; Fri, 19 Jan 2018 09:52:01 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ecY1M-0007uB-Nx for qemu-devel@nongnu.org; Fri, 19 Jan 2018 09:52:00 -0500 Received: from jessie.kos.to ([212.47.231.226]:56608 helo=pilvi.kos.to) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ecY1M-0007qM-HA for qemu-devel@nongnu.org; Fri, 19 Jan 2018 09:51:56 -0500 Date: Fri, 19 Jan 2018 14:51:52 +0000 From: Riku Voipio Message-ID: <20180119145152.GA28929@kos.to> References: <1511879725-9576-1-git-send-email-peter.maydell@linaro.org> <21eaac25-23d4-7c03-b541-a93b79157e23@vivier.eu> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <21eaac25-23d4-7c03-b541-a93b79157e23@vivier.eu> Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH 0/2] linux-user: Fix race between threads in page_unprotect() List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Laurent Vivier Cc: Peter Maydell , QEMU Developers , Paolo Bonzini , Richard Henderson Hi Laurent, On Mon, Jan 15, 2018 at 01:52:32PM +0100, Laurent Vivier wrote: > Le 15/01/2018 =C3=A0 13:48, Peter Maydell a =C3=A9crit=C2=A0: > > On 28 November 2017 at 14:35, Peter Maydell wrote: > >> If multiple guest threads in user-mode emulation write to a > >> page which QEMU has marked read-only because of cached TCG > >> translations, the threads can race in page_unprotect: > >=20 > >> Peter Maydell (2): > >> linux-user: Propagate siginfo_t through to handle_cpu_signal() > >> page_unprotect(): handle calls to pages that are PAGE_WRITE > >=20 > > Ping! Linux-user maintainers, any chance this could get into > > a pull-request sometime soon? (I have another cleanup I'm > > thinking of that will touch the same code so I'd rather this > > went into master before I look at that.) > >=20 > > (I have a bunch of other pending linux-user patchsets which > > I shan't bother to ping individually unless you want me to.) >=20 > Riku, >=20 > if you have no time to prepare a pull request, I can. Thanks, that would be great. Riku