Re: [Xen-devel] [PATCH v3 6/6] xen: try to prevent idle timer from firing too often.

2017-09-07 Thread George Dunlap
On 09/06/2017 05:51 PM, Dario Faggioli wrote: > On Tue, 2017-08-29 at 17:30 +0100, George Dunlap wrote: >> On 08/18/2017 07:04 PM, Dario Faggioli wrote: >>> >>> What we're trying to avoid is one of those idle CPUs to >>> wake up, only to discover that the grace period is still >>> running, and

Re: [Xen-devel] [PATCH v3 6/6] xen: try to prevent idle timer from firing too often.

2017-09-06 Thread Dario Faggioli
On Tue, 2017-08-29 at 17:30 +0100, George Dunlap wrote: > On 08/18/2017 07:04 PM, Dario Faggioli wrote: > > > > What we're trying to avoid is one of those idle CPUs to > > wake up, only to discover that the grace period is still > > running, and that it hence could have be slept longer > >

Re: [Xen-devel] [PATCH v3 6/6] xen: try to prevent idle timer from firing too often.

2017-08-29 Thread George Dunlap
On 08/18/2017 07:04 PM, Dario Faggioli wrote: > Idea is: the more CPUs are still active in a grace period, > the more we can wait to check whether it's time to invoke > the callbacks (on those CPUs that have already quiesced, > are idle, and have callbacks queued). > > What we're trying to avoid

[Xen-devel] [PATCH v3 6/6] xen: try to prevent idle timer from firing too often.

2017-08-18 Thread Dario Faggioli
Idea is: the more CPUs are still active in a grace period, the more we can wait to check whether it's time to invoke the callbacks (on those CPUs that have already quiesced, are idle, and have callbacks queued). What we're trying to avoid is one of those idle CPUs to wake up, only to discover