Re: [PATCH v2 6/9] cpus: Remove the mutex parameter from do_run_on_cpu()

2021-07-27 Thread David Hildenbrand
On 23.07.21 21:34, Peter Xu wrote: We must use the BQL for do_run_on_cpu() without much choice, it means the parameter is helpless. Remove it. Meanwhile use the newly introduced s/helpless/useless/ ? Reviewed-by: David Hildenbrand -- Thanks, David / dhildenb

[PATCH v2 6/9] cpus: Remove the mutex parameter from do_run_on_cpu()

2021-07-23 Thread Peter Xu
We must use the BQL for do_run_on_cpu() without much choice, it means the parameter is helpless. Remove it. Meanwhile use the newly introduced qemu_cond_wait_iothread() in do_run_on_cpu(). Signed-off-by: Peter Xu --- softmmu/cpus.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-)