From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55851) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ePP3H-0004j4-Ha for qemu-devel@nongnu.org; Thu, 14 Dec 2017 03:39:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ePP3E-0001ot-Vy for qemu-devel@nongnu.org; Thu, 14 Dec 2017 03:39:35 -0500 Sender: Paolo Bonzini References: <20171214005953.8898-1-jsnow@redhat.com> <20171214005953.8898-4-jsnow@redhat.com> From: Paolo Bonzini Message-ID: <7804bd5f-b3f7-aa13-9510-0bc6d54995aa@redhat.com> Date: Thu, 14 Dec 2017 09:39:29 +0100 MIME-Version: 1.0 In-Reply-To: <20171214005953.8898-4-jsnow@redhat.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 3/7] blockjob: create block_job_throttle List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: John Snow , qemu-block@nongnu.org Cc: kwolf@redhat.com, qemu-devel@nongnu.org, mreitz@redhat.com, stefanha@redhat.com On 14/12/2017 01:59, John Snow wrote: > + * Yield if it has been SLICE_TIME nanoseconds since the last yield. > + * Otherwise, check if we need to pause (and update the yield counter). What is the yield counter? Thanks, Paolo