Message ID | 152586709816.3048.15189884684148941380.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 0AA1960318 for <patchwork-linux-mm@patchwork.kernel.org>; Wed, 9 May 2018 11:58:31 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id ED98128824 for <patchwork-linux-mm@patchwork.kernel.org>; Wed, 9 May 2018 11:58:30 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E240C28C59; Wed, 9 May 2018 11:58:30 +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 5ADDA28824 for <patchwork-linux-mm@patchwork.kernel.org>; Wed, 9 May 2018 11:58:30 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 6A91E6B04FF; Wed, 9 May 2018 07:58:29 -0400 (EDT) Delivered-To: linux-mm-outgoing@kvack.org Received: by kanga.kvack.org (Postfix, from userid 40) id 659576B0500; Wed, 9 May 2018 07:58:29 -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 5249D6B0501; Wed, 9 May 2018 07:58:29 -0400 (EDT) X-Original-To: linux-mm@kvack.org X-Delivered-To: linux-mm@kvack.org Received: from mail-pl0-f70.google.com (mail-pl0-f70.google.com [209.85.160.70]) by kanga.kvack.org (Postfix) with ESMTP id 0DFCD6B04FF for <linux-mm@kvack.org>; Wed, 9 May 2018 07:58:29 -0400 (EDT) Received: by mail-pl0-f70.google.com with SMTP id i1-v6so3629954pld.11 for <linux-mm@kvack.org>; Wed, 09 May 2018 04:58:29 -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=gYJk9GlTnT4ztiui8wqRNk2VpDU6MG7btK9SWXHYvxw=; b=s8eh1Xs6QiV7dVt+pvuhD4DS0DwAsAAU4y5neSwWq0WX4Mx/PwKz/5jU7pM53WYZEb b/38Itz+1NZGSS4hn4tmg0xwZ1cr8a3SpAMP0vusVKvz+Ddrg/OXR0LiG8LpI7KuI4Xt 3t1EyF0bvCZmxor43kEkny5gtyw76z4regmoCRr7pgB2ly6Lm8xZJbCFZvTT5QNAQMEw ge7856wWppkQJmDc+MwUWJHDfP27YuYIP/FXVfNdDq2tlQyTqJtcnp5pieE755Ekp40A ChWr3vqlU0qM461yDsIXxV1bjCttXWHXwipQfvlQwy5ajdrEkQiYV3WlAMq0D35A4yi+ uxtw== X-Gm-Message-State: ALQs6tBHbeTdlP90TGLuF4h2RW46FA1l8ok22PpibwwRKF6Tp0Nmy+HS HCmLKYvx5qMpDHwKCrY0OR2iGKREj08gqWYNru4m1NL6oCv/U6fD45pBqtJ5lHGOrcAXGAm8mnC 2d3lUNY+xoF5EwkKO3UfijOpBwMu5XROfrvf6FSC9Zdi27pFsWY5xzXzL186kYm9x5Q== X-Received: by 10.98.152.29 with SMTP id q29mr23294349pfd.65.1525867108751; Wed, 09 May 2018 04:58:28 -0700 (PDT) X-Google-Smtp-Source: AB8JxZra0oI4tECcCtJDLekzcox9OlCs8eOONQj8fglaYrLMEMtiGxPk8drJBoK5+k2qWLw7EGO2 X-Received: by 10.98.152.29 with SMTP id q29mr23294325pfd.65.1525867107997; Wed, 09 May 2018 04:58:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525867107; cv=none; d=google.com; s=arc-20160816; b=UGLiis/gKQIuW/BF63Qm4intPcIfmHck4y7wwpQV5AUr7ZKc1VESpXt5ueor8MGeK/ Au3VJ4R/I3bs7E6SEz/WUGzgZbpDoIfaNOQivvEv1p7J9hA5sgcb2YWNMf1lpNncOuty 3R2ElCVnukzQBQji5jzjZogYDovhLXpO/KFBd45snGrHY2DGv5yT0fB9xk3U3+bnRfnV XBLYBllH4i7iESmg48hyKTNpQJlrgTesvZQ/e3zlRjSGuNGK1iZpSPeihAYpQDyUPX55 gxCoc1AQlW4ADx29p/Z6Q1ZRoPaTWFKP7mDQUySoufFunGGIckSKUvKUwU7EgCd6HCb4 QURg== 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=gYJk9GlTnT4ztiui8wqRNk2VpDU6MG7btK9SWXHYvxw=; b=m+POhWP3A4Y+rN2fgpKs2lWfvJRGYtnHkz1RgXNGbeUaaF28NW+PtwSspv7/s6S8EB z9C7B587lR+HBfZoIMj8BQRzoTlF4JT3lJPIUnnYHvhvp0h15LvE6eSvraRVQ5ZIWEh7 r4BY97mEGwChWsnJLEU4zaSxkM7tZ00uxYqpiRYDczboc5wwGNFhB0do6bEXpBKNHUNy i7yKg5oOIfbXd68eWKRhiOnjtEEVq2V+iWUIj5aXr8ZP68ipsgec/GexZuhkadLkASVg 3cY45Y2jKn4ciEFAGDjOsMpK4rEhrlHlJUZyIiCKIeMH9fDpsrGO0GM54ReWwbx8g29v q6Ug== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@virtuozzo.com header.s=selector1 header.b=YdNJhO/+; spf=pass (google.com: domain of ktkhai@virtuozzo.com designates 2a01:111:f400:fe1e::72e as permitted sender) smtp.mailfrom=ktkhai@virtuozzo.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=virtuozzo.com Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-he1eur01on072e.outbound.protection.outlook.com. [2a01:111:f400:fe1e::72e]) by mx.google.com with ESMTPS id r13-v6si18558312pgt.8.2018.05.09.04.58.27 for <linux-mm@kvack.org> (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 09 May 2018 04:58:27 -0700 (PDT) Received-SPF: pass (google.com: domain of ktkhai@virtuozzo.com designates 2a01:111:f400:fe1e::72e as permitted sender) client-ip=2a01:111:f400:fe1e::72e; Authentication-Results: mx.google.com; dkim=pass header.i=@virtuozzo.com header.s=selector1 header.b=YdNJhO/+; spf=pass (google.com: domain of ktkhai@virtuozzo.com designates 2a01:111:f400:fe1e::72e 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=gYJk9GlTnT4ztiui8wqRNk2VpDU6MG7btK9SWXHYvxw=; b=YdNJhO/+GGMbbrWkbQGnLO8pQ6TShRP5RW7Oe2DTjmYxbv6ZsXYcwulz7v7rDbABeqfEwxp7JcZun9Yp3R1P1f8KqGUYz8NUYUF+sAEqAdI+Ha3mcpGDZ+6TVkBXhCH6EYwceJMDvwm/95tZsW2vAb2Vyccg5Xu8MqTnoPXyRvQ= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=ktkhai@virtuozzo.com; Received: from localhost.localdomain (195.214.232.6) by AM5PR0801MB1329.eurprd08.prod.outlook.com (2603:10a6:203:1f::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.755.16; Wed, 9 May 2018 11:58:21 +0000 Subject: [PATCH v4 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: Wed, 09 May 2018 14:58:18 +0300 Message-ID: <152586709816.3048.15189884684148941380.stgit@localhost.localdomain> In-Reply-To: <152586686544.3048.15776787801312398314.stgit@localhost.localdomain> References: <152586686544.3048.15776787801312398314.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: HE1PR02CA0106.eurprd02.prod.outlook.com (2603:10a6:7:29::35) To AM5PR0801MB1329.eurprd08.prod.outlook.com (2603:10a6:203:1f::7) 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:AM5PR0801MB1329; X-Microsoft-Exchange-Diagnostics: 1; AM5PR0801MB1329; 3:pHNS/wa3b6QqqUwnpc37YLqrzzntrSETXIQhH63kGEMAXDAdX6X3l0WV5/gnRB3cXN58FA8s8Y40vIWYmhs0Wr2uZHzCcBDg7Aq3tFgARU9sVC+v2QOUw/WNKngJ3bDvGMC3Tyl+gvJwXHC8NHESXdv90WdqdJJXq75asNxtsdzBQSSvhx+eSOmXBW/eW+7zNF6e0/JwtjJrC+b7DhGQdzDlpAfLOfRD9fXLp3L3PGmXr1qL9c0gdSyGv0CEfLQy; 25:3kIQQ0DXpAthCdgKEhAG62Hf19DxuqPA1p4+Th/6X06/VgV7UQMKyL3oOurbnHI8YmBpAjvQZEXPiA/PLwg80ST8flG5+R9Hu0t6mgavsRiMFYPua0UxH6pEkBt36ExiveS20rij13/cUjFU3NjZ31VD9322uPGkB6mQBoU4K6CAtPu4Xe8X4WWL1odSWvcKcxC9xJMUE7LxmgOmDkMsd92Kyh0LdJfa491TKmQAbatDU1SY8iu3xfdB+YUylws6YZAxU6jr9vfynKnBfYrmFHG1GqHUqiFhwwLeLcxg0dZz9xtdTYua71f2ovQL3SrYsAKfDtdu2r6bE4mpCp9yMA==; 31:GRoZo1JERqd45j0JGSvKWAzc3pdzlliisho0NRHopjRVmCW7q1SClaUGzL14FStLiWhoqhF/D7IJC2snKVr1P3W4nacBZhXfzEk09J6CH6DGRreTM0DUd49xVeu8n9aHHks/ldeojCLZWQhPq9N1e+SfNsWKLXMiqQIjt+N49j319BAiGMhLWOATUpLO5Q4whL8EwrzX0PWvR0ttotL6YnQyoqE3xYCwh/hbm0+f68U= X-MS-TrafficTypeDiagnostic: AM5PR0801MB1329: X-Microsoft-Exchange-Diagnostics: 1; AM5PR0801MB1329; 20:3TDJHHGsQru3d+MiIbTndIFgFXHxKRLpJScyuX6ByGN6WJfcZmQYzJbNRXSH4bGmozn43RwPONw2I86CexpR8GTyWntriG1sBdMjr/mJuGzCYqNu6FnroOXRURr/g/v8LrIavVGlN0sIOLpF6Xhe5RintbXtq45mrUaUutp2zaUpEHJIreZOEjMHjV+E8rZkFjMBePKrg7Tls2ifjEiM+jdytKkD3JuzJPYLu3VONHUErHUIPZonxx5j9PiPihD3GbciGK/NCUWIqojYjrTtsYtpMkC94ackYNwgWVvDydEV9On78si2kpAwKmEPoUsT0v7Ili2upS9JZXVW7G8noK8JqHVp7c0MKA5pVakB1i0uTr73dpvDwsXDPOl7dyAN18xqlcNY4jlqjmw5bOWd1SSeEfEJciGVL2DOtRrrpn3Ho4NwxqZCjfG0LEBzTxBcDf1bDxsuCB1g+6YKeBqnZDcjZHXC6ggOdDIFnq7ie8Cq8OVNWnA0FTQgauKNPJs5; 4:dOkxuABSKyL+Km8a704OFQuP1yqq/BkUf7LfjcsFGrfIba9fMgyL6wc3KR9BaAQQGiIDJ3lrLNT6Z6YqnUYvbXR2S//hXibr/Aj0BPV5evCj4jzKIMUCA5O5nrD6fUR04ouH7IikUrmGc8sta60U9coI4ZMrjJN0u6+1cULRGUHEG7STIF//EiLwZdA5HOhaIolkZo2VrtkQW+IAxqyX8jTCNaWcVJA0f5+JeQLpLCD+DGfNAtxa+iD/dc76OWZNJIxjdetrtvM2uunEYumLQg== X-Microsoft-Antispam-PRVS: <AM5PR0801MB13294CB483C5851E03437119CD990@AM5PR0801MB1329.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)(8121501046)(5005006)(3231254)(944501410)(52105095)(93006095)(93001095)(10201501046)(3002001)(149027)(150027)(6041310)(20161123562045)(20161123558120)(20161123564045)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011); SRVR:AM5PR0801MB1329; BCL:0; PCL:0; RULEID:; SRVR:AM5PR0801MB1329; X-Forefront-PRVS: 0667289FF8 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(6069001)(396003)(366004)(39850400004)(346002)(39380400002)(376002)(189003)(199004)(97736004)(47776003)(478600001)(81156014)(8936002)(575784001)(66066001)(81166006)(316002)(53936002)(7416002)(8676002)(3846002)(61506002)(6116002)(230700001)(50466002)(58126008)(39060400002)(86362001)(52116002)(59450400001)(386003)(11346002)(105586002)(55236004)(476003)(76176011)(956004)(6506007)(33896004)(9686003)(2906002)(186003)(103116003)(23676004)(486006)(25786009)(7696005)(2486003)(5660300001)(7736002)(68736007)(26005)(305945005)(16526019)(6666003)(6636002)(446003)(55016002)(106356001)(921003)(1121003); DIR:OUT; SFP:1102; SCL:1; SRVR:AM5PR0801MB1329; H:localhost.localdomain; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; Received-SPF: None (protection.outlook.com: virtuozzo.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtBTTVQUjA4MDFNQjEzMjk7MjM6M2RYbThPczFQSUZMZEtXZVF4aEM4c3Na?= =?utf-8?B?ZzVnRDNJUXZCeFFYRytGYzJMQzBhY05rb1N1SUFSNllQbThtME9NT3lTaHRZ?= =?utf-8?B?Mm1FUm9LSjdBNHdEbDRpZHdzakUzcGwvQ0tqOVZCVFFyM3ZyOGcvSUNQbmpk?= =?utf-8?B?MjVIQWlkbFIya1ZuNm13ajJ1SWJHNnpaWkM1bldzOGJsK29NKzV2LzRaL3Z6?= =?utf-8?B?bXR6OThxbWVaNEI4T0FabjdNWkdjdVFhNXI3dTVZVk9uU2RodUtqNnVZWEN2?= =?utf-8?B?enV4MjV5MXNBT0FZWVBsa3JxaFFoZStMNGVOMzlFYXYxUHJVNFFYVUdXeWox?= =?utf-8?B?TE9EMVRPdVJrbTV0N0xuMkEybGtWZGlKWklzZ3BoU0tXNVVwWnRZU3lsb3lC?= =?utf-8?B?Szl4ejZwMDZ2c2srR3BrZXc3ZTlSeFp0MVBPMGJ6NHloa2NqSUZaQWFVVlZo?= =?utf-8?B?eE5GTE85b0N2dmFFZVVuT3VjeVdUVm0vSkgwS0hrWE5ROWQzdzhCd3krdnRX?= =?utf-8?B?N2NNZUhHY2ZkS1UwT1Nud2ZHT0R3bU8xYWF0ekF6bUZESzZVTSs0dDJkTDNo?=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IFa/9OOLo4tQ4ZCgz4TLa2m5r6dKG7IkeXORlmz+lLmEyWU2sGxuTLV/lk9maRYlIm5957nBBXQfePNVPup7zveMgc2j0M3hecgFYkZviCJnXuXTbMRBJ3Ow==; 5:ptiOZt1GPUpormduaGqEDqINqB18ftAvfb1GMzGCe9YzuXrXKk53bW/voC6XBqHM9hg7nz8C/4pwRv24/+7Yx2QAc389GZhz1qm+vTHPER3dCpSDt1dYyEdlH8sBYGi0fp/JYQYxiZVHVd8Siraajp6gdI8SemlSb2FUgzwmV5c=; 24:YG1upQSEJSS91gEASuTKkwF9BgPPG51kPPfnXRwfo3trTwJmLw4+Z82vmBc8DoHhwH2Sg+W0RSjvG7kYvOo9iGc1BVsbqgiymn46CigBSu8= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; AM5PR0801MB1329; 7:x9pz9IFqS0YE3ICX2MVk3V179u509Ht3ZQyIlhJXCMvPj3PLyLQLLPCwsCNulGnExVn5CfndmOCHPcAvaBTsslCkB1gyUBnDtlH6w2UvNG2FiRwZkLMr+JV2mttBaEM40puKCl8wPvVb5Wf1o+YK/w+I/GrGgCpZgzscHwuaDIyg4LKv25ZA/5odbXxeMj+dtIokuYjUVzvRGnemE4+c8BVuyZrvEe9RsiZfB2tAS7BAff/rafOKxN1vIwwDXPyP; 20:72g1FenURELJSOyQQw9gGvU96hiwVi8zvXJ3ByCHlp2vBS9NB75YRjqCTdNZoOebXfXu4FgpNS8Ig+q++5ZoAQMYZ/lXrFW7JmWifPxukNnDEpL2tLkaJlUtvRlYCnPZAXWI5gDexZ5xuQOoYsTp582Gt3ovofSxJyKHLNfcZx4= X-MS-Office365-Filtering-Correlation-Id: 00a69136-2feb-4189-9407-08d5b5a42a21 X-OriginatorOrg: virtuozzo.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 May 2018 11:58:21.1712 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 00a69136-2feb-4189-9407-08d5b5a42a21 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 0bc7f26d-0264-416e-a6fc-8352af79c58f X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM5PR0801MB1329 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 a92850bc209f..ed0f97b0c087 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(-)