Re: [PATCH V4 1/5] mshv: Add gfp flags to deposit memory logic

From: Easwar Hariharan

Date: Wed Nov 04 2026 - 23:51:58 EST


On 11/4/2026 18:01, Mukesh R wrote:
> Currently GFP_KERNEL is hard coded in hv_alloc_dep_pages(). Add gfp_flags
> parameter so it can be called in atomic context from map_pages callback in
> struct iommu_domain_ops and other places in future. A new function
> hv_deposit_memory_gfp() is added to facilitate this, so hv_deposit_memory()
> can continue to function as is.
>
> Signed-off-by: Mukesh R <mrathor@xxxxxxxxxxxxxxxxxxx>
> ---
> drivers/hv/hv_proc.c | 20 +++++++++++---------
> include/asm-generic/mshyperv.h | 14 +++++++++++---
> 2 files changed, 22 insertions(+), 12 deletions(-)
> <snip>

Reviewed-by: Easwar Hariharan <easwar.hariharan@xxxxxxxxxxxxxxxxxxx>