Re: [PATCH v3] vhost: exclude VM hugepages from coredumps

2023-02-22 Thread Mike Pattrick
On Tue, Feb 21, 2023 at 11:26 AM Maxime Coquelin wrote: > > Hi Mike, > > On 2/10/23 22:12, Mike Pattrick wrote: > > On Fri, Feb 10, 2023 at 10:53 AM David Marchand > > wrote: > >> > >> Hello Mike, > >> > >> On Wed, Dec 7, 2022 at 5:54 PM Mike Pattrick wrote: > >>> > >>> Currently if an applicati

Re: [PATCH v3] vhost: exclude VM hugepages from coredumps

2023-02-21 Thread Maxime Coquelin
Hi Mike, On 2/10/23 22:12, Mike Pattrick wrote: On Fri, Feb 10, 2023 at 10:53 AM David Marchand wrote: Hello Mike, On Wed, Dec 7, 2022 at 5:54 PM Mike Pattrick wrote: Currently if an application wants to include shared hugepages in coredumps in conjunction with the vhost library, the core

Re: [PATCH v3] vhost: exclude VM hugepages from coredumps

2023-02-10 Thread Mike Pattrick
On Fri, Feb 10, 2023 at 10:53 AM David Marchand wrote: > > Hello Mike, > > On Wed, Dec 7, 2022 at 5:54 PM Mike Pattrick wrote: > > > > Currently if an application wants to include shared hugepages in > > coredumps in conjunction with the vhost library, the coredump will be > > larger than expecte

Re: [PATCH v3] vhost: exclude VM hugepages from coredumps

2023-02-10 Thread Maxime Coquelin
Thanks David for the report. On 2/10/23 16:53, David Marchand wrote: Hello Mike, On Wed, Dec 7, 2022 at 5:54 PM Mike Pattrick wrote: Currently if an application wants to include shared hugepages in coredumps in conjunction with the vhost library, the coredump will be larger than expected and

Re: [PATCH v3] vhost: exclude VM hugepages from coredumps

2023-02-10 Thread David Marchand
Hello Mike, On Wed, Dec 7, 2022 at 5:54 PM Mike Pattrick wrote: > > Currently if an application wants to include shared hugepages in > coredumps in conjunction with the vhost library, the coredump will be > larger than expected and include unneeded virtual machine memory. > > This patch will mark

Re: [PATCH v3] vhost: exclude VM hugepages from coredumps

2023-02-03 Thread Maxime Coquelin
On 12/7/22 17:54, Mike Pattrick wrote: Currently if an application wants to include shared hugepages in coredumps in conjunction with the vhost library, the coredump will be larger than expected and include unneeded virtual machine memory. This patch will mark all vhost huge pages as DONTDUMP

Re: [PATCH v3] vhost: exclude VM hugepages from coredumps

2022-12-20 Thread Maxime Coquelin
Hi Mike, On 12/7/22 17:54, Mike Pattrick wrote: Currently if an application wants to include shared hugepages in coredumps in conjunction with the vhost library, the coredump will be larger than expected and include unneeded virtual machine memory. This patch will mark all vhost huge pages as D

[PATCH v3] vhost: exclude VM hugepages from coredumps

2022-12-07 Thread Mike Pattrick
Currently if an application wants to include shared hugepages in coredumps in conjunction with the vhost library, the coredump will be larger than expected and include unneeded virtual machine memory. This patch will mark all vhost huge pages as DONTDUMP, except for some select pages used by DPDK.