RE: [PATCH v3] x86/Hyper-V: Support for free page reporting

2021-03-17 Thread Sunil Muthuswamy
> > + if (!(ms_hyperv.priv_high & HV_ENABLE_EXTENDED_HYPERCALLS)) > > + return 0; > > Return 'false' since the function is declared as bool? Will fix this in the next iteration. > > + if (hv_do_hypercall(HV_EXT_CALL_QUERY_CAPABILITIES, NULL, cap) == > > + HV_STATUS_SUCCESS) >

RE: [PATCH v3] x86/Hyper-V: Support for free page reporting

2021-02-05 Thread Michael Kelley
From: Michael Kelley Sent: Thursday, February 4, 2021 3:36 PM > > From: Sunil Muthuswamy Sent: Wednesday, January 6, > 2021 > 3:21 PM > > > > Linux has support for free page reporting now (36e66c554b5c) for > > virtualized environment. On Hyper-V when virtually backed VMs are > > configured, H

RE: [PATCH v3] x86/Hyper-V: Support for free page reporting

2021-02-04 Thread Michael Kelley
From: Sunil Muthuswamy Sent: Wednesday, January 6, 2021 3:21 PM > > Linux has support for free page reporting now (36e66c554b5c) for > virtualized environment. On Hyper-V when virtually backed VMs are > configured, Hyper-V will advertise cold memory discard capability, > when supported. This pat

Re: [PATCH v3] x86/Hyper-V: Support for free page reporting

2021-01-26 Thread Wei Liu
On Wed, Jan 06, 2021 at 11:20:33PM +, Sunil Muthuswamy wrote: > Linux has support for free page reporting now (36e66c554b5c) for > virtualized environment. On Hyper-V when virtually backed VMs are > configured, Hyper-V will advertise cold memory discard capability, > when supported. This patch

[PATCH v3] x86/Hyper-V: Support for free page reporting

2021-01-06 Thread Sunil Muthuswamy
Linux has support for free page reporting now (36e66c554b5c) for virtualized environment. On Hyper-V when virtually backed VMs are configured, Hyper-V will advertise cold memory discard capability, when supported. This patch adds the support to hook into the free page reporting infrastructure and l