virtio-balloon: some improvements
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest3 patches 0 repliesNew
- v3 posting 2/22 patches 15 repliesSuperseded
- v3 posting 1/20 of 2 patches 0 repliesSuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v2 | 2 patches | 22 replies | Superseded |
Changes in v4 from the cover letter
- use kzalloc to allocate the vb struct so that we don't need to zero initialize each field one by one later;
- also remove vb->shrinker.batch = 0, which is not needed now. v2->v3:
- shrink the balloon pages according to the amount requested by the claimer, instead of using a user specified number;
Patches in v4 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | virtio-balloon: remove BUG() in init_vqsdrivers/ | +7 | 0 replies | |
| 1/3 | virtio-balloon: remove BUG() in init_vqsdrivers/ | +7 | 0 replies | |
| 2/3 | virtio-balloon: kzalloc the vb structdrivers/ | +1 | 0 replies | |
| 2/3 | virtio-balloon: kzalloc the vb structdrivers/ | +1 | 0 replies | |
| 3/3 | virtio_balloon: replace oom notifier with shrinkerdrivers/ | +59 | 0 replies | |
| 3/3 | virtio_balloon: replace oom notifier with shrinkerdrivers/ | +59 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.
Cover letter [PATCH v4 0/3] virtio-balloon: some improvements
This series is split from the "Virtio-balloon: support free page reporting" series to make some improvements.
ChangeLog:v3->v4:
- use kzalloc to allocate the vb struct so that we don't need to zero initialize each field one by one later;
- also remove vb->shrinker.batch = 0, which is not needed now. v2->v3:
- shrink the balloon pages according to the amount requested by the claimer, instead of using a user specified number;v1->v2:
- register the shrinker when VIRTIO_BALLOON_F_DEFLATE_ON_OOM is negotiated.
Wei Wang (3):
virtio-balloon: remove BUG() in init_vqs
virtio-balloon: kzalloc the vb struct
virtio_balloon: replace oom notifier with shrinker
drivers/virtio/virtio_balloon.c | 125 +++++++++++++++++++++------------------- 1 file changed, 67 insertions(+), 58 deletions(-)
Signature · 1 line
2.7.4