[CRIU] [PATCH RFC 0/2] page-read: use in-memory PagemapEntry's

Mike Rapoport mike.rapoport at gmail.com
Thu Jun 9 07:12:45 PDT 2016


On Thu, Jun 9, 2016 at 4:59 PM, Pavel Emelyanov <xemul at virtuozzo.com> wrote:
> On 06/07/2016 06:22 PM, Mike Rapoport wrote:
>> On Tue, Jun 7, 2016 at 6:16 PM, Pavel Emelyanov <xemul at virtuozzo.com> wrote:
>>> On 06/07/2016 03:35 PM, Mike Rapoport wrote:
>>>> On Tue, Jun 07, 2016 at 02:55:30PM +0300, Pavel Emelyanov wrote:
>>>>> pagemap.img-s use bfd engine to cache reads from images. Your
>>>>> patch creates double buffering for them ;)
>>>>
>>>> Well, yes. But no :)
>>>> The bfd caches raw protobuf data, while the in-memory pagemap caches
>>>> unpacked PagemapEntrie's. There's indeed some duplication, but you anyway
>>>> have to go through 'bread -> unpack' to use pagemap.
>>>
>>> Agree :)
>>>
>>>>> Any ideas how to handle it?
>>>>
>>>> We read the entire pagemap and then close the image? ;-)
>>>
>>> Oh, do we do this with this set?
>>
>> Except the close part :)
>
> Would you send an incremental patch doing this, please?
>

Sure.


-- 
Sincerely yours,
Mike.


More information about the CRIU mailing list