History

Merge tag 'for-linus-5.9-rc4-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip

Pull xen updates from Juergen Gross: "A small series for fixing a problem with Xen PVH guests when running as backends (e.g. as dom0). Mapping other guests' memory is now working via ZONE_DEVICE, thus not requiring to abuse the memory hotplug functionality for that purpose" * tag 'for-linus-5.9-rc4-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip: xen: add helpers to allocate unpopulated memory memremap: rename MEMORY_DEVICE_DEVDAX to MEMORY_DEVICE_GENERIC xen/balloon: add header guard

Linus Torvalds committed 6 years ago

Commit 68beef52 parents dd9fb9b 9e2369c14 files · +229 −22Browse files

Showing the changes to include/linux (1 of 14 files). Show all

Unified · Split

include/linux/memremap.h+4−5
@@ -46,11 +46,10 @@ struct vmem_altmap { · 45 unmodified lines
4646 * wakeup is used to coordinate physical address space management (ex:
4747 * fs truncate/hole punch) vs pinned pages (ex: device dma).
4848 *
49− * MEMORY_DEVICE_DEVDAX:
49+ * MEMORY_DEVICE_GENERIC:
5050 * Host memory that has similar access semantics as System RAM i.e. DMA
51− * coherent and supports page pinning. In contrast to
52− * MEMORY_DEVICE_FS_DAX, this memory is access via a device-dax
53− * character device.
51+ * coherent and supports page pinning. This is for example used by DAX devices
52+ * that expose memory using a character device.
5453 *
5554 * MEMORY_DEVICE_PCI_P2PDMA:
5655 * Device memory residing in a PCI BAR intended for use with Peer-to-Peer
@@ -60,7 +59,7 @@ enum memory_type { · 3 unmodified lines
6059 /* 0 is reserved to catch uninitialized type fields */
6160 MEMORY_DEVICE_PRIVATE = 1,
6261 MEMORY_DEVICE_FS_DAX,
63− MEMORY_DEVICE_DEVDAX,
62+ MEMORY_DEVICE_GENERIC,
6463 MEMORY_DEVICE_PCI_P2PDMA,
6564 };
6665