Skip to content
Snippets Groups Projects
Commit adad0b3a authored by David Hildenbrand's avatar David Hildenbrand Committed by Paolo Bonzini
Browse files

util/mmap-alloc: Factor out calculation of the pagesize for the guard page


Let's factor out calculating the size of the guard page and rename the
variable to make it clearer that this pagesize only applies to the
guard page.

Reviewed-by: default avatarPeter Xu <peterx@redhat.com>
Acked-by: default avatarMurilo Opsfelder Araujo <muriloo@linux.ibm.com>
Acked-by: Eduardo Habkost <ehabkost@redhat.com> for memory backend and machine core
Cc: Igor Kotrasinski <i.kotrasinsk@partner.samsung.com>
Signed-off-by: default avatarDavid Hildenbrand <david@redhat.com>
Message-Id: <20210510114328.21835-2-david@redhat.com>
Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent dbb92eea
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment