Hi Andi, On 12 May 2014 05:36, Andi Kleen <a...@firstfloor.org> wrote: >> Here is a note from the PyPy project (mentioned earlier in this >> thread, and at https://lwn.net/Articles/587923/ ). > > Your use is completely bogus. remap_file_pages() pins everything > and disables any swapping for the area.
? No. Trying this example: http://bpaste.net/show/fCUTnR9mDzJ2IEKrQLAR/ ...really allocates 4GB of RAM, and on a 4GB machine it causes some swapping. It seems to work fine. I'm not sure to understand you. I'm also not sure that a property as essential as "disables swapping" should be omitted from the man page; if so, that would be a real man page bug. A bientôt, Armin. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/