Skip to content
Commit 0f4f39bd authored by Claudio Imbrenda's avatar Claudio Imbrenda Committed by Paolo Bonzini
Browse files

lib/alloc_page: Wire up FLAG_DONTZERO



Memory allocated without FLAG_DONTZERO will now be zeroed before being
returned to the caller.

This means that by default all allocated memory is now zeroed, restoring the
default behaviour that had been accidentally removed by a previous commit.

Fixes: 8131e91a ("lib/alloc_page: complete rewrite of the page allocator")
Reported-by: default avatarNadav Amit <nadav.amit@gmail.com>

Signed-off-by: default avatarClaudio Imbrenda <imbrenda@linux.ibm.com>
Message-Id: <20210115123730.381612-11-imbrenda@linux.ibm.com>
Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent 550b4683
Loading
Loading
Loading
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