Skip to content

xen: continue to cleanup tmem

Bob Liu xen-devel 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest15 patches 7 repliesIn review
  2. v315 patches 3 repliesSuperseded
  3. v216 patches 6 repliesSuperseded

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/15tmem: cleanup: drop unused sub commandxen/common/tmem.c xen/include/public/tmem.h+4 -230 replies
2/15tmem: cleanup: drop some debug codexen/common/tmem.c xen/common/tmem_xen.c xen/include/xen/tmem_xen.h+36 -2120 replies
3/15tmem: cleanup: drop useless function 'tmem_copy_page'xen/common/tmem_xen.c+2 -70 replies
4/15tmem: cleanup: drop useless parameters from put/get pagexen/common/tmem.c xen/common/tmem_xen.c xen/include/xen/tmem_xen.h+31 -670 replies
5/15tmem: cleanup: reorg function do_tmem_put()xen/common/tmem.c+49 -370 replies
6/15tmem: drop unneeded is_ephemeral() and is_private()xen/common/tmem.c+9 -110 replies
7/15tmem: cleanup: rm useless EXPORT/FORWARD definexen/common/tmem.c xen/common/tmem_xen.c+24 -300 replies
8/15tmem: cleanup: drop tmem_lock_allxen/common/tmem.c xen/common/tmem_xen.c xen/include/xen/tmem_xen.h+100 -1860 replies
9/15tmem: cleanup: refactor the alloc/free pathxen/common/tmem.c xen/common/tmem_xen.c xen/include/xen/tmem_xen.h+102 -950 replies
10/15tmem: cleanup: __tmem_alloc_page: drop unneed parametersxen/common/tmem.c xen/include/xen/tmem_xen.h+10 -120 replies
11/15tmem: cleanup: drop useless functions from head filexen/common/domain.c xen/common/tmem.c xen/include/xen/sched.h +1 more+16 -447 replies
12/15tmem: refator function tmem_ensure_avail_pages()xen/common/tmem.c xen/include/xen/tmem_xen.h+20 -180 replies
13/15tmem: cleanup: rename tmem_relinquish_npages()xen/common/tmem.c+2 -20 replies
14/15tmem: cleanup: rm unused tmem_freeze_all()xen/common/tmem.c+0 -130 replies
15/15tmem: check the return value of copy to guestxen/common/tmem.c xen/include/xen/tmem_xen.h+20 -280 replies

Reviews trailers per patch

1 of 15 patches has a Reviewed-by or Acked-by.

PatchKeir Fraser
1/15
2/15
3/15
4/15
5/15
6/15
7/15
8/15
9/15
10/15
11/15A-b
12/15
13/15
14/15
15/15

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [PATCH v4 00/15] xen: continue to cleanup tmem

This is my v4 tmem cleanup patches, it is rebased on commit d96392361cd05a66b385f0153e398128b196e480:

xen: arm: correct return value of raw_copy_{to/from}_guest_*, raw_clear_guest (2013-12-09 15:31:39 +0000)

Konrad, when you send out pull request please help me adding the correct CIDs to patch [PATCH v4 08/15] tmem: cleanup: drop tmem_lock_all
and
[PATCH v4 15/15] tmem: check the return value of copy to guest

Changlog v4:
* Drop patch 'tmem: cleanup: drop runtime statistics' which is not suitable for 4.4
* Add a new patch [15/15] to check the return value of copy to guest

Changlog v3:
* Change 'void *tmem' to 'struct client *tmem_client' in struct domain(Andrew)
* Add more comment in the commit log(Konrad)

Changlog v2:
* Fix the public head file issue introduced my commit 006a687ba4de74
* Fix some issues based on the feedback from Konrad Wilk

Bob Liu (15):
tmem: cleanup: drop unused sub command
tmem: cleanup: drop some debug code
tmem: cleanup: drop useless function 'tmem_copy_page'
tmem: cleanup: drop useless parameters from put/get page
tmem: cleanup: reorg function do_tmem_put()
tmem: drop unneeded is_ephemeral() and is_private()
tmem: cleanup: rm useless EXPORT/FORWARD define
tmem: cleanup: drop tmem_lock_all
tmem: cleanup: refactor the alloc/free path
tmem: cleanup: __tmem_alloc_page: drop unneed parameters
tmem: cleanup: drop useless functions from head file
tmem: refator function tmem_ensure_avail_pages()
tmem: cleanup: rename tmem_relinquish_npages()
tmem: cleanup: rm unused tmem_freeze_all()
tmem: check the return value of copy to guest

 xen/common/domain.c        |    4 +-
 xen/common/tmem.c          |  855 +++++++++++++++++++-------------------------
 xen/common/tmem_xen.c      |  147 ++------
 xen/include/public/tmem.h  |    4 +-
 xen/include/xen/sched.h    |    2 +-
 xen/include/xen/tmem_xen.h |  144 +-------
 6 files changed, 398 insertions(+), 758 deletions(-)
Signature · 1 line
1.7.10.4