[dpdk-dev] [PATCH] eal: add madvise to avoid dump memory

Burakov, Anatoly anatoly.burakov at intel.com
Tue Apr 21 19:02:23 CEST 2020


On 21-Apr-20 5:38 PM, Feng Li wrote:
> Hi Anatoly,
> 
> This program could run like this:
> gcc test_map.c
> ./a.out 2 &
> gcore `pidof a.out`
> 
> You will get a core dump sized to 2GiB.
> 
> Thanks,
> Feng Li
> 

I did just that, and my core dump was ~100K in size. Hence my asking 
about any special configuration required.

-- 
Thanks,
Anatoly


More information about the dev mailing list