Re: [PATCH 2/2] mm: replace remap_file_pages() syscall with emulation

From: Armin Rigo
Date: Tue May 13 2014 - 03:32:59 EST


Hi Sasha,

On 12 May 2014 17:11, Sasha Levin <sasha.levin@xxxxxxxxxx> wrote:
> Since we can't find any actual users,

The PyPy project doesn't count as an "actual user"? It's not just an
idea in the air. It's beta code that is already released (and open
source):

http://morepypy.blogspot.ch/2014/04/stm-results-and-second-call-for.html

The core library is available from there (see the test suite in c7/test/):

https://bitbucket.org/pypy/stmgc

I already reacted to the discussion here by making remap_file_pages()
optional (#undef USE_REMAP_FILE_PAGES) but didn't measure the
performance impact of this, if any (I expect it to be reasonable).
Still, if you're looking for a real piece of code using
remap_file_pages(), it's one.


A bientÃt,

Armin.
--
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/