All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH RFC 00/13] Refactor x86/mm.c
@ 2017-03-27  9:10 Wei Liu
  2017-03-27  9:10 ` [PATCH RFC 01/13] x86/mm: export {get,put}_pg_owner Wei Liu
                   ` (12 more replies)
  0 siblings, 13 replies; 30+ messages in thread
From: Wei Liu @ 2017-03-27  9:10 UTC (permalink / raw)
  To: Xen-devel; +Cc: George Dunlap, Andrew Cooper, Tim Deegan, Wei Liu, Jan Beulich

This series splits x86/mm.c into PV and HVM specific files.

The long term goal is to have clear separation of guest supporting
code so that we can disable modes as we see fit. This would also help
a later project to move PV interface into a PVH container.

I think if I try harder some of the page manipulation code can be
split further. But I started this series with the intent to move three
PV only hypercalls into pv/mm.c and now it has grown into a long
series. I would rather leave further splitting to another day.

RFC at the moment as it still awaits testing. And I would like some
opinions before I spend more effort on this.

Wei.

Cc: Jan Beulich <jbeulich@suse.com>
Cc: Andrew Cooper <andrew.cooper3@citrix.com>
Cc: Tim Deegan <tim@xen.org>
Cc: George Dunlap <george.dunlap@eu.citrix.com>

Wei Liu (13):
  x86/mm: export {get,put}_pg_owner
  x86/mm: move MEM_LOG to asm-x86/mm.h
  x86/mm: export vcpumask_to_pcpumask
  x86/mm: carve out create_grant_pv_mapping
  x86/mm: carve out replace_grant_pv_mapping
  x86/mm: extract page table masks to mm.h
  x86/mm: extract PAGE_CACHE_ATTRS to mm.h
  x86/mm: extract adjust_guest_l*e macros to mm.h
  x86/mm: export a bunch of {get,put}_page functions
  x86/mm: export invalidate_shadow_ldt
  x86/mm: export create_pae_xen_mappings
  x86/mm: split PV MMU code to pv/mm.c
  x86/mm: split HVM grant table code to hvm/mm.c

 xen/arch/x86/hvm/Makefile |    1 +
 xen/arch/x86/hvm/mm.c     |   84 ++
 xen/arch/x86/mm.c         | 2095 ++-------------------------------------------
 xen/arch/x86/pv/Makefile  |    1 +
 xen/arch/x86/pv/mm.c      | 1902 ++++++++++++++++++++++++++++++++++++++++
 xen/include/asm-x86/mm.h  |  108 +++
 6 files changed, 2158 insertions(+), 2033 deletions(-)
 create mode 100644 xen/arch/x86/hvm/mm.c
 create mode 100644 xen/arch/x86/pv/mm.c

-- 
2.11.0


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

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

end of thread, other threads:[~2017-04-03 14:18 UTC | newest]

Thread overview: 30+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-27  9:10 [PATCH RFC 00/13] Refactor x86/mm.c Wei Liu
2017-03-27  9:10 ` [PATCH RFC 01/13] x86/mm: export {get,put}_pg_owner Wei Liu
2017-03-28 21:11   ` [PATCH RFC 01/13] x86/mm: export {get, put}_pg_owner Andrew Cooper
2017-03-29  9:03     ` Jan Beulich
2017-03-29  9:10       ` Andrew Cooper
2017-03-30 10:07         ` Wei Liu
2017-03-30 12:25           ` Jan Beulich
2017-03-30 12:48             ` Wei Liu
2017-03-27  9:10 ` [PATCH RFC 02/13] x86/mm: move MEM_LOG to asm-x86/mm.h Wei Liu
2017-03-28 21:14   ` Andrew Cooper
2017-03-29 10:50     ` Wei Liu
2017-03-27  9:10 ` [PATCH RFC 03/13] x86/mm: export vcpumask_to_pcpumask Wei Liu
2017-03-29 10:15   ` Andrew Cooper
2017-03-29 10:49     ` Wei Liu
2017-03-27  9:10 ` [PATCH RFC 04/13] x86/mm: carve out create_grant_pv_mapping Wei Liu
2017-03-29 10:27   ` Andrew Cooper
2017-03-29 10:45     ` Jan Beulich
2017-03-29 10:49       ` Andrew Cooper
2017-03-29 11:02         ` Wei Liu
2017-04-03  8:40     ` Wei Liu
2017-04-03 14:05       ` Andrew Cooper
2017-03-27  9:10 ` [PATCH RFC 05/13] x86/mm: carve out replace_grant_pv_mapping Wei Liu
2017-03-27  9:10 ` [PATCH RFC 06/13] x86/mm: extract page table masks to mm.h Wei Liu
2017-03-27  9:10 ` [PATCH RFC 07/13] x86/mm: extract PAGE_CACHE_ATTRS " Wei Liu
2017-03-27  9:10 ` [PATCH RFC 08/13] x86/mm: extract adjust_guest_l*e macros " Wei Liu
2017-03-27  9:10 ` [PATCH RFC 09/13] x86/mm: export a bunch of {get, put}_page functions Wei Liu
2017-03-27  9:10 ` [PATCH RFC 10/13] x86/mm: export invalidate_shadow_ldt Wei Liu
2017-03-27  9:10 ` [PATCH RFC 11/13] x86/mm: export create_pae_xen_mappings Wei Liu
2017-03-27  9:10 ` [PATCH RFC 12/13] x86/mm: split PV MMU code to pv/mm.c Wei Liu
2017-03-27  9:10 ` [PATCH RFC 13/13] x86/mm: split HVM grant table code to hvm/mm.c Wei Liu

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.