Re: [PATCH v4 1/2] migration/ram: Reduce unnecessary rate limiting

2021-03-17 Thread Dr. David Alan Gilbert
* Kunkun Jiang (jiangkun...@huawei.com) wrote: > Hi  Peter, > > On 2021/3/17 5:39, Peter Xu wrote: > > On Tue, Mar 16, 2021 at 08:57:15PM +0800, Kunkun Jiang wrote: > > > When the host page is a huge page and something is sent in the > > > current iteration, migration_rate_limit() should be execut

Re: [PATCH v4 1/2] migration/ram: Reduce unnecessary rate limiting

2021-03-17 Thread David Edmondson
On Wednesday, 2021-03-17 at 09:37:11 +08, Kunkun Jiang wrote: > Hi  Peter, > > On 2021/3/17 5:39, Peter Xu wrote: >> On Tue, Mar 16, 2021 at 08:57:15PM +0800, Kunkun Jiang wrote: >>> When the host page is a huge page and something is sent in the >>> current iteration, migration_rate_limit() should

Re: [PATCH v4 1/2] migration/ram: Reduce unnecessary rate limiting

2021-03-16 Thread Kunkun Jiang
Hi  Peter, On 2021/3/17 5:39, Peter Xu wrote: On Tue, Mar 16, 2021 at 08:57:15PM +0800, Kunkun Jiang wrote: When the host page is a huge page and something is sent in the current iteration, migration_rate_limit() should be executed. If not, it can be omitted. Signed-off-by: Keqian Zhu Signed-

Re: [PATCH v4 1/2] migration/ram: Reduce unnecessary rate limiting

2021-03-16 Thread Peter Xu
On Tue, Mar 16, 2021 at 08:57:15PM +0800, Kunkun Jiang wrote: > When the host page is a huge page and something is sent in the > current iteration, migration_rate_limit() should be executed. > If not, it can be omitted. > > Signed-off-by: Keqian Zhu > Signed-off-by: Kunkun Jiang > Reviewed-by: D

[PATCH v4 1/2] migration/ram: Reduce unnecessary rate limiting

2021-03-16 Thread Kunkun Jiang
When the host page is a huge page and something is sent in the current iteration, migration_rate_limit() should be executed. If not, it can be omitted. Signed-off-by: Keqian Zhu Signed-off-by: Kunkun Jiang Reviewed-by: David Edmondson --- migration/ram.c | 9 +++-- 1 file changed, 7 insert