[dpdk-dev] [PATCH 2/4] mem: add API to obstain memory-backed file info
Sergio Gonzalez Monroy
sergio.gonzalez.monroy at intel.com
Tue Jan 12 12:44:43 CET 2016
On 12/01/2016 11:07, Sergio Gonzalez Monroy wrote:
> Hi Pavel,
>
> On 12/01/2016 11:00, Pavel Fedin wrote:
>> Hello!
>>
>>>> BTW, i'm still unhappy about ABI breakage here. I think we could
>>>> easily add --shared-mem
Could you elaborate a bit more on your concerns regarding ABI breakage ?
>>> option, which would simply change mapping mode to SHARED. So, we
>>> could use it with both
>>> hugepages (default) and plain mmap (with --no-hugepages).
>>>
>>> You mean, use "--no-hugepages --shared-mem" together, right?
>> Yes. This would be perfectly backwards-compatible because.
>
> So are you suggesting to not introduce --single-file option but
> instead --shared-mem?
> AFAIK --single-file was trying to workaround the limitation of just
> being able to map 8 fds.
>
My bad, I misread the posts.
Jianfeng pointed out that you are suggesting to have --shared-mem to
have same functionality
with or without hugepages.
Sergio
> Sergio
>> Kind regards,
>> Pavel Fedin
>> Senior Engineer
>> Samsung Electronics Research center Russia
>>
>>
>
More information about the dev
mailing list