[RFC 06/27] vhost: don't dump unneeded pages with IOTLB

Mike Pattrick mkp at redhat.com
Thu Apr 20 19:11:39 CEST 2023


On Fri, Mar 31, 2023 at 11:43 AM Maxime Coquelin
<maxime.coquelin at redhat.com> wrote:
>
> On IOTLB entry removal, previous fixes took care of not
> marking pages shared with other IOTLB entries as DONTDUMP.
>
> However, if an IOTLB entry is spanned on multiple pages,
> the other pages were kept as DODUMP while they might not
> have been shared with other entries, increasing needlessly
> the coredump size.
>
> This patch addresses this issue by excluding only the
> shared pages from madvise's DONTDUMP.
>
> Fixes: dea092d0addb ("vhost: fix madvise arguments alignment")
> Cc: stable at dpdk.org
>
> Signed-off-by: Maxime Coquelin <maxime.coquelin at redhat.com>

Looks good to me.

Acked-by: Mike Pattrick <mkp at redhat.com>



More information about the stable mailing list