>> but it screws up memkind's partitioning of the heap (it won't be aware >> that the pages have been moved). > > Then memkind is stupid or the kernel isn't exposing the correct > information to memkind. Tell them to not be lazy and do it right.
The beauty of git/github is one can make branches to try out anything they want even if Jed thinks that he knows better than Intel how to write system software for Intel's hardware. This link is equivalent to pushing the "Fork" button on Github's memkind page: https://github.com/memkind/memkind#fork-destination-box. I'm sure that the memkind developers would be willing to review your pull request once you've implemented memkind_move_pages(). Jeff -- Jeff Hammond jeff.scie...@gmail.com http://jeffhammond.github.io/