[Boost-bugs] [Boost C++ Libraries] #12975: Add map_options for managed_mapped_file (managed_open_or_create_impl_device_holder)

Subject: [Boost-bugs] [Boost C++ Libraries] #12975: Add map_options for managed_mapped_file (managed_open_or_create_impl_device_holder)
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2017-04-17 07:37:58


#12975: Add map_options for managed_mapped_file
(managed_open_or_create_impl_device_holder)
---------------------------------------------+--------------------------
 Reporter: amirhakh@… | Owner: igaztanaga
     Type: Feature Requests | Status: new
Milestone: To Be Determined | Component: interprocess
  Version: Boost Development Trunk | Severity: Optimization
 Keywords: managed_mapped_file, mmap, huge |
---------------------------------------------+--------------------------
 Hello boost developer's

 I use managed_mapped_file for my project to create shared data structure
 and it is very good solution and simple to use. But i have a problem for
 big data & big query. I nead to have Huge page memory map file for better
 performance. I was check source code and see where is pass flag to mmap
 function in linux but no way to pass this flag from managed_mapped_file.

 I can to edit source to pass this argument but i hoop to this change added
 to boost source for all of developer use .

 source class hierarchy:
  managed_mapped_file
   basic_managed_mapped_file
    mfile_open_or_create
     managed_open_or_create_impl::priv_open_or_create
                                                     -> mapped_region
 (...,addr/*, map_options*/);

 source file hierarchy:
  managed_mapped_file.hpp
   managed_open_or_create_impl.hpp
    mapped_region.hpp


 tanks

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/12975>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-04-17 07:40:40 UTC