Messages in this thread | | | Date | Tue, 26 Jan 2021 17:11:21 +0000 | From | Wei Liu <> | Subject | Re: [PATCH v3] x86/Hyper-V: Support for free page reporting |
| |
On Wed, Jan 06, 2021 at 11:20:33PM +0000, 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 adds the support to hook into the free > page reporting infrastructure and leverage the Hyper-V cold memory > discard hint hypercall to report/free these pages back to the host. > > Signed-off-by: Sunil Muthuswamy <sunilmut@microsoft.com> > Tested-by: Matheus Castello <matheus@castello.eng.br>
Reviewed-by: Wei Liu <wei.liu@kernel.org>
| |