Message ID | 152594601636.22949.5066059978522726025.stgit@localhost.localdomain (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <owner-linux-mm@kvack.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 38A0E60153 for <patchwork-linux-mm@patchwork.kernel.org>; Thu, 10 May 2018 09:53:48 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 272A3289BE for <patchwork-linux-mm@patchwork.kernel.org>; Thu, 10 May 2018 09:53:48 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1B464289C4; Thu, 10 May 2018 09:53:48 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B5EB2289BE for <patchwork-linux-mm@patchwork.kernel.org>; Thu, 10 May 2018 09:53:46 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 876D36B05E9; Thu, 10 May 2018 05:53:45 -0400 (EDT) Delivered-To: linux-mm-outgoing@kvack.org Received: by kanga.kvack.org (Postfix, from userid 40) id 7FF0C6B05EB; Thu, 10 May 2018 05:53:45 -0400 (EDT) X-Original-To: int-list-linux-mm@kvack.org X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 679EA6B05EC; Thu, 10 May 2018 05:53:45 -0400 (EDT) X-Original-To: linux-mm@kvack.org X-Delivered-To: linux-mm@kvack.org Received: from mail-io0-f200.google.com (mail-io0-f200.google.com [209.85.223.200]) by kanga.kvack.org (Postfix) with ESMTP id 3CA486B05E9 for <linux-mm@kvack.org>; Thu, 10 May 2018 05:53:45 -0400 (EDT) Received: by mail-io0-f200.google.com with SMTP id u16-v6so1772653iol.18 for <linux-mm@kvack.org>; Thu, 10 May 2018 02:53:45 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:dkim-signature:subject:from:to:date:message-id :in-reply-to:references:user-agent:mime-version :content-transfer-encoding:spamdiagnosticoutput :spamdiagnosticmetadata; bh=30UUA/43I6fvy95jAew38qQN5ryIAizCvz7wTqfUPjM=; b=KNYij+5K8kEqpFwHRm8osQbMwgMI+ut2LZ06P+2WC3wI5HLbhGetOpCZefgUDkTe19 yrbsvC3TN/K817VWZP6X77E94ndc0kiRpGHOx7NFjmduY+7/jqryq8PSHtT5dxgAXykz hp6ZxN3Skt+O1GUlw9VWLRQJK0Z9KTMHkdV2KWAABwr5RpfP6hxSv3jn3r0Y/D8i2cr1 xSWnIRSEiRlyq4dNZqYreQqaGIlE1YLCgvtCLlNPXqwU1bS6xfxy5fJZ2h3VLGatINV4 ddmHS2i7u4BsMcOJTx1bSDx6z+Fuod79EomsihfodcvTZ5cOaAbb1HCFHsiKsS243JZQ /dsA== X-Gm-Message-State: ALKqPwe4Si/Qn5nDKPljfPyIxPyy95CvHLSAzE2+N/bgUMXdi0r3+p0H HHys5kv2ACywRB2iP1Uni+1gGgqEJOdJUe/HMIWZN1EXhcSv9XWBvnoUp/pTMUPfqFk5Yrcyd1f HKEq2uTW7QJiBU8eBufyk5W6fG5MnbKvsXQ/mtKS9OKJCHMf+062yNxkfZpsQvTL8sg== X-Received: by 2002:a24:b64f:: with SMTP id d15-v6mr930852itj.93.1525946025075; Thu, 10 May 2018 02:53:45 -0700 (PDT) X-Google-Smtp-Source: AB8JxZpfUMg6ZxsIXPZy4wvXCOoIwn4vQkBwFlSwRM9cpe0pEQMmzVdj3mdSuov0u/0sklCHsWW4 X-Received: by 2002:a24:b64f:: with SMTP id d15-v6mr930828itj.93.1525946024467; Thu, 10 May 2018 02:53:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525946024; cv=none; d=google.com; s=arc-20160816; b=0NZxGI6ZXfhHotoKwfIcGErEd2h1egRhbQTng+ng8pCx+E7Vsp+zRIdwNRSJwVFDrU 6AllAPpFz4pT5AkenekOc4a5x2u7pgkK9qbaXBYWyxz+SpqSYnOHnOk1kEszV9nOJi2T 4ibXXmes3noZLJ2lDz1PEyuoDBwJjMqnhhpiobdY8rxmkaxfonWjPwu5RIa2O5YuFoMv JgBkE1ZY0xzl6Ipxp9GLYA6Xm1PKs+THarQBLPYUwV/qaevhajd7b4YaYeQstoL2sNx9 bTkqxRsOCwCHzPoHJOjJML43VkFbac0/P5m5Lj94ZO3S4rXlwPyCCKOS+WVl00+nhB4E ZrhA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=spamdiagnosticmetadata:spamdiagnosticoutput :content-transfer-encoding:mime-version:user-agent:references :in-reply-to:message-id:date:to:from:subject:dkim-signature :arc-authentication-results; bh=30UUA/43I6fvy95jAew38qQN5ryIAizCvz7wTqfUPjM=; b=spXwhewdXnGWCzhYZB7cI6Eum8E/HrtxRZYJjEVDUr5DntV+lyVpEuxb715yWaQ5jX z7nj5nbGWiXq/YYfRI1iLMG5n/AOUcNmIZ6sAnmF5pnryLNUq+vIL31UFzf6U6e8HQni HXsqladVCzdbUDL1Y2NSmnKL46aajJZU6cjc8RnccbyasJET3VHMncJ0lko9q0E8Ll5b kbpUHrxcAr+7tybuTgDgisNbTmGYzIYdoHhDrY/vb2e4AFKf/BjNF/F9kWktGcX+/zFX soyMAGXl+7PKAiRjPAgQOjt0O/zFJ801KG8AxS4k6cQLCXtoJhcyssyrQuwIM59/hnV3 Kg1g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@virtuozzo.com header.s=selector1 header.b=hGkkPA2A; spf=pass (google.com: domain of ktkhai@virtuozzo.com designates 40.107.2.128 as permitted sender) smtp.mailfrom=ktkhai@virtuozzo.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=virtuozzo.com Received: from EUR02-VE1-obe.outbound.protection.outlook.com (mail-eopbgr20128.outbound.protection.outlook.com. [40.107.2.128]) by mx.google.com with ESMTPS id 82-v6si536028ite.53.2018.05.10.02.53.44 for <linux-mm@kvack.org> (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 10 May 2018 02:53:44 -0700 (PDT) Received-SPF: pass (google.com: domain of ktkhai@virtuozzo.com designates 40.107.2.128 as permitted sender) client-ip=40.107.2.128; Authentication-Results: mx.google.com; dkim=pass header.i=@virtuozzo.com header.s=selector1 header.b=hGkkPA2A; spf=pass (google.com: domain of ktkhai@virtuozzo.com designates 40.107.2.128 as permitted sender) smtp.mailfrom=ktkhai@virtuozzo.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=virtuozzo.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=virtuozzo.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=30UUA/43I6fvy95jAew38qQN5ryIAizCvz7wTqfUPjM=; b=hGkkPA2A2I6oOAPu1qwmQNR264qAJAn30ZUZNuba5WGlICGvoGXRxr9HXA9DqKj9M6p+xiPURAqzpjgOuzIZNhJTRuu14jRMTpZHposvvkyO4jR/NqiN53lhbi2yAxp1ExxWvZzgxkHk2VwDa2x9x0nqOs4rdCcY4NYa0+yTnH0= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=ktkhai@virtuozzo.com; Received: from localhost.localdomain (195.214.232.6) by VI1PR0801MB1342.eurprd08.prod.outlook.com (2603:10a6:800:3a::28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.735.17; Thu, 10 May 2018 09:53:38 +0000 Subject: [PATCH v5 09/13] list_lru: Pass lru argument to memcg_drain_list_lru_node() From: Kirill Tkhai <ktkhai@virtuozzo.com> To: akpm@linux-foundation.org, vdavydov.dev@gmail.com, shakeelb@google.com, viro@zeniv.linux.org.uk, hannes@cmpxchg.org, mhocko@kernel.org, ktkhai@virtuozzo.com, tglx@linutronix.de, pombredanne@nexb.com, stummala@codeaurora.org, gregkh@linuxfoundation.org, sfr@canb.auug.org.au, guro@fb.com, mka@chromium.org, penguin-kernel@I-love.SAKURA.ne.jp, chris@chris-wilson.co.uk, longman@redhat.com, minchan@kernel.org, ying.huang@intel.com, mgorman@techsingularity.net, jbacik@fb.com, linux@roeck-us.net, linux-kernel@vger.kernel.org, linux-mm@kvack.org, willy@infradead.org, lirongqing@baidu.com, aryabinin@virtuozzo.com Date: Thu, 10 May 2018 12:53:36 +0300 Message-ID: <152594601636.22949.5066059978522726025.stgit@localhost.localdomain> In-Reply-To: <152594582808.22949.8353313986092337675.stgit@localhost.localdomain> References: <152594582808.22949.8353313986092337675.stgit@localhost.localdomain> User-Agent: StGit/0.18 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Originating-IP: [195.214.232.6] X-ClientProxiedBy: AM0PR0202CA0022.eurprd02.prod.outlook.com (2603:10a6:208:1::35) To VI1PR0801MB1342.eurprd08.prod.outlook.com (2603:10a6:800:3a::28) X-MS-PublicTrafficType: Email X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(4534165)(7168020)(4627221)(201703031133081)(201702281549075)(5600026)(2017052603328)(7153060)(7193020); SRVR:VI1PR0801MB1342; X-Microsoft-Exchange-Diagnostics: 1; VI1PR0801MB1342; 3:3r6JLrObVO8H2vQpWvWH5r/JchCtf/UWu/JGXV46hIw3K0lP1VBUVcijKTckJT6g+VMrn/AhrN3Q95pfbCp3n01XIv/xA+5fu9Wm8fqSAguWPcjoowXemQX4hBQKawzRKNc36QOU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USO7y65qeAgR/5cOdZ8FzryfHgM9n2W+dI0Mt8NsgRHE/R5F0D/YYnDxqDCA26hiXu4FqDv3dT4rKTYVQlCWkuFxOvNKFxRYyooXYG8mjIlToFp7QCVVXQCx81EC5eMHeT6E92/d9IE4YqDkI567z/NzYSsJgBHuC3uYMOOSGVAo+XF47nhooY2qvZG/CgpSnKdB2ek4OQmq3qgrgagyu; 4:baqGlLpKKFeZeWFHzSQHAzf0I98sfE23dFlyu0/d5tT/tPjqlRi6isOE33d/mWVWmWY6bY88FJBQUGa7Y7Yk5Ll3o3ZE6GMPk/R34/q8h5sODj9A7C74aEnIgZh2tlmadVM4A8/gG/I+Mfa0tyI+fEdgU3/TRlXPycZiZhS3tcQ6Nw8vhWyiNLZyR0gavX/S4zTPz3YCAhhmoS+gVvIifX8svLEe1nytv6XJ0/eKLuhi2VrjR+Z/lnp7b16w1XgPHJb+1Lme7Ngf5G8LDntk0Q== X-Microsoft-Antispam-PRVS: <VI1PR0801MB1342C24A773C68D8EB4994C1CD980@VI1PR0801MB1342.eurprd08.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:; X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040522)(2401047)(5005006)(8121501046)(10201501046)(3231254)(944501410)(52105095)(93006095)(93001095)(3002001)(149027)(150027)(6041310)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(20161123564045)(20161123558120)(6072148)(201708071742011); SRVR:VI1PR0801MB1342; BCL:0; PCL:0; RULEID:; SRVR:VI1PR0801MB1342; X-Forefront-PRVS: 066898046A X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(6069001)(346002)(396003)(39850400004)(376002)(366004)(39380400002)(199004)(189003)(52116002)(23676004)(26005)(68736007)(186003)(2486003)(6116002)(97736004)(61506002)(86362001)(3846002)(105586002)(106356001)(16526019)(55016002)(66066001)(11346002)(446003)(25786009)(486006)(7416002)(76176011)(8936002)(305945005)(956004)(478600001)(7696005)(5660300001)(230700001)(47776003)(386003)(316002)(59450400001)(39060400002)(476003)(2906002)(55236004)(7736002)(6506007)(6636002)(58126008)(53936002)(81166006)(9686003)(8676002)(33896004)(81156014)(50466002)(103116003)(921003)(1121003); DIR:OUT; SFP:1102; SCL:1; SRVR:VI1PR0801MB1342; H:localhost.localdomain; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; Received-SPF: None (protection.outlook.com: virtuozzo.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtWSTFQUjA4MDFNQjEzNDI7MjM6VEFPWmNrQStKM1N6alNodXF6Z0hwUVo2?= =?utf-8?B?eGVXeE9rYVFlOGJiNmNhTzJTZEw5S2oxb2Y5b2t2RGs1Z3FXZ295WnB6eWV2?= =?utf-8?B?VmFnYVVJWWlMajU1UmlaaEYwMG1hVWZyWkZzOTYwNy9ZM3V4U0RLMWtBSklW?= =?utf-8?B?eFg3ZVdhamRCN09yTkNINmt6cVNWSjJ2a0M2OE1hNVAvdWszK3NxVW1NSjQ4?= =?utf-8?B?SjhGTVJSTFB0Y1hkREk5ekNyQnhzWis0ek9kRlM3cEUvL0wxdkdtd1hwUVc3?= =?utf-8?B?T2k0UDBsUFAzWnBUck9jTnJvak1mSUJLSHIySXNwYmlFKzZmaEhXQVQwV21n?= =?utf-8?B?c0xOaU1mcHNoLy85SFJ4OFZacG5DTWw4SjhqcmYwMEJaN2FDMW44WnBPelZY?= =?utf-8?B?VHpjV2dhendYUWwxUkdxcDVhbkEvR1hFSlUrNE9CWldlOXpSZUhuQWk3QzlI?= =?utf-8?B?NzVVejc0NlhWTE9RVmN3ZUJKRXcxYkpBRVF6R29Mc2Y3S1JDazk0NWtvb25Q?= =?utf-8?B?eGN5ZFo4K2ROUDF3dmsrd2lnZUlERUcrTVNyVG03TGRGZllLSHJPUnZYdXFP?= =?utf-8?B?YjlmQ3k0Ui9VaEQ0TjR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n3TaLObDHoqRQufFksxLZOsK0beGBqQ==; 5:33XPEwrXPM9ldm9Gx4wwIabZrUN9Q5NfZ6iFC9GuBIe3AaWS3ITj9q1XHaBXbyLykVCqrZ9A2goKoLgXePnilazqknrIof9+VkQ9+NJvTNOXUKa1GcH0M7OlFZXPtIYdfwywjmjU9d7IpLytX8IZoxfETcVbwGsZ1QtUVy3s6C4=; 24:rjwIPFoI2PyED0+6xYNdP/fE0e4hnWgirYt7V34L/hWM8wSvRCBKC0u9H0T8UMk7+3IPYvxORNEXTZ5bZDJgiS2dHFydIVlunqnYCM0dBLY= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; VI1PR0801MB1342; 7:gCSZtF2QVZW8xbMmhuwYUj1hqzGoIa30+UGySL+Tg0EyqVW+sO1dVefv+PDKiOhrh2a759BtaQkUYboUMC8Aey3NHzgSdOjxOUIik3hvc6GdduDQRkxZoG5kTcdQtP3ZH5+TY/HksBjmqrGiPsGVYhazCnYDaeDZCjS+ykTdwzx02n+Iz8isvDU6s6d423e+5GZm29kpgE/zmdTDXmy5Q6d8zn31Naeh8PnZjEZrhBmyTkbb6fB80GDxuAStP2Uq; 20:XjRPoPdSV/5Fhr/mqnBjPrSFGBd4ZNgVogJf8RW0ZG8tChx0JrCH/3zC99QYtwqnjQ19XEYN3R7T4G/GbMzx+N83Ko5dMYloM3cMZySNITl4dwveFXaT2W0s6Ofb4TP2W/hy6R7kwsWgwFbP920pKeVwfIxY6BI0sr/H96PMa0g= X-MS-Office365-Filtering-Correlation-Id: cc986d14-84f7-4324-0194-08d5b65be892 X-OriginatorOrg: virtuozzo.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 May 2018 09:53:38.3891 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: cc986d14-84f7-4324-0194-08d5b65be892 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 0bc7f26d-0264-416e-a6fc-8352af79c58f X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0801MB1342 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: <linux-mm.kvack.org> X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/mm/list_lru.c b/mm/list_lru.c index 46b805073ed0..7f6cb27aa2f5 100644 --- a/mm/list_lru.c +++ b/mm/list_lru.c @@ -516,9 +516,10 @@ int memcg_update_all_list_lrus(int new_size) goto out; } -static void memcg_drain_list_lru_node(struct list_lru_node *nlru, +static void memcg_drain_list_lru_node(struct list_lru *lru, int nid, int src_idx, struct mem_cgroup *dst_memcg) { + struct list_lru_node *nlru = &lru->node[nid]; int dst_idx = dst_memcg->kmemcg_id; struct list_lru_one *src, *dst; @@ -547,7 +548,7 @@ static void memcg_drain_list_lru(struct list_lru *lru, return; for_each_node(i) - memcg_drain_list_lru_node(&lru->node[i], src_idx, dst_memcg); + memcg_drain_list_lru_node(lru, i, src_idx, dst_memcg); } void memcg_drain_all_list_lrus(int src_idx, struct mem_cgroup *dst_memcg)
This is just refactoring to allow next patches to have lru pointer in memcg_drain_list_lru_node(). Signed-off-by: Kirill Tkhai <ktkhai@virtuozzo.com> --- mm/list_lru.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)