All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/4] fix freemem loop
@ 2015-03-06 17:16 Stefano Stabellini
  2015-03-06 17:19 ` [PATCH v2 1/4] Revert "libxl: Wait for ballooning if free memory is increasing" Stefano Stabellini
                   ` (4 more replies)
  0 siblings, 5 replies; 12+ messages in thread
From: Stefano Stabellini @ 2015-03-06 17:16 UTC (permalink / raw)
  To: xen-devel
  Cc: Ian Jackson, mlatimer, Wei Liu, Ian Campbell, Stefano Stabellini

Hi all,

this patch series fixes the freemem loop on machines with very large
amount of memory, where the current wait time is not enough.

In order to be able to handle arbitrarly large amount of ram, we
implement in libxl_wait_for_memory_target a policy of waiting until dom0
is making progress.  The patch series also reverts "libxl: Wait for
ballooning if free memory is increasing", that is not actually
implemented correctly.


Changes on v2:
- update comment in libxl.h for libxl_wait_for_memory_target


Stefano Stabellini (4):
      Revert "libxl: Wait for ballooning if free memory is increasing"
      libxl_wait_for_memory_target: wait as long as dom0 is making progress
      freemem: remove call to libxl_wait_for_free_memory
      libxl_wait_for_memory_target: wait for 2 sec at a time

 tools/libxl/libxl.c      |   31 +++++++++++++++++++++++--------
 tools/libxl/libxl.h      |   14 +++++++++++++-
 tools/libxl/xl_cmdimpl.c |   29 ++++++-----------------------
 3 files changed, 42 insertions(+), 32 deletions(-)


Cheers,

Stefano

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

end of thread, other threads:[~2015-03-11 12:30 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-06 17:16 [PATCH v2 0/4] fix freemem loop Stefano Stabellini
2015-03-06 17:19 ` [PATCH v2 1/4] Revert "libxl: Wait for ballooning if free memory is increasing" Stefano Stabellini
2015-03-09 11:15   ` Wei Liu
2015-03-09 11:26     ` Stefano Stabellini
2015-03-06 17:19 ` [PATCH v2 2/4] libxl_wait_for_memory_target: wait as long as dom0 is making progress Stefano Stabellini
2015-03-09 11:17   ` Wei Liu
2015-03-09 12:41     ` Stefano Stabellini
2015-03-09 12:46       ` Ian Campbell
2015-03-09 12:57       ` Wei Liu
2015-03-06 17:19 ` [PATCH v2 3/4] freemem: remove call to libxl_wait_for_free_memory Stefano Stabellini
2015-03-06 17:19 ` [PATCH v2 4/4] libxl_wait_for_memory_target: wait for 2 sec at a time Stefano Stabellini
2015-03-11 12:30 ` [PATCH v2 0/4] fix freemem loop Ian Campbell

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.