Re: [Qemu-devel] exec: Safe work in quiescent state

2016-06-15 Thread Sergey Fedorov
On 15/06/16 18:25, alvise rigo wrote: > On Wed, Jun 15, 2016 at 4:51 PM, Alex Bennée wrote: >> alvise rigo writes: >>> On Wed, Jun 15, 2016 at 2:59 PM, Sergey Fedorov >>> wrote: On 10/06/16 00:51, Sergey Fedorov

Re: [Qemu-devel] exec: Safe work in quiescent state

2016-06-15 Thread Sergey Fedorov
On 15/06/16 17:56, Alex Bennée wrote: > Sergey Fedorov writes: (snip) > Just some quick comments for context: > >> Alex's reiteration of Fred's approach [2]: >> - maintains a single global safe work queue; > Having separate queues can lead to problems with draining queues as

Re: [Qemu-devel] exec: Safe work in quiescent state

2016-06-15 Thread alvise rigo
On Wed, Jun 15, 2016 at 4:51 PM, Alex Bennée wrote: > > alvise rigo writes: > >> Hi Sergey, >> >> Nice review of the implementations we have so far. >> Just few comments below. >> >> On Wed, Jun 15, 2016 at 2:59 PM, Sergey Fedorov

Re: [Qemu-devel] exec: Safe work in quiescent state

2016-06-15 Thread Alex Bennée
Sergey Fedorov writes: > On 10/06/16 00:51, Sergey Fedorov wrote: >> For certain kinds of tasks we might need a quiescent state to perform an >> operation safely. Quiescent state means no CPU thread executing, and >> probably BQL held as well. The tasks could include: > >

Re: [Qemu-devel] exec: Safe work in quiescent state

2016-06-15 Thread Alex Bennée
alvise rigo writes: > Hi Sergey, > > Nice review of the implementations we have so far. > Just few comments below. > > On Wed, Jun 15, 2016 at 2:59 PM, Sergey Fedorov wrote: >> On 10/06/16 00:51, Sergey Fedorov wrote: >>> For certain kinds

Re: [Qemu-devel] exec: Safe work in quiescent state

2016-06-15 Thread alvise rigo
Hi Sergey, Nice review of the implementations we have so far. Just few comments below. On Wed, Jun 15, 2016 at 2:59 PM, Sergey Fedorov wrote: > On 10/06/16 00:51, Sergey Fedorov wrote: >> For certain kinds of tasks we might need a quiescent state to perform an >> operation

Re: [Qemu-devel] exec: Safe work in quiescent state

2016-06-15 Thread Sergey Fedorov
On 10/06/16 00:51, Sergey Fedorov wrote: > For certain kinds of tasks we might need a quiescent state to perform an > operation safely. Quiescent state means no CPU thread executing, and > probably BQL held as well. The tasks could include: > - Translation buffer flush (user and system-mode) > -

[Qemu-devel] exec: Safe work in quiescent state

2016-06-09 Thread Sergey Fedorov
Hi, For certain kinds of tasks we might need a quiescent state to perform an operation safely. Quiescent state means no CPU thread executing, and probably BQL held as well. The tasks could include: - Translation buffer flush (user and system-mode) - Cross-CPU TLB flush (system-mode) - Exclusive