Re: [RFC PATCH v5 6/8] drivers: vmware: balloon - report inflated memory

From: Alexander Atanasov
Date: Fri Oct 21 2022 - 04:03:30 EST


On 21.10.22 10:31, Nadav Amit wrote:
On Oct 21, 2022, at 10:25 AM, Alexander Atanasov <alexander.atanasov@xxxxxxxxxxxxx> wrote:


Ok,I will move it before the enqueue call.
But are you sure about this the reset?
vmballoon_reset(...) is called only from vmballoon_work(...) which does
the update ? what i am missing?

My bad. But when the module is unloaded, vmballoon_pop() is called.

Yes, i missed the unload - i will just set it to zero there.


--
Regards,
Alexander Atanasov