[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2 05/10] Optimize the function of packet_new
From: |
address@hidden |
Subject: |
Re: [PATCH v2 05/10] Optimize the function of packet_new |
Date: |
Fri, 12 Mar 2021 10:23:17 +0000 |
> + offset = colo_bitmap_find_dirty(ram_state, block, offset,
> + &num);
IIUC, this return value would pass to the next round as start index, so you
should skip the already checked one.
Thanks
On 3/12/21 5:56 PM, Rao, Lei wrote:
> How about redefine a function named packet_new_nocopy?
> In comments, we can tell the caller don't release the buffer and the
> packet_destroy will release it.
>
> Thanks,
> Lei.
> -----Original Message-----
> From:lizhijian@fujitsu.com <lizhijian@fujitsu.com>
> Sent: Friday, March 12, 2021 2:53 PM
> To: Rao, Lei<lei.rao@intel.com>; Zhang,
> Chen<chen.zhang@intel.com>;jasowang@redhat.com;quintela@redhat.com;dgilbert@redhat.com;pbonzini@redhat.com;lukasstraub2@web.de
> Cc:qemu-devel@nongnu.org
> Subject: Re: [PATCH v2 05/10] Optimize the function of packet_new
>
>
- Re: [PATCH v2 01/10] Remove some duplicate trace code., (continued)
[PATCH v2 06/10] Add the function of colo_compare_cleanup, leirao, 2021/03/12
[PATCH v2 07/10] Reset the auto-converge counter at every checkpoint., leirao, 2021/03/12
[PATCH v2 08/10] Reduce the PVM stop time during Checkpoint, leirao, 2021/03/12
[PATCH v2 09/10] Add the function of colo_bitmap_clear_diry, leirao, 2021/03/12
[PATCH v2 10/10] Fixed calculation error of pkt->header_size in fill_pkt_tcp_info(), leirao, 2021/03/12