Thread (29 messages) 29 messages, 9 authors, 2018-11-16

Re: [PATCH RFC 0/6] mm/kdump: allow to exclude pages that are logically offline

From: David Hildenbrand <hidden>
Date: 2018-11-14 23:05:38
Also in: linux-fsdevel, linux-mm, linux-pm, lkml

On 14.11.18 23:57, Nadav Amit wrote:
From: David Hildenbrand
Sent: November 14, 2018 at 9:16:58 PM GMT
quoted
Subject: [PATCH RFC 0/6] mm/kdump: allow to exclude pages that are logically offline


Right now, pages inflated as part of a balloon driver will be dumped
by dump tools like makedumpfile. While XEN is able to check in the
crash kernel whether a certain pfn is actuall backed by memory in the
hypervisor (see xen_oldmem_pfn_is_ram) and optimize this case, dumps of
virtio-balloon and hv-balloon inflated memory will essentially result in
zero pages getting allocated by the hypervisor and the dump getting
filled with this data.
Is there any reason that VMware balloon driver is not mentioned?
Definitely ...

... not ;) . I haven't looked at vmware's balloon driver yet (I only saw
that there was quite some activity recently). I guess it should have
similar problems. (I mean reading and dumping data nobody cares about is
certainly not desired)

Can you share if something like this is also desired for vmware's
implementation? (I tagged this as RFC to get some more feedback)

It should in theory be as simple as adding a handful of
_SetPageOffline()/_ClearPageOffline() at the right spots.

-- 

Thanks,

David / dhildenb
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help