You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@RazrFalcon Concerning patches and the cross-platform target of this crate, would it be alright in your opinion to add an option like readahead to MmapOptions that maps to MAP_POPULATE on Linux but is a no-op on Windows? Or would you prefer a more complex implementation based on posix_madvise for better portability on non-Linux Unix platforms?
(Large pages seem to be available on both platforms even though the Windows variants seems to required more privileges.)
Having some options to reduce page faults would be great. On linux the
MAP_HUGETLB
andMAP_POPULATE
options would be the most interesting imo.The text was updated successfully, but these errors were encountered: