Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758205AbbDWSlh (ORCPT ); Thu, 23 Apr 2015 14:41:37 -0400 Received: from prod-mail-xrelay07.akamai.com ([72.246.2.115]:30567 "EHLO prod-mail-xrelay07.akamai.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755104AbbDWSlf (ORCPT ); Thu, 23 Apr 2015 14:41:35 -0400 Date: Thu, 23 Apr 2015 14:41:34 -0400 From: Eric B Munson To: Sri Jayaramappa Cc: Shuah Khan , linux-kernel@vger.kernel.org, linux-api@vger.kernel.org, Andrew Morton Subject: Re: [PATCH V2] Test compaction of mlocked memory Message-ID: <20150423184134.GF2282@akamai.com> References: <1429813301-27216-1-git-send-email-sjayaram@akamai.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="pyE8wggRBhVBcj8z" Content-Disposition: inline In-Reply-To: <1429813301-27216-1-git-send-email-sjayaram@akamai.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2349 Lines: 66 --pyE8wggRBhVBcj8z Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, 23 Apr 2015, 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 attempts to allocate a number of huge pages to exercise > this compaction logic. >=20 > Tested on machines with up to 32 GB RAM. With the patch a much larger > number of huge pages can be allocated than on the kernel without the > patch. >=20 > Example output: > On a machine with 16 GB RAM: > sudo make run_tests vm > ... > ----------------------- > running compaction_test > ----------------------- > No of huge pages allocated =3D 3834 > [PASS] > ... >=20 > Signed-off-by: Sri Jayaramappa > Cc: linux-kernel@vger.kernel.org > Cc: linux-api@vger.kernel.org > Cc: Andrew Morton > Cc: Eric B Munson Reviewed-by: Eric B Munson --pyE8wggRBhVBcj8z Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJVOTzeAAoJELbVsDOpoOa90xUQAJb+w+SKuCydWnDkw1cDgrFi hDiKLAiiI/kToXA/V1r0yQNPLLNQyxLatrfxR/of7OqNOEaZwpo4f5jj/XGB4I7Y U5IsVm6xireNX216gs7ulfX/8CT6/VsWstKtTV05Sm13WeZiVRQEp1N0wNx/vTKW cTizA6162F3mzONBRbLi99of32oZW5UngYtHXkIrtImtGa/I8YGd8IZwnZ2VNX51 70DbaT6oJsBh4d1EHW7Nc2rkPcbNhQuoHj/dSIbOOHmvpo2NUqMyFaLtOyvGAJGX xuCjEBlOoXpAwDRwg4t4mzJLYeesCepOYoL4/n+2fZ6vKG7uvARPi2lY7Bn9X4Ct MkEu8tqZFUthxtqg7x21aq3WyUqMvXWPvdCwXhxLV3vTXvYvF2whnikQuh68ddKK 5lAu9xxNlFvqaYwE3R/dKF8i8arZjG8Z8AjDwzyuqMxXS8c7crdLGdWAVhssPfdw Ou1zuydZQqqa1w6Sb6UIaZ/pHGIyrGcpGrHSCmM+Ia2ZkJY4sgDHYVi5IO6lUm0G fKOZQ8A0/Q5uuD2KP/f3fk7tEHPT033OIlEnzUfxbIBG2BYG83iXYrOkvPs/ntPZ BUj/G/600omdtyAQna8dKySpLSccoriod3ytTWCKvSnMBDDVaQLZoP6wVTQhRMqM R01jIJQxvmh5iZRKJ9l+ =SWg1 -----END PGP SIGNATURE----- --pyE8wggRBhVBcj8z-- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/