Re: [dpdk-dev] [PATCH] mem: mark pages as not accessed when reserving VA

2020-03-10 Thread Burakov, Anatoly
On 09-Mar-20 2:54 PM, David Marchand wrote: When the memory allocator reserves virtual addresses, it still does not know what they will be used for. Besides, huge areas are reserved for memory hotplug in multiprocess setups. But most of the pages are unused in the whole life of the processes. Ch

Re: [dpdk-dev] [PATCH] mem: mark pages as not accessed when reserving VA

2020-03-10 Thread Aaron Conole
David Marchand writes: > When the memory allocator reserves virtual addresses, it still does not > know what they will be used for. > Besides, huge areas are reserved for memory hotplug in multiprocess > setups. But most of the pages are unused in the whole life of the > processes. > > Change pro

Re: [dpdk-dev] [PATCH] mem: mark pages as not accessed when reserving VA

2020-03-09 Thread Maxime Coquelin
On 3/9/20 3:54 PM, David Marchand wrote: > When the memory allocator reserves virtual addresses, it still does not > know what they will be used for. > Besides, huge areas are reserved for memory hotplug in multiprocess > setups. But most of the pages are unused in the whole life of the > proces

[dpdk-dev] [PATCH] mem: mark pages as not accessed when reserving VA

2020-03-09 Thread David Marchand
When the memory allocator reserves virtual addresses, it still does not know what they will be used for. Besides, huge areas are reserved for memory hotplug in multiprocess setups. But most of the pages are unused in the whole life of the processes. Change protection mode to PROT_NONE when only re