From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34066) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aqm1w-00074O-B7 for qemu-devel@nongnu.org; Thu, 14 Apr 2016 14:30:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aqm0u-00053B-Bt for qemu-devel@nongnu.org; Thu, 14 Apr 2016 14:30:16 -0400 Received: from mail-lf0-x243.google.com ([2a00:1450:4010:c07::243]:35253) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aqm0u-000532-1m for qemu-devel@nongnu.org; Thu, 14 Apr 2016 14:29:12 -0400 Received: by mail-lf0-x243.google.com with SMTP id o124so13447917lfb.2 for ; Thu, 14 Apr 2016 11:29:11 -0700 (PDT) References: <1458222382-6498-1-git-send-email-sergey.fedorov@linaro.org> <1458222382-6498-5-git-send-email-sergey.fedorov@linaro.org> <56EAC8A2.7060700@redhat.com> <56EAC9E3.60000@gmail.com> <56F94B59.80905@gmail.com> <56F9A051.9090907@redhat.com> <56FA52E3.3000900@gmail.com> <56FA5ADB.7030103@redhat.com> <570FACF1.6020009@gmail.com> <570FB396.6040703@redhat.com> From: Sergey Fedorov Message-ID: <570FE175.9090005@gmail.com> Date: Thu, 14 Apr 2016 21:29:09 +0300 MIME-Version: 1.0 In-Reply-To: <570FB396.6040703@redhat.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 4/5] tcg: reorder removal from lists in tb_phys_invalidate List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini , sergey.fedorov@linaro.org, qemu-devel@nongnu.org Cc: Richard Henderson , Peter Crosthwaite , =?UTF-8?Q?Alex_Benn=c3=a9e?= On 14/04/16 18:13, Paolo Bonzini wrote: > This is very similar to the current code. From 10,000 feet, because > tb_find_fast calls tb_find_slow, this could indeed work, but I'm a bit > concerned about how to order the removal of the jump lists. As long as we always link/unlink TBs under tb_lock the exact order doesn't seem to be important. Kind regards, Sergey