Skip to content

Do not map unaccepted memory

Adrian Hunter kexec linux-coco linux-efi linux-fsdevel linux-mm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 20 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3proc/vmcore: Do not map unaccepted memoryfs/proc/vmcore.c+12 -310 replies
2/3proc/kcore: Do not map unaccepted memoryfs/proc/kcore.c+9 -12 replies
3/3/dev/mem: Do not map unaccepted memorydrivers/char/mem.c+7 -27 replies

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchKirill A. Shutemov
SeriesR-b
1/3
2/3
3/3

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/3] Do not map unaccepted memory

Hi

Support for unaccepted memory was added recently, refer commit dcdfdd40fa82 ("mm: Add support for unaccepted memory"), whereby a virtual machine may need to accept memory before it can be used.

Plug a few gaps where RAM is exposed without checking if it is unaccepted memory.

Adrian Hunter (3):
proc/vmcore: Do not map unaccepted memory
proc/kcore: Do not map unaccepted memory
/dev/mem: Do not map unaccepted memory

 drivers/char/mem.c |  9 +++++++--
 fs/proc/kcore.c    | 10 +++++++++-
 fs/proc/vmcore.c   | 15 ++++++++++++---
 3 files changed, 28 insertions(+), 6 deletions(-)

Regards
Adrian