On 11/11/21 11:39, David Hildenbrand wrote:
On 11.11.21 11:28, Claudio Imbrenda wrote:
On Thu, 11 Nov 2021 11:14:53 +0100
David Hildenbrand <david@xxxxxxxxxx> wrote:
On 11.11.21 11:01, Pierre Morel wrote:
The allocator allocate pages it follows the size must be rounded
to pages before the allocation.
Fixes: b0fe3988 "s390x: define UV compatible I/O allocation"
What's the symptom of this? A failing test? Or is this just a pro-activ fix?
if size < PAGE_SIZE then we would allocate 0, and in general we are
rounding down instead of up, which is obviously wrong.
I know, but is this fixing a failing test or is this just a pro-activ fix?
It is not fixing an existing test but it must be fixed before the VIRTIO
test that I am currently developing.
In the current tests we do not allocate sizes greater than 1 page that
are no multiple of pages.
--
Pierre Morel
IBM Lab Boeblingen