Skip to content

xen: don't call vmalloc_sync_all() when mapping foreign pages

David Vrabel lkml xen-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 9 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6xen: add functions for mapping foreign pages over pagesdrivers/xen/xenbus/xenbus_client.c include/xen/xenbus.h+71 -00 replies
2/6block: xen-blkback: use API provided by xenbus module to map ringsdrivers/block/xen-blkback/common.h drivers/block/xen-blkback/xenbus.c+9 -510 replies
3/6net: xen-netback: use API provided by xenbus module to map ringsdrivers/net/xen-netback/common.h drivers/net/xen-netback/netback.c+23 -690 replies
4/6xen: xen-pciback: use xenbus_map_ring_page() to map ringsdrivers/xen/xen-pciback/pciback.h drivers/xen/xen-pciback/xenbus.c+4 -40 replies
5/6xen: xenbus: remove xenbus_map_ring_valloc() and xenbus_map_ring_vfree()arch/ia64/xen/grant-table.c drivers/xen/xenbus/xenbus_client.c include/xen/xenbus.h+7 -1230 replies
6/6mm: remove vmalloc_sync_all() from alloc_vm_area()mm/vmalloc.c+1 -110 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/6] xen: don't call vmalloc_sync_all() when mapping foreign pages

This set of pages avoids the need to call vmalloc_sync_all() when mapping foreign pages. Two new functions are adding for mapping foreign pages onto RAM pages instead of vmalloc space.

This does waste a page of RAM for each mapped page. In the future a ballooned page could be used instead (once the API for getting a ballooned page with the right GFP flags is available).

David