MSHV: Redesign memory deposit logic
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest3 patches 2 repliesIn review
- v13 patches 8 repliesSuperseded
Changes in v2 from the cover letter
o Enhance comments
o In case of contiguous and failure, don't goto err_free_dep_pages but just return also. It should not happen, but if it does, hypevisor will throw error.
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | mshv: Rename memory deposit memory functions to _olddrivers/ | +16 | 0 replies | |
| 2/3 | mshv: Redesign hypervisor memory deposit logicdrivers/ drivers/ include/ | +175 | 2 replies | |
| 3/3 | mshv: Remove unused *_old memory deposit functionsdrivers/ | +0 | 0 replies |
Reviews trailers per patch
All 3 patches have a Reviewed-by or Acked-by.
| Patch | Michael Kelley | Souradeep Chakrabarti |
|---|---|---|
| 1/3 | R-b | |
| 2/3 | R-b | |
| 3/3 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH V2 0/3] MSHV: Redesign memory deposit logic
This small series redesigns the memory deposit logic when Linux runs on Hyper-V hypervisor as a privileged VM, the second patch explains why. The series is split in three patches, the first patch renames the functions to _old and that makes the 2 main patch much easier and nicer to review. Last patch just removes the *_old functions from first patch.
Thanks,
-Mukesh
V2:
o Enhance comments
o In case of contiguous and failure, don't goto err_free_dep_pages but just return also. It should not happen, but if it does, hypevisor will throw error.
V1:
o Remove hv_alloc_contig_pages() and make contiguous allocation part of hv_alloc_dep_pages(), thus getting rid of the kmalloc.
o Instead of stubbing out functions, rename them to *_old.
Mukesh R (3):
mshv: Rename memory deposit memory functions to _old
mshv: Redesign hypervisor memory deposit logic
mshv: Remove unused *_old memory deposit functions
drivers/hv/hv_proc.c | 246 +++++++++++++++++++-------------- drivers/hv/mshv_root_hv_call.c | 10 +- include/asm-generic/mshyperv.h | 5 - 3 files changed, 141 insertions(+), 120 deletions(-)
Signature · 1 line
2.51.2.vfs.0.1