summary refs log tree commit diff stats
path: root/util/oslib-posix.c
diff options
context:
space:
mode:
authorDavid Hildenbrand <david@redhat.com>2021-05-10 13:43:14 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2021-06-15 20:27:37 +0200
commitadad0b3ae8446acef0670efaa1e835ba37fca4bc (patch)
tree05ead62d1513920593a96873bbd335ca6bda937f /util/oslib-posix.c
parentdbb92eea3857ffeb770d006ad0306e408d33dd62 (diff)
downloadfocaccia-qemu-adad0b3ae8446acef0670efaa1e835ba37fca4bc.tar.gz
focaccia-qemu-adad0b3ae8446acef0670efaa1e835ba37fca4bc.zip
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: Peter Xu <peterx@redhat.com>
Acked-by: Murilo 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: David Hildenbrand <david@redhat.com>
Message-Id: <20210510114328.21835-2-david@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'util/oslib-posix.c')
0 files changed, 0 insertions, 0 deletions