xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [RFC PATCH 00/11] tmem: some basic cleanup
@ 2013-11-04 12:40 Bob Liu
  2013-11-04 12:40 ` [PATCH 01/11] tmem: cleanup: drop COMPARE_COPY_PAGE_SSE2 Bob Liu
                   ` (11 more replies)
  0 siblings, 12 replies; 18+ messages in thread
From: Bob Liu @ 2013-11-04 12:40 UTC (permalink / raw)
  To: xen-devel; +Cc: Bob Liu, keir, ian.campbell, JBeulich

There are too many typedefs and referenced once functions in tmem, perhaps the
reason was tmem was designed can be ported to other hypersivor easily.
But when I try to read tmem source code, some of them are not very
straightforward. This patchset try to clean up them. It's only my thoughts so I
tag this patchset with RFC.

Bob Liu (11):
  tmem: cleanup: drop COMPARE_COPY_PAGE_SSE2
  tmem: cleanup: drop pfp_t typedef
  tmem: cleanup: drop tmem_cli_mfn_t typedef
  tmem: cleanup: rename 'tmh_' with 'tmem_'
  tmem: cleanup: drop most of the typedefs
  tmem: cleanup: drop tmem_alloc/free_infra
  tmem: cleanup: drop tmem_client_t
  tmem: cleanup: drop useless wrap function
  tmem: cleanup: drop unused function 'domain_fully_allocated'
  tmem: cleanup: drop useless _subpage function wrap
  tmem: cleanup: drop unneeded functions

 xen/common/tmem.c          |  851 ++++++++++++++++++++++----------------------
 xen/common/tmem_xen.c      |  171 +++------
 xen/include/public/tmem.h  |    3 +-
 xen/include/xen/tmem_xen.h |  252 ++++---------
 4 files changed, 541 insertions(+), 736 deletions(-)

-- 
1.7.10.4

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

end of thread, other threads:[~2013-11-05 14:57 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-04 12:40 [RFC PATCH 00/11] tmem: some basic cleanup Bob Liu
2013-11-04 12:40 ` [PATCH 01/11] tmem: cleanup: drop COMPARE_COPY_PAGE_SSE2 Bob Liu
2013-11-04 12:40 ` [PATCH 02/11] tmem: cleanup: drop typedef pfp_t Bob Liu
2013-11-04 12:40 ` [PATCH 03/11] tmem: cleanup: drop typedef tmem_cli_mfn_t Bob Liu
2013-11-04 12:40 ` [PATCH 04/11] tmem: cleanup: rename 'tmh_' with 'tmem_' Bob Liu
2013-11-04 12:40 ` [PATCH 05/11] tmem: cleanup: drop most of the typedefs Bob Liu
2013-11-04 12:40 ` [PATCH 06/11] tmem: cleanup: drop function tmem_alloc/free_infra Bob Liu
2013-11-04 12:40 ` [PATCH 07/11] tmem: cleanup: drop typedef tmem_client_t Bob Liu
2013-11-04 12:40 ` [PATCH 08/11] tmem: cleanup: drop useless wrap functions Bob Liu
2013-11-04 12:40 ` [PATCH 09/11] tmem: cleanup: drop unused function 'domain_fully_allocated' Bob Liu
2013-11-04 12:40 ` [PATCH 10/11] tmem: cleanup: drop useless '_subpage' wrap functions Bob Liu
2013-11-04 12:40 ` [PATCH 11/11] tmem: cleanup: drop useless functions Bob Liu
2013-11-04 15:56 ` [RFC PATCH 00/11] tmem: some basic cleanup Jan Beulich
2013-11-04 16:48   ` Konrad Rzeszutek Wilk
2013-11-05  2:04   ` Bob Liu
2013-11-05  9:03     ` Jan Beulich
2013-11-05 14:46       ` Konrad Rzeszutek Wilk
2013-11-05 14:57         ` 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).