Re: [PATCH] softmmu/dirtylimit: Fix usleep early return on signal

2023-10-16 Thread Hyman Huang
在 2023/9/5 10:17, alloc young 写道: On 2023/9/4 21:27, Yong Huang wrote: On Fri, Sep 1, 2023 at 10:19 AM > wrote:     From: alloc >     Timeout functions like usleep can return early on signal, which reduces     more

Re: [PATCH] softmmu/dirtylimit: Fix usleep early return on signal

2023-09-07 Thread alloc young
On 2023/9/4 21:27, Yong Huang wrote: On Fri, Sep 1, 2023 at 10:19 AM > wrote: From: alloc mailto:alloc.yo...@outlook.com>> Timeout functions like usleep can return early on signal, which reduces more dirty pages than expected. In dirtylimit

Re: [PATCH] softmmu/dirtylimit: Fix usleep early return on signal

2023-09-04 Thread alloc young
On 2023/9/4 21:27, Yong Huang wrote: On Fri, Sep 1, 2023 at 10:19 AM > wrote: From: alloc mailto:alloc.yo...@outlook.com>> Timeout functions like usleep can return early on signal, which reduces more dirty pages than expected. In dirtylimit

Re: [PATCH] softmmu/dirtylimit: Fix usleep early return on signal

2023-09-04 Thread Yong Huang
On Fri, Sep 1, 2023 at 10:19 AM wrote: > From: alloc > > Timeout functions like usleep can return early on signal, which reduces > more dirty pages than expected. In dirtylimit case, dirtyrate meter > thread needs to kick all vcpus out to sync. The callchain: > > vcpu_calculate_dirtyrate >

[PATCH] softmmu/dirtylimit: Fix usleep early return on signal

2023-08-31 Thread alloc . young
From: alloc Timeout functions like usleep can return early on signal, which reduces more dirty pages than expected. In dirtylimit case, dirtyrate meter thread needs to kick all vcpus out to sync. The callchain: vcpu_calculate_dirtyrate global_dirty_log_sync