Received: from eggs.gnu.org ([2001:4830:134:3::10]:58883) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V2KXy-0006RJ-IS for qemu-devel@nongnu.org; Thu, 25 Jul 2013 08:21:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V2KXx-00061y-DA for qemu-devel@nongnu.org; Thu, 25 Jul 2013 08:21:30 -0400 Received: from mail.avalus.com ([2001:41c8:10:1dd::10]:47299) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V2KXx-00061e-7w for qemu-devel@nongnu.org; Thu, 25 Jul 2013 08:21:29 -0400 Date: Thu, 25 Jul 2013 13:21:13 +0100 From: Alex Bligh Message-ID: In-Reply-To: <20130725120530.GJ21033@stefanha-thinkpad.redhat.com> References: <1374396185-10870-1-git-send-email-pingfank@linux.vnet.ibm.com> <20130725120530.GJ21033@stefanha-thinkpad.redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: Re: [Qemu-devel] [RFC 0/8] arm AioContext with its own timer stuff Reply-To: Alex Bligh List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Hajnoczi , Liu Ping Fan Cc: Kevin Wolf , Stefan Hajnoczi , Alex Bligh , Jan Kiszka , qemu-devel@nongnu.org, Anthony Liguori , Paolo Bonzini --On 25 July 2013 14:05:30 +0200 Stefan Hajnoczi wrote: > Alex Bligh's series gives each AioContext its own rt_clock. This avoids > the need for synchronization in the simple case. If we require timer > access between threads then we really need to synchronize. > > You pointed out in another email that vm_clock stops when the guest is > paused. I think we can find a solution for I/O throttling and QED, > which use vm_clock in the block layer. Note that block jobs already use > rt_clock. I would happily at a QEMUClock of each type to AioContext. They are after all pretty lightweight. -- Alex Bligh