Re: [PATCH 2/4] mem: add API to obstain memory-backed file info
From: Pavel Fedin <hidden>
Date: 2016-01-12 13:57:22
From: Pavel Fedin <hidden>
Date: 2016-01-12 13:57:22
Hello!
I might be missing something obvious here but, aside from having memory SHARED which most DPDK apps using hugepages will have anyway, what is the backward compatibility issues that you see here?
Heh, sorry once again for confusing. Indeed, with hugepages we always get MAP_SHARED. I missed that. So, we indeed need --shared-mem only in addition to --no-huge. Backwards compatibility issue is stated in the description of PATCH 1/4:
--- cut ---b. possible ABI break, originally, --no-huge uses anonymous memory instead of file-backed way to create memory.
--- cut ---
The patch unconditionally changes that to SHARED. That's all.
Kind regards, Pavel Fedin Senior Engineer Samsung Electronics Research center Russia