qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH RFC 07/21] ramblock: Cache file offset for file-backed ramblo


From: Juan Quintela
Subject: Re: [PATCH RFC 07/21] ramblock: Cache file offset for file-backed ramblocks
Date: Mon, 30 Jan 2023 06:02:38 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)

Peter Xu <peterx@redhat.com> wrote:
> This value was only used for mmap() when we want to map at a specific
> offset of the file for memory.  To be prepared that we might do another map
> upon the same range for whatever reason, cache the offset so we know how to
> map again on the same range.
>
> Signed-off-by: Peter Xu <peterx@redhat.com>

Reviewed-by: Juan Quintela <quintela@redhat.com>

A bit weird that we don't use it (yet) anywhere, but that is life.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]