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

From
Easwar Hariharan <hidden>
Date
2026-11-05 04:51:15
Also in
linux-arch, linux-iommu, lkml
Reply to
Mukesh R, 2026-11-05
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 <redacted>
---
 drivers/hv/hv_proc.c           | 20 +++++++++++---------
 include/asm-generic/mshyperv.h | 14 +++++++++++---
 2 files changed, 22 insertions(+), 12 deletions(-)
<snip>
Reviewed-by: Easwar Hariharan <redacted>
Thread (18 messages) 18 messages, 4 authors, last reply 5d ago
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help