Thread (196 messages) 196 messages, 20 authors, 2016-06-24

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

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-mem
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.

Sergio
Kind regards,
Pavel Fedin
Senior Engineer
Samsung Electronics Research center Russia
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help