|
From: | Juan Quintela |
Subject: | Re: [PATCH RFC 09/21] ramblock: Add RAM_READONLY |
Date: | Mon, 30 Jan 2023 06:06:53 +0100 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) |
Peter Xu <peterx@redhat.com> wrote: > This allows us to have RAM_READONLY to be set in ram_flags to show that > this ramblock can only be read not write. > > We used to pass in readonly boolean along the way for allocating the > ramblock, now let it be together with the rest ramblock flags. > > The main purpose of this patch is not for clean up though, it's for caching > mapping information of each ramblock so when we want to mmap() it again for > whatever reason we can have all the information on hand. > > Signed-off-by: Peter Xu <peterx@redhat.com> Reviewed-by: Juan Quintela <quintela@redhat.com>
[Prev in Thread] | Current Thread | [Next in Thread] |