RE: [PATCH v1 6/6] virtio-balloon: Add support for aerating memory via hinting

Wang, Wei W
2019-07-16T15:02:21Z

On Tuesday, July 16, 2019 10:41 PM, Hansen, Dave wrote:
> Where is the page allocator integration? The set you linked to has 5 patches,
> but only 4 were merged. This one is missing:
>
> https://lore.kernel.org/patchwork/patch/961038/

For some reason, we used the regular page allocation to get pages
from the free list at that stage. This part could be improved by Alex
or Nitesh's approach.

The page address transmission from the balloon driver to the host
device could reuse what's upstreamed there. I think you could add a
new VIRTIO_BALLOON_CMD_xx for your usages.

Best,
Wei