linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v1 0/3] xen/balloon: PG_offline cleanups
@ 2019-10-01  9:01 David Hildenbrand
  2019-10-01  9:01 ` [PATCH v1 1/3] xen/balloon: Drop __balloon_append() David Hildenbrand
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: David Hildenbrand @ 2019-10-01  9:01 UTC (permalink / raw)
  To: linux-kernel; +Cc: linux-mm, xen-devel, David Hildenbrand

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

-- 
2.21.0



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

end of thread, other threads:[~2019-10-02  7:56 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-01  9:01 [PATCH v1 0/3] xen/balloon: PG_offline cleanups David Hildenbrand
2019-10-01  9:01 ` [PATCH v1 1/3] xen/balloon: Drop __balloon_append() David Hildenbrand
2019-10-01 17:45   ` Boris Ostrovsky
2019-10-02  7:47     ` David Hildenbrand
2019-10-02  7:56       ` Jürgen Groß
2019-10-01  9:01 ` [PATCH v1 2/3] xen/balloon: Mark pages PG_offline in balloon_append() David Hildenbrand
2019-10-01  9:01 ` [PATCH v1 3/3] xen/balloon: Clear PG_offline in balloon_retrieve() David Hildenbrand

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