linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v4 0/3] virtio-balloon: some improvements
@ 2018-08-16  7:50 Wei Wang
  2018-08-16  7:50 ` [PATCH v4 1/3] virtio-balloon: remove BUG() in init_vqs Wei Wang
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Wei Wang @ 2018-08-16  7:50 UTC (permalink / raw)
  To: virtio-dev, linux-kernel, virtualization, linux-mm, mst, mhocko,
	akpm, penguin-kernel
  Cc: wei.w.wang

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(-)

-- 
2.7.4


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-08-16  8:19 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-08-16  7:50 [PATCH v4 0/3] virtio-balloon: some improvements Wei Wang
2018-08-16  7:50 ` [PATCH v4 1/3] virtio-balloon: remove BUG() in init_vqs Wei Wang
2018-08-16  7:50 ` [PATCH v4 2/3] virtio-balloon: kzalloc the vb struct Wei Wang
2018-08-16  7:50 ` [PATCH v4 3/3] virtio_balloon: replace oom notifier with shrinker Wei Wang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).