diff options
author | David Hildenbrand <david@redhat.com> | 2021-05-10 13:43:14 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2021-06-15 20:27:37 +0200 |
commit | adad0b3ae8446acef0670efaa1e835ba37fca4bc (patch) | |
tree | 05ead62d1513920593a96873bbd335ca6bda937f /util/id.c | |
parent | dbb92eea3857ffeb770d006ad0306e408d33dd62 (diff) |
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/id.c')
0 files changed, 0 insertions, 0 deletions