Skip to content

kvm: Use huge pages for DAX-backed files

Barret Rhoden kvm linux-nvdimm lkml nvdimm 5 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest2 patches 19 repliesIn review
  2. v42 patches 16 repliesSuperseded
  3. v33 patches 2 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v23 patches6 repliesSuperseded
v12 patches10 repliesSuperseded

Changes in v5 from the cover letter

v4: https://lore.kernel.org/lkml/[email protected]/
- Rebased onto kvm/queue
- Removed the switch statement and fixed PUD_SIZE; just use dev_pagemap_mapping_shift() > PAGE_SHIFT
- Added explanation of parameter changes to patch 1's commit message

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2mm: make dev_pagemap_mapping_shift() externally visibleinclude/linux/mm.h mm/memory-failure.c mm/util.c+40 -355 replies
2/2kvm: Use huge pages for DAX-backed filesarch/x86/kvm/mmu/mmu.c+27 -414 replies

Reviews trailers per patch

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

PatchDavid HildenbrandDan Williams
1/2R-b A-b
2/2

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

Read the v5 thread

Cover letter [PATCH v5 0/2] kvm: Use huge pages for DAX-backed files

This patchset allows KVM to map huge pages for DAX-backed files.

v4 -> v5:
v4: https://lore.kernel.org/lkml/[email protected]/
- Rebased onto kvm/queue
- Removed the switch statement and fixed PUD_SIZE; just use dev_pagemap_mapping_shift() > PAGE_SHIFT
- Added explanation of parameter changes to patch 1's commit message

v3 -> v4:
v3: https://lore.kernel.org/lkml/[email protected]/
- Rebased onto linus/master

v2 -> v3:
v2: https://lore.kernel.org/lkml/[email protected]/
- Updated Acks/Reviewed-by
- Rebased onto linux-next

v1 -> v2:
https://lore.kernel.org/lkml/[email protected]/
- Updated Acks/Reviewed-by
- Minor touchups
- Added patch to remove redundant PageReserved() check
- Rebased onto linux-next

RFC/discussion thread:
https://lore.kernel.org/lkml/[email protected]/

Barret Rhoden (2):
mm: make dev_pagemap_mapping_shift() externally visible
kvm: Use huge pages for DAX-backed files

 arch/x86/kvm/mmu/mmu.c | 31 +++++++++++++++++++++++++++----
 include/linux/mm.h     |  3 +++
 mm/memory-failure.c    | 38 +++-----------------------------------
 mm/util.c              | 34 ++++++++++++++++++++++++++++++++++
 4 files changed, 67 insertions(+), 39 deletions(-)
Signature · 1 line
2.24.0.525.g8f36a354ae-goog