Skip to content

xen: map foreign pages for shared rings by updating the PTEs directly

David Vrabel xen-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4xen: use generic functions instead of xen_{alloc, free}_vm_area()arch/ia64/include/asm/xen/grant_table.h arch/ia64/xen/grant-table.c arch/x86/include/asm/xen/grant_table.h +3 more+4 -1030 replies
2/4block: xen-blkback: use API provided by xenbus module to map ringsdrivers/block/xen-blkback/common.h drivers/block/xen-blkback/xenbus.c+8 -510 replies
3/4net: xen-netback: use API provided by xenbus module to map ringsdrivers/net/xen-netback/common.h drivers/net/xen-netback/netback.c+22 -690 replies
4/4xen: map foreign pages for shared rings by updating the PTEs directlyarch/x86/xen/grant-table.c drivers/xen/xenbus/xenbus_client.c include/linux/vmalloc.h +1 more+23 -190 replies

Reviews trailers per patch

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

PatchIan Campbell
1/4
2/4
3/4A-b
4/4

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

Read the v1 thread

Cover letter [PATCH 0/4] xen: map foreign pages for shared rings by updating the PTEs directly

[Resend as requested by Konrad.]

This series of patches allows the vmalloc_sync_all() to be removed from alloc_vm_area() by getting the hypervisor to update the PTEs (in init_mm) directly rather than having the hypervisor look in the current page tables to find the PTEs.

Once the hypervisor has updated the PTEs, the normal mechanism of syncing the page tables after a fault works as expected.

This mechanism doesn't currently work on the ia64 port as that does not support the GNTMAP_contains_pte flag.

David