[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAMSv6X1_BzDE1ytPtdGQKK=OJJVpsPrwp2dgSZxA=A03n4rWJw@mail.gmail.com>
Date: Mon, 12 May 2014 09:50:20 +0200
From: Armin Rigo <arigo@...es.org>
To: Andi Kleen <andi@...stfloor.org>
Cc: "Kirill A. Shutemov" <kirill.shutemov@...ux.intel.com>,
Andrew Morton <akpm@...ux-foundation.org>,
Linus Torvalds <torvalds@...ux-foundation.org>,
linux-kernel@...r.kernel.org, linux-mm@...ck.org,
peterz@...radead.org, mingo@...nel.org
Subject: Re: [PATCHv2 0/2] remap_file_pages() decommission
Hi Andi,
On 12 May 2014 05:36, Andi Kleen <andi@...stfloor.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 majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists