[Qemu-devel] [PATCH 1/1] input: improve performance of mouse event handle

2018-11-26 Thread FelixYao
this patch. Time of handling 100,000 mouse move events changes from 50ms to 9ms. Please review it and consider whether it can be applied! Signed-off-by: FelixYao --- include/ui/input.h | 7 --- ui/input.c | 47 +-- 2 files changed, 29

[Qemu-devel] [PATCH 1/1] util/thread-pool: add parameter to limit maximum threads in thread pool

2018-07-13 Thread FelixYao
. Although we can use iotune to limit bandwidth or IOPS of block device. That is not enough. Lots of worker threads still impact other VMs. I think the ability to limit maximum threads in thread pool is necessary. What's your opinion about this patch? please review it. Signed-off-by: FelixYao

[Qemu-devel] [PATCH 1/1] main loop: remove useless code

2017-12-01 Thread FelixYao
hi Paolo Bonzini: Those codes seem useless, Could it be removed? Signed-off-by: FelixYao <felix@gmail.com> --- vl.c | 4 1 file changed, 4 deletions(-) diff --git a/vl.c b/vl.c index 1ad1c04..5bed4c2 100644 --- a/vl.c +++ b/vl.c @@ -2995,10 +2995,6 @@ static void set_memory_o