Thank you, Marchand, I have just tested your patch, and it doesn't work. The core dump file is still very very large, the same to virtual memory size.
David Marchand <david.march...@redhat.com> 于2020年4月20日周一 下午3:13写道: > > On Mon, Apr 20, 2020 at 9:10 AM Li Feng <fen...@smartx.com> wrote: > > Li Feng <fen...@smartx.com> 于2020年4月20日周一 下午3:04写道: > > > > > > Avoid dump all mmapped memory to coredump file when crash. > > > Otherwise it will very large and it's hard to analyze with gdb. > > > > > > In my test, it will dump 128GiB memory to coredump file when integrated > > > to spdk with default configuration. > > Can you test with current master which has this change? > https://git.dpdk.org/dpdk/commit?id=8a4baf06c17a806696fb10aba36fce7471983028 > > Thanks. > > -- > David Marchand >