Re: RFC [PATCH v4 2/7] Enable balloon drivers to report inflated memory

From: David Hildenbrand
Date: Fri Oct 14 2022 - 09:40:23 EST



Other problem is that there are drivers that do not use
adjust_managed_page_count().

Which ones? Do we care?

VMWare and Virtio balloon drivers. I recently proposed to unify them and
the objection was that it would break existing users - which is valid so
we must care i guess.

I'm confused, I think we care about actual adjustment of the total pages available here, that we want to notify the system about. These approaches (vmware, virtio-balloon with deflate-on-oom) don't adjust totalpages, because the assumption is that we can get back the inflated memory any time we really need it automatically.

--
Thanks,

David / dhildenb