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

2014-05-14 Thread Andrew Morton
On Thu, 15 May 2014 00:17:48 +0300 "Kirill A. Shutemov" wrote: > On Wed, May 14, 2014 at 04:52:17PM -0400, Sasha Levin wrote: > > On 05/12/2014 01:05 PM, Kirill A. Shutemov wrote: > > > Taking into account your employment, is it possible to check how the RDBMS > > > (old but it still supported 3

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

2014-05-14 Thread Kirill A. Shutemov
On Wed, May 14, 2014 at 04:52:17PM -0400, Sasha Levin wrote: > On 05/12/2014 01:05 PM, Kirill A. Shutemov wrote: > > Taking into account your employment, is it possible to check how the RDBMS > > (old but it still supported 32-bit versions) would react on -ENOSYS here? > > Alrighty, I got an answe

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

2014-05-14 Thread Sasha Levin
On 05/12/2014 01:05 PM, Kirill A. Shutemov wrote: > On Mon, May 12, 2014 at 11:11:48AM -0400, Sasha Levin wrote: >> On 05/08/2014 05:57 PM, Andrew Morton wrote: >>> On Thu, 8 May 2014 15:41:28 +0300 "Kirill A. Shutemov" >>> wrote: >>> > remap_file_pages(2) was invented to be able efficiently

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

2014-05-13 Thread Sasha Levin
On 05/13/2014 03:32 AM, Armin Rigo wrote: > Hi Sasha, > > On 12 May 2014 17:11, Sasha Levin 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): >

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

2014-05-13 Thread Armin Rigo
Hi Sasha, On 12 May 2014 17:11, Sasha Levin 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-secon

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

2014-05-12 Thread Kirill A. Shutemov
On Mon, May 12, 2014 at 11:11:48AM -0400, Sasha Levin wrote: > On 05/08/2014 05:57 PM, Andrew Morton wrote: > > On Thu, 8 May 2014 15:41:28 +0300 "Kirill A. Shutemov" > > wrote: > > > >> > remap_file_pages(2) was invented to be able efficiently map parts of > >> > huge file into limited 32-bit

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

2014-05-12 Thread Sasha Levin
On 05/08/2014 05:57 PM, Andrew Morton wrote: > On Thu, 8 May 2014 15:41:28 +0300 "Kirill A. Shutemov" > wrote: > >> > remap_file_pages(2) was invented to be able efficiently map parts of >> > huge file into limited 32-bit virtual address space such as in database >> > workloads. >> > >> > Nonl

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

2014-05-08 Thread Andrew Morton
On Thu, 8 May 2014 15:41:28 +0300 "Kirill A. Shutemov" wrote: > remap_file_pages(2) was invented to be able efficiently map parts of > huge file into limited 32-bit virtual address space such as in database > workloads. > > Nonlinear mappings are pain to support and it seems there's no > legit

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

2014-05-08 Thread Kirill A. Shutemov
remap_file_pages(2) was invented to be able efficiently map parts of huge file into limited 32-bit virtual address space such as in database workloads. Nonlinear mappings are pain to support and it seems there's no legitimate use-cases nowadays since 64-bit systems are widely available. Let's dro