Re: [Qemu-devel] [PATCH] qemu-thread: add a fast path to the Win32 QemuEvent

2015-09-10 Thread Paolo Bonzini
On 10/09/2015 21:30, Stefan Weil wrote: > The real time varies because the test includes user > interactions (pressing enter, starting test, > terminating QEMU after test). > > The user time (mainly emulation) does not vary much. > > The system time is significantly reduced (less than > 50 % in

Re: [Qemu-devel] [PATCH] qemu-thread: add a fast path to the Win32 QemuEvent

2015-09-10 Thread Stefan Weil
Am 10.09.2015 um 18:12 schrieb Paolo Bonzini: > On 12/08/2015 15:38, Paolo Bonzini wrote: >> QemuEvents are used heavily by call_rcu. We do not want them to be slow, >> but the current implementation does a kernel call on every invocation >> of qemu_event_* and won't cut it. >> >> So, wrap a Win32

Re: [Qemu-devel] [PATCH] qemu-thread: add a fast path to the Win32 QemuEvent

2015-09-10 Thread Paolo Bonzini
On 12/08/2015 15:38, Paolo Bonzini wrote: > QemuEvents are used heavily by call_rcu. We do not want them to be slow, > but the current implementation does a kernel call on every invocation > of qemu_event_* and won't cut it. > > So, wrap a Win32 manual-reset event with a fast userspace path. The