search for: next_period

Displaying 1 result from an estimated 1 matches for "next_period".

2013 Jan 03
20
[PATCH] Switch to poll in xenconsoled's io loop.
...allowance */ for (d = dom_head; d; d = d->next) { - /* Add 5ms of fuzz since select() often returns - a couple of ms sooner than requested. Without - the fuzz we typically do an extra spin in select() - with a 1/2 ms timeout every other iteration */ - if ((now+5) > d->next_period) { + if (now > d->next_period) { d->next_period = now + RATE_LIMIT_PERIOD; if (d->event_count >= RATE_LIMIT_ALLOWANCE) { (void)xc_evtchn_unmask(d->xce_handle, d->local_port); @@ -1006,74 +1013,73 @@ void handle_io(void) !d->buffer.max_capacity ||...