All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4 0/4] use new API for Xen page tables
@ 2020-04-15 18:37 Hongyan Xia
  2020-04-15 18:37 ` [PATCH v4 1/4] x86/shim: map and unmap page tables in replace_va_mapping Hongyan Xia
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Hongyan Xia @ 2020-04-15 18:37 UTC (permalink / raw)
  To: xen-devel
  Cc: Andrew Cooper, julien, Wei Liu, Jan Beulich, Roger Pau Monné

From: Hongyan Xia <hongyxia@amazon.com>

This small series is basically just rewriting functions using the new
API to map and unmap PTEs. Each patch is independent.

Apart from mapping and unmapping page tables, no other functional change
intended.

---
Changed in v4:
- use _ suffix instead of prefix in macros.
- use normal unmap_domain_page() for variable right before end-of-scope.

Changed in v3:
- address all comments in v2.
- drop patch 4, since other clean-ups will make it unnecessary.

Changed in v2:
- I kept UNMAP_DOMAIN_PAGE() for now in v2, but I if people say
  in some cases it is an overkill and unmap_domain_page() should be
  used, I am okay with that and can make the change.
- code cleanup and style fixes.
- unmap as early as possible.

Wei Liu (4):
  x86/shim: map and unmap page tables in replace_va_mapping
  x86_64/mm: map and unmap page tables in m2p_mapped
  x86_64/mm: map and unmap page tables in share_hotadd_m2p_table
  x86_64/mm: map and unmap page tables in destroy_m2p_mapping

 xen/arch/x86/pv/shim.c     |  9 ++++----
 xen/arch/x86/x86_64/mm.c   | 44 +++++++++++++++++++++-----------------
 xen/include/asm-x86/page.h | 19 ++++++++++++++++
 3 files changed, 48 insertions(+), 24 deletions(-)

-- 
2.24.1.AMZN



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

end of thread, other threads:[~2020-04-16  7:09 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-04-15 18:37 [PATCH v4 0/4] use new API for Xen page tables Hongyan Xia
2020-04-15 18:37 ` [PATCH v4 1/4] x86/shim: map and unmap page tables in replace_va_mapping Hongyan Xia
2020-04-16  7:08   ` Jan Beulich
2020-04-15 18:37 ` [PATCH v4 2/4] x86_64/mm: map and unmap page tables in m2p_mapped Hongyan Xia
2020-04-15 18:37 ` [PATCH v4 3/4] x86_64/mm: map and unmap page tables in share_hotadd_m2p_table Hongyan Xia
2020-04-15 18:37 ` [PATCH v4 4/4] x86_64/mm: map and unmap page tables in destroy_m2p_mapping Hongyan Xia
2020-04-16  7:09   ` Jan Beulich

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.