xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v1] Tmem cleanups/improvements for v4.8.
@ 2016-09-28  9:42 Konrad Rzeszutek Wilk
  2016-09-28  9:42 ` [PATCH v1 01/12] libxc/tmem/restore: Remove call to XEN_SYSCTL_TMEM_OP_SAVE_GET_VERSION Konrad Rzeszutek Wilk
                   ` (11 more replies)
  0 siblings, 12 replies; 37+ messages in thread
From: Konrad Rzeszutek Wilk @ 2016-09-28  9:42 UTC (permalink / raw)
  To: xen-devel, konrad

Hey!

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 migration is still broken). And it may have become
a giant series too if I had it all worked out.

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.

Any advice, ideas, etc are more than welcome.

Thanks!

The git tree with these patches is:

 git://xenbits.xen.org/people/konradwilk/xen.git devel/tmem.v4.8.v1.r2

Konrad Rzeszutek Wilk (12):
      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: Wrap tmem dedup code with CONFIG_TMEM_DEDUP
      tmem: Wrap tmem tze code with CONFIG_TMEM_TZE
      tmem: Delete deduplication (and tze) code.
      tmem: Move client weight,frozen,live_migrating, and compress
      tmem/libxc: Squash XEN_SYSCTL_TMEM_OP_[SET|SAVE]..
      tmem: Handle 'struct tmem_info' as a seperate field in the
      tmem: Check version and maxpools when XEN_SYSCTL_TMEM_SET_CLIENT_INFO
      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.

 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                   | 384 ++++--------------------------------
 xen/common/tmem_control.c           | 214 ++++++++++----------
 xen/common/tmem_xen.c               |  28 ---
 xen/include/public/sysctl.h         |  75 +++++--
 xen/include/xen/tmem_xen.h          | 121 +-----------
 12 files changed, 390 insertions(+), 768 deletions(-)


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

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

end of thread, other threads:[~2016-09-30 16:51 UTC | newest]

Thread overview: 37+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-28  9:42 [PATCH v1] Tmem cleanups/improvements for v4.8 Konrad Rzeszutek Wilk
2016-09-28  9:42 ` [PATCH v1 01/12] libxc/tmem/restore: Remove call to XEN_SYSCTL_TMEM_OP_SAVE_GET_VERSION Konrad Rzeszutek Wilk
2016-09-28 11:00   ` Wei Liu
2016-09-28  9:42 ` [PATCH v1 02/12] tmem: Retire XEN_SYSCTL_TMEM_OP_[SET_CAP|SAVE_GET_CLIENT_CAP] Konrad Rzeszutek Wilk
2016-09-28 11:00   ` Wei Liu
2016-09-28 15:03     ` Konrad Rzeszutek Wilk
2016-09-28 12:10   ` Jan Beulich
2016-09-30 14:04     ` Konrad Rzeszutek Wilk
2016-09-28  9:42 ` [PATCH v1 03/12] tmem: Wrap tmem dedup code with CONFIG_TMEM_DEDUP Konrad Rzeszutek Wilk
2016-09-28 12:18   ` Jan Beulich
2016-09-28  9:42 ` [PATCH v1 04/12] tmem: Wrap tmem tze code with CONFIG_TMEM_TZE Konrad Rzeszutek Wilk
2016-09-28 12:19   ` Jan Beulich
2016-09-28  9:42 ` [PATCH v1 05/12] tmem: Delete deduplication (and tze) code Konrad Rzeszutek Wilk
2016-09-28 12:34   ` Jan Beulich
2016-09-28 15:05     ` Konrad Rzeszutek Wilk
2016-09-28  9:42 ` [PATCH v1 06/12] tmem: Move client weight, frozen, live_migrating, and compress Konrad Rzeszutek Wilk
2016-09-28 12:39   ` Jan Beulich
2016-09-28  9:42 ` [PATCH v1 07/12] tmem/libxc: Squash XEN_SYSCTL_TMEM_OP_[SET|SAVE] Konrad Rzeszutek Wilk
2016-09-28 11:06   ` Wei Liu
2016-09-28 12:50   ` Jan Beulich
2016-09-28  9:42 ` [PATCH v1 08/12] tmem: Handle 'struct tmem_info' as a seperate field in the Konrad Rzeszutek Wilk
2016-09-28 11:00   ` Wei Liu
2016-09-28 12:56   ` Jan Beulich
2016-09-30 14:36     ` Konrad Rzeszutek Wilk
2016-09-30 14:56       ` Jan Beulich
2016-09-30 16:51         ` Konrad Rzeszutek Wilk
2016-09-28  9:42 ` [PATCH v1 09/12] tmem: Check version and maxpools when XEN_SYSCTL_TMEM_SET_CLIENT_INFO Konrad Rzeszutek Wilk
2016-09-28 11:00   ` Wei Liu
2016-09-28 12:58   ` Jan Beulich
2016-09-28  9:42 ` [PATCH v1 10/12] tmem: Unify XEN_SYSCTL_TMEM_OP_[[SAVE_[BEGIN|END]|RESTORE_BEGIN] Konrad Rzeszutek Wilk
2016-09-28 11:06   ` Wei Liu
2016-09-28 13:00   ` Jan Beulich
2016-09-28  9:42 ` [PATCH v1 11/12] tmem/xc_tmem_control: Rename 'arg1' to 'len' and 'arg2' to arg Konrad Rzeszutek Wilk
2016-09-28 11:07   ` Wei Liu
2016-09-28  9:42 ` [PATCH v1 12/12] tmem: Batch and squash XEN_SYSCTL_TMEM_OP_SAVE_GET_POOL_[FLAGS, NPAGES, UUID] in one sub-call: XEN_SYSCTL_TMEM_OP_GET_POOLS Konrad Rzeszutek Wilk
2016-09-28 11:07   ` Wei Liu
2016-09-28 13:11   ` Jan Beulich

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