Re: remap_file_pages() use

From: Richard Weinberger
Date: Mon May 19 2014 - 15:14:36 EST


On Mon, May 19, 2014 at 5:17 PM, Kirill A. Shutemov
<kirill.shutemov@xxxxxxxxxxxxxxx> wrote:
> Christoph Hellwig wrote:
>> On Mon, May 19, 2014 at 06:02:38PM +0300, Kirill A. Shutemov wrote:
>> > > Stop right there. We found out about two real life users of
>> > > remap_file_pages() already, without even committing the patches to warn
>> > > about using it to any tree.
>> >
>> > Who is the second here? Oracle?
>>
>> PyPy.
>>
>> Oracle would be the third, although use of the feature is optional and
>> fairly hard to opt in to, so I didn't count it.
>
> IIUC PyPy uses the syscall in some early prototype and looks like guys are
> okay to rework it to mmap() if default sysctl_max_map_count will be high
> enough.

A quick search on github exposed three more users:
https://github.com/LotharSchwab/R-Framework
https://github.com/const86/glgrab
https://github.com/minimoog/virtualringbuffer

--
Thanks,
//richard
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/