Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp271516imm; Tue, 9 Oct 2018 17:58:09 -0700 (PDT) X-Google-Smtp-Source: ACcGV62Y9MWOb9XCnlEml9BZho3TuNJ+P5NHosThyAxqW8n+JxtYY3le6Sn4ru7Zk02Kd57Xw5GE X-Received: by 2002:a63:91c9:: with SMTP id l192-v6mr28134511pge.433.1539133089325; Tue, 09 Oct 2018 17:58:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539133089; cv=none; d=google.com; s=arc-20160816; b=mFgWHmgzcHx96gTDVLaYfCCYnaX32kxVHtJiWZQQQBGPzm6vBQ98M3PnbCZTxDTxn1 OGLbFDFpkdkkg5lXb5JwZ8cOrg1zKsV6fGN62ZupuRh9l5dkJen6Euo65R9DQJ+X+ZAC wNk672BLg1VkW9xEpHDKd3vySa7RPuwvTs0PvSESUDZFnxL+1ZQ2Fn6LWmUuSn6LMGuZ OHCo6geWygV51da1iUeKHuLsFGrbx5A/87IcrQa7begN6mTUCyiTY4DsotBMAZaD1+VZ 4O8V675YQS3Dow/GyucJMeSnzAzErT5Epw9WYRsqsOCCoLkzB+g1RVPaS17SX6Jo5UqM DLCA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to:date :cc:to:from:subject:message-id; bh=svaacjLS1Oj05/KUjaZn+n+PLPmDAkvaEGW3TR5HRzU=; b=btReYN5yV3Wz6xHDAPvWUA3YMP80Y4jxLZsaMcZ1pc/+lNrtXU0wCM6wD+o1et6jIy J5cBliahRhcgeBR9popll+TFm0KbB0aGLBxjSKaD8dIDMJHsWVYrzahxZOKyHzZHgAjs c58Hc6iYdumFpNaVjb6T1nyFj+47nDL4JulHnYUIYW1bAlI+l0blzRyGyzWKRm9iXaH3 JBqdEG3g3qBCt59NKay5R8GixhN1CxsJrFvV4VhbeXTd04jVORXrOYear9xVB8zredvu jBTkTF7NyE43VC3AvzeWtBQQumwDsw3jcvebGf7M/Un1Xm/r70Fy10ugVk6S1AoM77q2 /x7Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q4-v6si22891920pgj.417.2018.10.09.17.57.54; Tue, 09 Oct 2018 17:58:09 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726693AbeJJIPK (ORCPT + 99 others); Wed, 10 Oct 2018 04:15:10 -0400 Received: from shelob.surriel.com ([96.67.55.147]:41994 "EHLO shelob.surriel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725789AbeJJIPK (ORCPT ); Wed, 10 Oct 2018 04:15:10 -0400 Received: from imladris.surriel.com ([96.67.55.152]) by shelob.surriel.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.90_1) (envelope-from ) id 1gA2mf-0007el-5s; Tue, 09 Oct 2018 20:55:29 -0400 Message-ID: Subject: Re: [PATCH 1/4] mm: workingset: don't drop refault information prematurely fix From: Rik van Riel To: Johannes Weiner , Andrew Morton Cc: Rik van Riel , linux-mm@kvack.org, linux-kernel@vger.kernel.org, kernel-team@fb.com Date: Tue, 09 Oct 2018 20:55:28 -0400 In-Reply-To: <20181009184732.762-2-hannes@cmpxchg.org> References: <20181009184732.762-1-hannes@cmpxchg.org> <20181009184732.762-2-hannes@cmpxchg.org> Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="=-ouGNk51VEckTbiQffXyq" X-Mailer: Evolution 3.28.5 (3.28.5-1.fc28) Mime-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --=-ouGNk51VEckTbiQffXyq Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, 2018-10-09 at 14:47 -0400, Johannes Weiner wrote: > The shadow shrinker is invoked per NUMA node, but the shadow limit > enforced for cgroups is based on the page counter, which isn't NUMA > aware. Instead of shrinking shadow pages to desired_size, we end up > with desired_size * nr_online_nodes. >=20 > Switch to NUMA-aware lru and slab counters to approximate cgroup > size. >=20 > Signed-off-by: Johannes Weiner Reviewed-by: Rik van Riel --=20 All Rights Reversed. --=-ouGNk51VEckTbiQffXyq Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iQEzBAABCAAdFiEEKR73pCCtJ5Xj3yADznnekoTE3oMFAlu9TgAACgkQznnekoTE 3oPiaggAspsShtaovQVpfvOwsDhbCZP54bnOk+EYcK4GMiIXDrtTuy883bbh8ptl 5QPtIxW6GgGLGm3nr6NeOH2ErhOODezvDLC8oZf4ERamRcYsxzjJKB8SYJRTxz8A 0VDRnRo2AOofQodaKOCxW6iYXUiO1QZX8NlPVGoa9WveNuo8mC2hp5k1gFMuhekY 1CTl5zpy3Opa5m+wS5SyyjIMm0iYq+ZgKkPARqeQ4wP1GCUfZj2uQ8yqqINZh4C7 FhV891Q+pzb5xggz19AX4K4rkBKzQK/Ug4bDn+vVjrC5lGzuXb2wSl4/sPDyZk0B s16EXFprCUiSsisZHMmomfrQQ868+Q== =51R3 -----END PGP SIGNATURE----- --=-ouGNk51VEckTbiQffXyq--