>> From: Wang Yong<wang.yong...@zte.com.cn> >>
>> Remove the task which check old packet in the comparing thread, >> then use IOthread context timer to handle it. >> >> Signed-off-by: Wang Yong<wang.yong...@zte.com.cn> >> Signed-off-by: Wang Guang<wang.guan...@zte.com.cn> >> --- >> net/colo-compare.c | 62 +++++++++++++++++++++++++++++++++++++++++++----------- >> 1 file changed, 50 insertions(+), 12 deletions(-) >I suggest to squash this into patch 2, since we will have 2 threads now. OK, I'll do that. Thanks 原始邮件 发件人: <jasow...@redhat.com> 收件人:王勇10170530 <zhang.zhanghaili...@huawei.com> <zhangchen.f...@cn.fujitsu.com> 抄送人: <lizhij...@cn.fujitsu.com> <qemu-devel@nongnu.org>王广10165992 日 期 :2017年06月07日 16:30 主 题 :Re: [PATCHv2 01/04] colo-compare: Use IOThread context timer to Checkold packet regularly On 2017年06月05日 18:44, Yong Wang wrote: > From: Wang Yong<wang.yong...@zte.com.cn> > > Remove the task which check old packet in the comparing thread, > then use IOthread context timer to handle it. > > Signed-off-by: Wang Yong<wang.yong...@zte.com.cn> > Signed-off-by: Wang Guang<wang.guan...@zte.com.cn> > --- > net/colo-compare.c | 62 +++++++++++++++++++++++++++++++++++++++++++----------- > 1 file changed, 50 insertions(+), 12 deletions(-) I suggest to squash this into patch 2, since we will have 2 threads now. Thanks