Re: [dpdk-dev] [PATCH v2 3/3] eal: make memory segment preallocation OS-specific

2018-07-12 Thread Thomas Monjalon
28/06/2018 13:41, Anatoly Burakov: > In the perfect world, it wouldn't matter how much memory was > preallocated because most of it was always going to be private > anonymous zero-page mappings for the duration of the program. > However, in practice, due to peculiarities of FreeBSD, we need > to ad

[dpdk-dev] [PATCH v2 3/3] eal: make memory segment preallocation OS-specific

2018-06-28 Thread Anatoly Burakov
In the perfect world, it wouldn't matter how much memory was preallocated because most of it was always going to be private anonymous zero-page mappings for the duration of the program. However, in practice, due to peculiarities of FreeBSD, we need to additionally limit memory allocation there. Thi