From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:44194) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1echJP-0000CR-22 for qemu-devel@nongnu.org; Fri, 19 Jan 2018 19:47:38 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1echIx-000485-RZ for qemu-devel@nongnu.org; Fri, 19 Jan 2018 19:47:11 -0500 Received: from mail-pf0-x22a.google.com ([2607:f8b0:400e:c00::22a]:34913) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1echIx-00045v-Ip for qemu-devel@nongnu.org; Fri, 19 Jan 2018 19:46:43 -0500 Received: by mail-pf0-x22a.google.com with SMTP id t12so2603364pfg.2 for ; Fri, 19 Jan 2018 16:46:43 -0800 (PST) References: <20180119143951.5810-1-f4bug@amsat.org> <20180119180133.GG2430@work-vm> <39b15cc5-f797-8902-4b42-bf25845e7e74@amsat.org> From: Richard Henderson Message-ID: <3fcd8dff-eb50-4a43-e3fc-101c17ecb849@linaro.org> Date: Fri, 19 Jan 2018 16:46:38 -0800 MIME-Version: 1.0 In-Reply-To: <39b15cc5-f797-8902-4b42-bf25845e7e74@amsat.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Subject: Re: [Qemu-devel] [RFC PATCH] migration: do not use atomic__nocheck() functions directly List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?UTF-8?Q?Philippe_Mathieu-Daud=c3=a9?= , "Dr. David Alan Gilbert" Cc: Juan Quintela , Alexey Perevalov , qemu-devel@nongnu.org On 01/19/2018 10:20 AM, Philippe Mathieu-Daudé wrote: > Maybe we should remove the __nocheck() functions and inline them in the > 'checked' functions? No, I use them in TCG, properly protected with CONFIG_ATOMIC*. r~