From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752784AbcFFVgO (ORCPT ); Mon, 6 Jun 2016 17:36:14 -0400 Received: from mx1.redhat.com ([209.132.183.28]:50382 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750933AbcFFVgN (ORCPT ); Mon, 6 Jun 2016 17:36:13 -0400 Message-ID: <1465248969.16365.145.camel@redhat.com> Subject: Re: [PATCH 04/10] mm: fix LRU balancing effect of new transparent huge pages From: Rik van Riel To: Johannes Weiner , linux-mm@kvack.org, linux-kernel@vger.kernel.org Cc: Andrew Morton , Mel Gorman , Andrea Arcangeli , Andi Kleen , Michal Hocko , Tim Chen , kernel-team@fb.com Date: Mon, 06 Jun 2016 17:36:09 -0400 In-Reply-To: <20160606194836.3624-5-hannes@cmpxchg.org> References: <20160606194836.3624-1-hannes@cmpxchg.org> <20160606194836.3624-5-hannes@cmpxchg.org> Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="=-bQ15HzmXtwY2/GN+hWTB" Mime-Version: 1.0 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.28]); Mon, 06 Jun 2016 21:36:13 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --=-bQ15HzmXtwY2/GN+hWTB Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, 2016-06-06 at 15:48 -0400, Johannes Weiner wrote: > Currently, THP are counted as single pages until they are split right > before being swapped out. However, at that point the VM is already in > the middle of reclaim, and adjusting the LRU balance then is useless. >=20 > Always account THP by the number of basepages, and remove the fixup > from the splitting path. >=20 > Signed-off-by: Johannes Weiner >=20 Reviewed-by: Rik van Riel --=20 All Rights Reversed. --=-bQ15HzmXtwY2/GN+hWTB Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAABCAAGBQJXVezKAAoJEM553pKExN6Db2wIAIXJn/KfQgRlr8CueBROD0G8 cM56g6LqZVVTBWLPwCjMyl0PsGnnOwNW1/AhYvgB7PFLY0eTOOesY8gjEKV6Aort FXdttaGlPkAA2do0fEu5Co1NKRkFX5fECPNHSlnKqZnngqehbPMRTRQPHj/yJSQh zVS4+WDsyVKk6GwWzSYQMRTKRw2CVNL3ttUp1lPGBbTxixau1N9IkvSkaI2Tm5bt 869GLYRav04Ju39CzGXy4hJ7Yvppyl/w5RgwYUAz84iWyA+3NLIu2EXSEUG6N9C2 AYh6cjJTJ1+S3idgoLHY37v1b37HFjvDP7fJ/leLdfgjxnnCy0I7FCJ2D2Ix2VA= =SpWG -----END PGP SIGNATURE----- --=-bQ15HzmXtwY2/GN+hWTB--