User: Password:
|
|
Subscribe / Log in / New account

virtio_balloon: add pressure notification via a new virtqueue

From:  Luiz Capitulino <lcapitulino@redhat.com>
To:  linux-kernel@vger.kernel.org
Subject:  [RFC PATCH 0/4] virtio_balloon: add pressure notification via a new virtqueue
Date:  Thu, 16 Jan 2014 11:24:01 -0500
Message-ID:  <1389889445-3855-1-git-send-email-lcapitulino@redhat.com>
Cc:  kvm@vger.kernel.org, riel@redhat.com, aarcange@redhat.com, aquini@redhat.com, mst@redhat.com, rusty@rustcorp.com.au, vdavydov@parallels.com, amit.shah@redhat.com, dfediuck@redhat.com, agl@us.ibm.com
Archive-link:  Article

The pressure notification added to the virtio-balloon driver by this series
is going to be used by the host (QEMU, in this case) to implement automatic
balloning support. More details in patch 3/4 and patch 4/4.

Patch 1/4 adds in-kernel vmpressure support and is not really part of this
series, it's added here for the convenience of someone who wants to try
automatic ballooning. Patch 2/4 is a hack to make in-kernel vmpressure work
for something not related to cgroups, I'll improve it in later versions.

Glauber Costa (1):
  vmpressure: in-kernel notifications

Luiz capitulino (3):
  vmpressure in-kernel: hack
  virtio_balloon: add pressure notification via a new virtqueue
  virtio_balloon: skip inflation if guest is under pressure

 drivers/virtio/virtio_balloon.c     | 100 ++++++++++++++++++++++++++++++++----
 include/linux/vmpressure.h          |   6 +++
 include/uapi/linux/virtio_balloon.h |   1 +
 mm/vmpressure.c                     |  58 +++++++++++++++++++--
 4 files changed, 151 insertions(+), 14 deletions(-)

-- 
1.8.1.4
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Copyright © 2014, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds