Re: [PATCH 2/4] mem: add API to obstain memory-backed file info
From: Sergio Gonzalez Monroy <hidden>
Date: 2016-01-12 11:08:04
From: Sergio Gonzalez Monroy <hidden>
Date: 2016-01-12 11:08:04
Hi Pavel, On 12/01/2016 11:00, Pavel Fedin wrote:
Hello!quoted
quoted
BTW, i'm still unhappy about ABI breakage here. I think we could easily add --shared-memoption, 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. Sergio
Kind regards, Pavel Fedin Senior Engineer Samsung Electronics Research center Russia