[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH v2] Tmem cleanups/improvements for v4.8.



Hey!

Since v1: [https://lists.xen.org/archives/html/xen-devel/2016-09/msg03035.html]
 - Squashes some patches
 - Added Wei's Acked-by
 - Reworked some patches.

This batch of fixes slowly marches toward ripping out pieces
of code in tmem that are hard to maintain and improve on code
that was orginacally developed.

I had hoped that I would have had the migration support all
working, but it took longer than I thought to get to this
point. And it may have become a giant series too.

Anyhow please take a peek at the patches. The first
couple of them should be fairly easy. The rest are more of
squashing various subcommands in one.

Thanks!

The git tree with these patches is:

 git://xenbits.xen.org/people/konradwilk/xen.git  tmem.v4.8.v2

 docs/man/xl.pod.1.in                |   4 -
 docs/misc/xen-command-line.markdown |   6 -
 tools/libxc/include/xenctrl.h       |   4 +-
 tools/libxc/xc_tmem.c               | 272 ++++++++++++-------------
 tools/libxl/libxl.c                 |  30 ++-
 tools/libxl/xl_cmdtable.c           |   1 -
 tools/python/xen/lowlevel/xc/xc.c   |  19 +-
 xen/common/tmem.c                   | 386 ++++--------------------------------
 xen/common/tmem_control.c           | 211 +++++++++++---------
 xen/common/tmem_xen.c               |  28 ---
 xen/include/public/sysctl.h         |  76 +++++--
 xen/include/xen/tmem_xen.h          | 121 +----------
 12 files changed, 388 insertions(+), 770 deletions(-)


382 lines of code deleted!!! WOOHOO


Konrad Rzeszutek Wilk (9):
      libxc/tmem/restore: Remove call to XEN_SYSCTL_TMEM_OP_SAVE_GET_VERSION
      tmem: Retire XEN_SYSCTL_TMEM_OP_[SET_CAP|SAVE_GET_CLIENT_CAP]
      tmem: Delete deduplication (and tze) code.
      tmem: Move client weight, frozen, live_migrating, and compress
      tmem/sysctl: Add union in struct xen_sysctl_tmem_op
      tmem/libxc: Squash XEN_SYSCTL_TMEM_OP_[SET|SAVE]..
      tmem: Unify XEN_SYSCTL_TMEM_OP_[[SAVE_[BEGIN|END]|RESTORE_BEGIN]
      tmem/xc_tmem_control: Rename 'arg1' to 'len' and 'arg2' to arg.
      tmem: Batch and squash 
XEN_SYSCTL_TMEM_OP_SAVE_GET_POOL_[FLAGS,NPAGES,UUID]     in one sub-call: 
XEN_SYSCTL_TMEM_OP_GET_POOLS.


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.