Re: [PATCH] Test compaction of mlocked memory

2015-04-22 Thread Andrew Morton
On Wed, 22 Apr 2015 17:01:20 -0400 Sri Jayaramappa wrote: > Commit commit 5bbe3547aa3b ("mm: allow compaction of unevictable pages") > introduced a sysctl that allows userspace to enable scanning of locked > pages for compaction. This patch introduces a new test which fragments > main memory and

[PATCH] Test compaction of mlocked memory

2015-04-22 Thread Sri Jayaramappa
Commit commit 5bbe3547aa3b ("mm: allow compaction of unevictable pages") introduced a sysctl that allows userspace to enable scanning of locked pages for compaction. This patch introduces a new test which fragments main memory and attempts to allocate a number of huge pages to exercise this compac