mbox series

[v1,0/3] xen/balloon: PG_offline cleanups

Message ID 20191001090152.1770-1-david@redhat.com (mailing list archive)
Headers show
Series xen/balloon: PG_offline cleanups | expand

Message

David Hildenbrand Oct. 1, 2019, 9:01 a.m. UTC
Some cleanups based on top of:
    [PATCH v1] xen/balloon: Set pages PageOffline() in balloon_add_region()

Make the PG_offline less error prone, by simply setting PG_offline when
they enter the page list and clearing PG_offline when they leave the
page list.

Only compile-tested.

David Hildenbrand (3):
  xen/balloon: Drop __balloon_append()
  xen/balloon: Mark pages PG_offline in balloon_append()
  xen/balloon: Clear PG_offline in balloon_retrieve()

 drivers/xen/balloon.c | 25 +++++++------------------
 1 file changed, 7 insertions(+), 18 deletions(-)