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

From: Sasha Levin
Date: Tue May 13 2014 - 08:58:23 EST


On 05/13/2014 03:32 AM, Armin Rigo wrote:
> 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.

Oh, I don't have anything against PyPy, I just wasn't aware it used
remap_file_pages() (I think I've missed the discussion in the parallel
thread).

Indeed it is a user, have you tried it with a kernel that is running
Kirill's patch set to replace remap_file_pages()?


Thanks,
Sasha

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