Message ID | 152663301468.5308.11453847445952411196.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 28B4B602CB for <patchwork-linux-mm@patchwork.kernel.org>; Fri, 18 May 2018 08:43:45 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 196BC288BA for <patchwork-linux-mm@patchwork.kernel.org>; Fri, 18 May 2018 08:43:45 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0DB1A288BF; Fri, 18 May 2018 08:43:45 +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 A5830288BA for <patchwork-linux-mm@patchwork.kernel.org>; Fri, 18 May 2018 08:43:43 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 7B6206B05B4; Fri, 18 May 2018 04:43:42 -0400 (EDT) Delivered-To: linux-mm-outgoing@kvack.org Received: by kanga.kvack.org (Postfix, from userid 40) id 78C686B05B5; Fri, 18 May 2018 04:43:42 -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 655B66B05B6; Fri, 18 May 2018 04:43:42 -0400 (EDT) X-Original-To: linux-mm@kvack.org X-Delivered-To: linux-mm@kvack.org Received: from mail-qk0-f198.google.com (mail-qk0-f198.google.com [209.85.220.198]) by kanga.kvack.org (Postfix) with ESMTP id 35C556B05B4 for <linux-mm@kvack.org>; Fri, 18 May 2018 04:43:42 -0400 (EDT) Received: by mail-qk0-f198.google.com with SMTP id b62-v6so1238571qkj.6 for <linux-mm@kvack.org>; Fri, 18 May 2018 01:43:42 -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=VLs5sGQTk/SBzLur7L0/bJRpBuflNB6tFsb4nnW9LAY=; b=LfMkgWxNVxo/ESAP5+BgLfhuUwlfLG8MkcV/+eUfqm13RZr2kt6Ilfh5PCiY4pEO+Q ANipmgIuxsvGPizEjMsg2ZPcPoDgCh3x7EoUS/5DyaJKLVYYJ1IyYwtjTfbkZnWkCf9y MGkpGagf//ttzHkfsQwM9VlCC1sW32uTyjcJFwGfesNR/Eo7mN4PFb2LxMsaj7l3x8cL 2d4KEYaxmD1WP6zQcHNXL8rGlvmkZcjgYk3hoP19wYN5uZXrc8jRwHM5/MJUGl86hMNg +iExKIq0hVZPLKCj2svWRGLs2H89Kt+EW/hcN2c4ggzwp489Zi99eMwNofLNijre5mc+ eu9A== X-Gm-Message-State: ALKqPwe7WkBpikkT3hWIuPFGTo3BH9EypKC3X958KQ9pySBnXxwR0hKe WEBe51Ctg6M0ITb5eL20/hfxFEDniqaU6yK0+6QLRYFF3d6M5IyDc9XI19179eCehXTLyxTUUYr Gt8BzTJAP6C6WGmj43Ik2h21N4hHOUFIAdoN4fuZcDnvQEvRnkNCnC1J6PhnSJCOykA== X-Received: by 2002:ac8:41e:: with SMTP id v30-v6mr8784214qtg.270.1526633022019; Fri, 18 May 2018 01:43:42 -0700 (PDT) X-Google-Smtp-Source: AB8JxZpwNIN4FRJFRrrKn7ImUjnm1h5F4iNKOlQaQL69wYJpTbIAD3aAq4P/sDBOn5Ey3YJ6rvwY X-Received: by 2002:ac8:41e:: with SMTP id v30-v6mr8784193qtg.270.1526633021492; Fri, 18 May 2018 01:43:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526633021; cv=none; d=google.com; s=arc-20160816; b=x874sJId+q6wHGzw4EQONPMaD00DkOYIElnDkPB5z/o4D9VISvmUoE3AI+9X1eKDNc qL9iGck6I2d+SfWWuQihnxwwO3S4Af8UlrXSk3uaxarxz0Gb94RW3DxQZScI/iozse/4 LJ0Kock3a+y4RK+ezYxgU7/9tV/oku+iVDqrMEBJxL2b0pCFdd3uOx/b0oFdoGYxWkNp SO4KQVFtMkZ6gu+Hb7zu4QUrvF5bvOVATFVwTLDfk2RV6OuhAAX4J9WZr+DYPNJebASW 1pj9Z6Ej4zg0vWjK/DKeWjnsWva0MfEFtbgw7m1ZHdfj1YGkKF6i3gseNL7AUHOKJKOs /zDw== 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=VLs5sGQTk/SBzLur7L0/bJRpBuflNB6tFsb4nnW9LAY=; b=b/9dJPyQaD656cKlSicecWKJNZy/ShvgF7iyYq+6fClY50L3beeGxImOu2GesED+Qa VzrvtCE1KrtUdAIzIzvgtid493nF6DcNwatwEze10LSg0KE+JNapJ0PIV/Vdl28j5TN5 Plob7jj1kGnSeTdXhRBaO+PA3KifDDNAQh1G26GVutBSpHuZRgK1lpltWPo3L/NN6R1m QMbR90MaSF4fHh+6tvjwvKqOQCKOjiyQ6cLORPtdcRq1JjZ34ehuAj5YRpNgRITcf7Cb QB1oR/RcsOK8I2Tl+aB0n9Ou6i1jfCyCplD++3ER8/tMSNJ8d/ATrzPgd40wPVkss/Fl d9cw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@virtuozzo.com header.s=selector1 header.b=Dz+YKoyU; spf=pass (google.com: domain of ktkhai@virtuozzo.com designates 104.47.0.114 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-he1eur01on0114.outbound.protection.outlook.com. [104.47.0.114]) by mx.google.com with ESMTPS id q41-v6si5073505qte.2.2018.05.18.01.43.41 for <linux-mm@kvack.org> (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 18 May 2018 01:43:41 -0700 (PDT) Received-SPF: pass (google.com: domain of ktkhai@virtuozzo.com designates 104.47.0.114 as permitted sender) client-ip=104.47.0.114; Authentication-Results: mx.google.com; dkim=pass header.i=@virtuozzo.com header.s=selector1 header.b=Dz+YKoyU; spf=pass (google.com: domain of ktkhai@virtuozzo.com designates 104.47.0.114 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:X-MS-Exchange-SenderADCheck; bh=VLs5sGQTk/SBzLur7L0/bJRpBuflNB6tFsb4nnW9LAY=; b=Dz+YKoyUwPNO68mjjuxu3ubfuBlUSZzj/mu6yN7lDJQJswE2Oz6h4MTBuEwS/HmWjat/1G49YfF5DDzjOZpiLnXRkppwt8inRxknvkXgfdNKBMQ2+j3xjD0znzi4Cs3FynHeDyo7Y2wfKvZxzrNSwIpysA0tB++c7deL5Op7NBs= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=ktkhai@virtuozzo.com; Received: from localhost.localdomain (195.214.232.6) by HE1PR0801MB1338.eurprd08.prod.outlook.com (2603:10a6:3:39::28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.776.11; Fri, 18 May 2018 08:43:36 +0000 Subject: [PATCH v6 11/17] 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: Fri, 18 May 2018 11:43:34 +0300 Message-ID: <152663301468.5308.11453847445952411196.stgit@localhost.localdomain> In-Reply-To: <152663268383.5308.8660992135988724014.stgit@localhost.localdomain> References: <152663268383.5308.8660992135988724014.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: HE1PR0202CA0007.eurprd02.prod.outlook.com (2603:10a6:3:8c::17) To HE1PR0801MB1338.eurprd08.prod.outlook.com (2603:10a6:3:39::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:HE1PR0801MB1338; X-Microsoft-Exchange-Diagnostics: 1; HE1PR0801MB1338; 3:yL6S2K3eR8PrmkgxTj35K868jA8wptIY1qYNXx65auFk6rJCpjKIYlnyPi1WfOJrBC/8GwFx0otnMpJmTRGIWUX4FoFedSuiEBU+Z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DfkykpuAkH0B6iLmiMXChJ1tcxb2zdeZCP6jUAk7lLvp3PZd2Eqt2la6yTdcw+APBYwBXoBaBNsCKeG5f3a3BulXPOET2NtyCWmLiMRgZREw+5S7P7VPgQxjbd2CiwzGGDUETLw+fO+ZtjKIdZ0/smniQfvIlDDzeMYr/On0mepLGSxE9uRaucGgGFjO/3HsML9f4yAlQ1wugVida9IPQ3Vvo0S3gnx3hP//a46Eb7Qky1/QO183C73veCoy9i9DNxhgg; 4:MRLjZHl2yes4FLlI+GmO7bgNQjnVGoVgKS/SBS91j/eq8y+c+BnlHqQna3kMgRnNMGM1Wtf821abaH5YoHzZoJuhBWFGnVsarj4Q8VsUxGlpzSrxaORPuNoWjDiK7Zg3gHVTGi40iJPRSeOLk8Vm90M8EuVFXpVMtrBmZDOyfPx+NtcdSWDNvrHPb9d0MjYGCtSW3OUcyaOCjCZJ0QER0WIBkM7BU39vMk9ERjzLY44x7xeNDXROT95lRGjSiKl8Ynbz4Mk3h/8mXWmMxWJ6dQ== X-Microsoft-Antispam-PRVS: <HE1PR0801MB13385105EC11069F9D23BBCFCD900@HE1PR0801MB1338.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)(93006095)(93001095)(3231254)(944501410)(52105095)(3002001)(10201501046)(149027)(150027)(6041310)(20161123558120)(20161123562045)(20161123560045)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011)(7699016); SRVR:HE1PR0801MB1338; BCL:0; PCL:0; RULEID:; SRVR:HE1PR0801MB1338; X-Forefront-PRVS: 0676F530A9 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(6069001)(366004)(39380400002)(39850400004)(396003)(346002)(376002)(189003)(199004)(25786009)(956004)(68736007)(58126008)(50466002)(47776003)(66066001)(8936002)(8676002)(316002)(81156014)(81166006)(6636002)(478600001)(486006)(3846002)(6116002)(446003)(230700001)(103116003)(476003)(2906002)(76176011)(7416002)(33896004)(11346002)(5660300001)(305945005)(7696005)(52116002)(39060400002)(2486003)(23676004)(186003)(16526019)(26005)(6506007)(59450400001)(61506002)(386003)(55236004)(86362001)(105586002)(106356001)(9686003)(97736004)(7736002)(55016002)(53936002)(921003)(1121003); DIR:OUT; SFP:1102; SCL:1; SRVR:HE1PR0801MB1338; 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?MTtIRTFQUjA4MDFNQjEzMzg7MjM6YjZQNHFxdjRXL2dJOXM4cnJDYXBLemFM?= =?utf-8?B?bVNhTXg2dXVDdU9sUVJsUVVzQmQrZmlQQmQ5R3ZGS29ScHp3UVBkOFI1dXVn?= =?utf-8?B?OUN6MEZSbFlYV3ljYWRVNDBVd1dtRnJ6QnExKytLWjIvVktNMnpQQXhFcEVo?= =?utf-8?B?U210SjNlSjBJNCtWbkdUcjJVQ28zMnZEYXFRU0lkNUsyQVhwRWwwWGhidkd0?= =?utf-8?B?MldlbXpOZTJzWVdsWWtYLzVsSDRDRVlUTjRoOVRqRGREQ0Y0clNmSjRYRkll?= =?utf-8?B?REcvRXJudmIvemhkNHZXMkErK2pwRE1jM1RwZEc3K3BsVSszOEl3WEpJM2Zr?= =?utf-8?B?TDlocFYyUHc4VTlWZExITnlxaHRhdFVQODliSWo4K20rbk1wQm1qQTdMU0tG?= =?utf-8?B?Y3FVTElzdjB3YmZmRXhDM29FWk1CNk4zazlNNVN6cWJnOENkS3o4aUhiN0dy?= =?utf-8?B?aFN0TTZJQ3N0d3NoL3hMVkViVVhwbU91VStVU2tmOXRVVmFNeTk2d3NKRjRw?= =?utf-8?B?aERYWnBBQXNNU2RTcW01UkJTb3dlSEFVdlY3TUhsZ3EzYnJlUF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AJRvAmOmnack0GpxYjBZ4e+E8pzuAHVq7VyX9EmIo1G3D4+ltoZba6yA==; 5:zlilWCUPAaeocTXQ14vP367dIZd3vHExhYaFk6nzocZhVPjmbqW++tHZ7MNQXx+leiXNMZJeZTfZzywoTfdZ11/zcIPKahbKuOFxrPzjennJ9kKaYVB7/UaaCGmuiY0BD/PQoRhPzMfgW6kUC9oY0Oec0/Cyl7EAxR4U+P8U1gA=; 24:CDGSnnWNcfWPL2hF6z7jieDln9qJdbPsrAADr8eSzu8ancLbq3CBkCuQuOaA9berRywDOLHOuJcnFG0ZlPhAam98d6NjNNO2v63Kc2fSHzs= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; HE1PR0801MB1338; 7:Zy2Rev/TvULb961AxykWm5FldblL8I0MVeairguHoqlS5l3sURf2B0W+F+NkwuphI5C0/T56mD3cEX6ws/Bq6KbEwlrY+OLZ+Qwdw5DNOxv+49ZMIpioiuHv5HBkIRWkRzjPVvqtoxcZlA6OqOuTF/qe/ckI251/3xQ0I02wLytQ3zDnIosFAjIIT1+lA1kIfyvs+t6/fhhbBhHiDR23Af+sV7ZrQp3bSJNXj+RugcWfJB2xWVnlyoSNeEiXa2a3; 20:D/OwerPGUMI4ZyRpP9aY8sDU84lnauoo3IXDjQE75RvUwBczdAy1Z2PJgujsL+lBysN1Swod9T948JeqLdenevOrQUom2LDfX67iqVXZqv8fJRwZsvn+aLr6F/yHel5fG+IbS8Ezqxtp7MM9Mu5LsvGmQ4vFDENahTzZlQvAToA= X-MS-Office365-Filtering-Correlation-Id: ebdf1151-bbbe-41fa-b92f-08d5bc9b72ca X-OriginatorOrg: virtuozzo.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 May 2018 08:43:36.6196 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: ebdf1151-bbbe-41fa-b92f-08d5bc9b72ca X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 0bc7f26d-0264-416e-a6fc-8352af79c58f X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0801MB1338 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 43cbec52a48a..cab8fad7f7e2 100644 --- a/mm/list_lru.c +++ b/mm/list_lru.c @@ -514,9 +514,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; @@ -545,7 +546,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(-)