Message ID | 152698375421.3393.10030992972653234848.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 C9B5560224 for <patchwork-linux-mm@patchwork.kernel.org>; Tue, 22 May 2018 10:09:25 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B8DA328A49 for <patchwork-linux-mm@patchwork.kernel.org>; Tue, 22 May 2018 10:09:25 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id AB2A628BAD; Tue, 22 May 2018 10:09:25 +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 7EB5428A49 for <patchwork-linux-mm@patchwork.kernel.org>; Tue, 22 May 2018 10:09:24 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 0D2416B0271; Tue, 22 May 2018 06:09:23 -0400 (EDT) Delivered-To: linux-mm-outgoing@kvack.org Received: by kanga.kvack.org (Postfix, from userid 40) id 083466B0272; Tue, 22 May 2018 06:09:23 -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 E3F676B0273; Tue, 22 May 2018 06:09:22 -0400 (EDT) X-Original-To: linux-mm@kvack.org X-Delivered-To: linux-mm@kvack.org Received: from mail-pf0-f198.google.com (mail-pf0-f198.google.com [209.85.192.198]) by kanga.kvack.org (Postfix) with ESMTP id 9DAE56B0271 for <linux-mm@kvack.org>; Tue, 22 May 2018 06:09:22 -0400 (EDT) Received: by mail-pf0-f198.google.com with SMTP id e3-v6so10953935pfe.15 for <linux-mm@kvack.org>; Tue, 22 May 2018 03:09:22 -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=lWojMcl44QyK4iDxHazyEGGrA6uYv/3WIyeAjOKIYRLtI8CZ8dHm8msufIB1mfrgPJ V1AX8QT8u9yDtl91H/HkqJ707fBKO4c6cQAJFKLbuH309tKXfdLLgpi4Yt24UDJkwl4Y KB51rORNXwRbGbp8KUcQGfE2IwfeG2jeIUYdh1RwBJtlQ+FlpRTF/FGNoG6RBmZt4xRL X2JgtDvjDImDGae4maKlOD51jr5TQ4MN/zEffjqWlNMIFjMfcuBdN/roJR8V83kkDnFk 5yJhbISTNqlChdkbZm2vMMyeudyNJ97ANe5hVWah1jFqaUaN3LKkN62Gr7x90XqICBaj s2jA== X-Gm-Message-State: ALKqPwezisUWiiDne6lkVsSlKNRCi2Bm9bmNJzMRbXinrmaYO/C4F5sH PaQH0h7GW/Xc3nDcoHDl+x2dL+6mcktjfz+Ka5vMBjAP6uFvUhsBVLg5wc+yNKOwbmEkcl8GoQc ua07BbdHdKANSplDecavoacS2ir68HGLAe/rugZnOz9lme8EeRPbYIS75/uamoHWqZg== X-Received: by 2002:a17:902:8f93:: with SMTP id z19-v6mr12840378plo.166.1526983762336; Tue, 22 May 2018 03:09:22 -0700 (PDT) X-Google-Smtp-Source: AB8JxZp3sjEVCpsnGCt7bSapYC/klSZZuzoffNZhVFGKeNXd0v41Ld/GORejyoQhh+qJ6mROqdc1 X-Received: by 2002:a17:902:8f93:: with SMTP id z19-v6mr12840338plo.166.1526983761759; Tue, 22 May 2018 03:09:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526983761; cv=none; d=google.com; s=arc-20160816; b=iPtp0jI98gHwFDXFfigFWi8pUazQNr+v2qbwC3GxYbBsKN0ZsBf6kNBFPK82cF9ITy jLwlXXot2fi6BgOKkJW+ng6LA3Ax4FEKgv7h52yqGnppuUhWhFAZclFIFo8Jre5CXsIf oae2NurRSOo8iJGkd7zghbpCGcwaFTygLtr4jBkPR+LZcRhIKlFLkAEBdfQTE3f5akaN sByqj2B7WtYYNVag/chE+iijvSgk5RjHworJQzCESg2WvobdhdQSwn0mG0qIVL9vSgUu COrBRfm+tsyyT/CEvMsSPRsIfQUuvuT4pvXZ2Z4o9HRVBMyG2RVEz+PVhdgKSsxRV7Yp 7TKA== 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=HIIEWGjPFilkjVLgaiRoNRdIN456s3OOZoHJUboDsv5DQEOD25a2OgW4l1HmoRp61n dOO3Tz4OQKnCCy8fcJwWcNExZeBRHcYGyQvqndmr9+HcdeEGSTjhD1Y6vGFlpXuzoLRa J82oi1/KfuFXdf3eP2GmyhUqRwxjAgGItAwQ3r8BJL/FnJNo3jIkwC7/SQQ2Nc6n962o 1rtIWhKho0RkeVo579rncggiNvW/PpiA+nFj1DgSSLvpl/AvymMhoRqRo2GZcHAc42Q+ k6pFt1+HddRQ9Juz0iJiNtKicJhXDx4yg9nV0QViZeqiamtbKNmkYnuRaA/tzsVgwdwG 9r/w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@virtuozzo.com header.s=selector1 header.b=EXk7DWtJ; spf=pass (google.com: domain of ktkhai@virtuozzo.com designates 40.107.4.132 as permitted sender) smtp.mailfrom=ktkhai@virtuozzo.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=virtuozzo.com Received: from EUR03-DB5-obe.outbound.protection.outlook.com (mail-eopbgr40132.outbound.protection.outlook.com. [40.107.4.132]) by mx.google.com with ESMTPS id c10-v6si12292035pgn.231.2018.05.22.03.09.21 for <linux-mm@kvack.org> (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 22 May 2018 03:09:21 -0700 (PDT) Received-SPF: pass (google.com: domain of ktkhai@virtuozzo.com designates 40.107.4.132 as permitted sender) client-ip=40.107.4.132; Authentication-Results: mx.google.com; dkim=pass header.i=@virtuozzo.com header.s=selector1 header.b=EXk7DWtJ; spf=pass (google.com: domain of ktkhai@virtuozzo.com designates 40.107.4.132 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=EXk7DWtJJici/E/IgM2Efc41ze3MTD5NsDanewm8GRAKINiGmIvb4q56pgeWvFAbPZUiXmnGw8U0VlQbxmsYq1WgxelQSxq63L45tEjr/8eoB12WJdDAglEeLN0oMNxvHJEQAJ25RfFCbBTMTdLeNlWdl6E9wEEp2up52ZEDGRQ= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=ktkhai@virtuozzo.com; Received: from localhost.localdomain (195.214.232.6) by AM5PR0801MB1331.eurprd08.prod.outlook.com (2603:10a6:203:1f::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.776.11; Tue, 22 May 2018 10:09:16 +0000 Subject: [PATCH v7 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: Tue, 22 May 2018 13:09:14 +0300 Message-ID: <152698375421.3393.10030992972653234848.stgit@localhost.localdomain> In-Reply-To: <152698356466.3393.5351712806709424140.stgit@localhost.localdomain> References: <152698356466.3393.5351712806709424140.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: AM6PR0202CA0008.eurprd02.prod.outlook.com (2603:10a6:209:15::21) To AM5PR0801MB1331.eurprd08.prod.outlook.com (2603:10a6:203:1f::9) X-MS-PublicTrafficType: Email X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(5600026)(4534165)(7168020)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060)(7193020); SRVR:AM5PR0801MB1331; X-Microsoft-Exchange-Diagnostics: 1; AM5PR0801MB1331; 3:k5G5APMV9HC8sDr+Qu38sY55RC9WjTYoHjIebaUSCpAL40+nqyvv8Db3PE1nPhu3QsdxQP5cab8koxgyY3wSHA6HsV8iJlqw+/UiKZvrHLIZQCggTwPOFLI7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9CTi2Gj0kxYtRk9M9Tu5iMNUpw2i23/54hw4+t1p/m37jTUFlMqryn+vgt6+2imOPIgchGUQmFctOtyu5ZA392Z3IIyFZhmFybIBKq2NeW4o0YpSz9DLs+x5+eNiozcAR8xilnDNNNmG8baI/AXSRgoY6kS5WGFIHszSr7L5YRAaO+GT9LvMja8p2gRixeyNO4Rz1lmHS3y7dOfgbTTJbDsEEbRuD030gXqnW/xtzBPHozAxV; 4:58qjTH6EslMu5OmgBENyiTE7sJTqQd4dSy+OvUtmRQnQVQMdNjf61ZgwXWUgGbBdJ0WMtf+Yact0TdDKa35GD6pE7W2CUOjd6mpFktXTJxrx6+VWsqudqwELFBOmNMnYpGrdIcT9Wq0ptwwx4zxQhwjmHiUoqSDHbpJNU3sKmIXIIyZZchHFmDrACNVzIBRYUCPv++SWI8a35DZdB4ZjhJ0+f9XFZYKETwXyRC2sektXzJbSnuAOXsHnasE4fKRp7gWeW+AMpEwOHzU5Rh+o9A== X-Microsoft-Antispam-PRVS: <AM5PR0801MB13313176F64131C2EEAD9150CD940@AM5PR0801MB1331.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)(3231254)(944501410)(52105095)(3002001)(10201501046)(93006095)(93001095)(149027)(150027)(6041310)(20161123558120)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123562045)(6072148)(201708071742011)(7699016); SRVR:AM5PR0801MB1331; BCL:0; PCL:0; RULEID:; SRVR:AM5PR0801MB1331; X-Forefront-PRVS: 0680FADD48 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(6069001)(366004)(376002)(346002)(39380400002)(396003)(39850400004)(199004)(189003)(97736004)(186003)(106356001)(9686003)(2486003)(52116002)(7696005)(68736007)(23676004)(2906002)(33896004)(5660300001)(486006)(50466002)(386003)(6506007)(76176011)(59450400001)(61506002)(16526019)(47776003)(7416002)(55236004)(26005)(66066001)(86362001)(55016002)(6116002)(8676002)(81166006)(81156014)(39060400002)(476003)(11346002)(53936002)(316002)(25786009)(3846002)(6636002)(103116003)(956004)(8936002)(7736002)(446003)(105586002)(305945005)(478600001)(230700001)(58126008)(921003)(1121003); DIR:OUT; SFP:1102; SCL:1; SRVR:AM5PR0801MB1331; 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?MTtBTTVQUjA4MDFNQjEzMzE7MjM6SHpwb05PM091Q21EMVJ3VTVLNDV1QzFi?= =?utf-8?B?NHRRTVBaWUgxVjNZTVhmZEhnWVdKaVZ3WHZmOHd5SmxsZlBYcEdpeWZnZVNU?= =?utf-8?B?cE9Qby9XMEI2ZDUxSUdMSUFHK3RjRSszZGNtYTFGQ2JYajg1WFRYNjBjZlN6?= =?utf-8?B?N3N4OWRTTWpnMnNuV2h5Y1hQZUNBVytwd01CZDlrSlIzSDZUandkYUlteDU3?= =?utf-8?B?LzYwOVlObmlWaFUvam1IN1A5V0Vyc1oxYzdjUTJoVk5lTEJaRjltWHN3WnhZ?= =?utf-8?B?UGVMVjJOV05iUCt5QVVDR0hkMzBESjlmTzk1VzhoNUhqY1p3N3VoRllLb3l3?= =?utf-8?B?Z3AyeC9tQnN3dTZhM3JrYXlXTEVscUZ2MEFuZXVEcWtBMUIyMGZndjRsQUo4?= =?utf-8?B?S3pLZFlqYnphcVY0N0tXc2ZJYmI1dnBESnZRTisyaExQOUx3Y2x3WE41Lzdh?= =?utf-8?B?ZVBBZENqKzRUR2VXelJqWDBxazByWUFKS051dFhxTDNWM1ZSU1RKeTdyTU9Q?= =?utf-8?B?Z0lsQU53cno2Uys1aEdhcXUyQzNtN2x1clo0ZkZDNVRXL2ZpaDd5RWsyTHF3?= =?utf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AqOx6KmJ1c4nFZs5FgZGr/RV5K4aKfp0wy3GF+Xq79g==; 5:SNrvEpdsgLy+F7LhqZu3k2eVAbt1hJ0JdBhgbNDd/ispbF4v5viHMiGFyltQfDjdmnNQm9czy8JyH9NTi+Zh+FVNOh3SLcoqwe4VxFXW4hOlap5DuA6yiPBGjD5iG8qD4fjE+B3MszkHxN9DHUssAVu/XaLEt1LP/K5kEwc0Frc=; 24:hJor+K15jt1Ir90ZFrZnn4CraqG3PXhveIpTmF+uLAd9g9cFCaP4XSbyO/UaOexpyPqG4MXqab9Vic6k9Tdjr8pKa0kjTjR2KjGHvO+N9S0= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; AM5PR0801MB1331; 7:58jFfg4sg54Pc4VrMvzC+vJHTCzfZR6hBWSIHEvX2C/wweFJVMlXbpEKVn26RDyA/qlsfCD8DX3oLYIasgvkaxaE2qdJANiLLqw8PJooBZSLE5d0piEcHAjyV7MjQlGzer8AK04c+V9Io3Hj7MPhQpmIS9ChdrvUW4uYUrFMavRNJoHsvekrUQyM3xbMJ0V5q5x5Rrk9Oxa30UkVoVORRa1goIvGEM5Uau6povrMft0y0/EXUrInJeyJcbAoTHbN; 20:GbLPYZz83oK2UjV0cGhnN44VXP2ZN0ggb5AS/nT7E6I5dxBT8ffg05WEV1kDAr+WJ1JNbAi3nWHunOh87SH7Q9lmeH6RW+4W7W1+kXRuthxELsskTY8osGGXC74xWQjC8ePRRhs6lZ0nqKJN7MRNXcvnLNK2kHIWkCHFPoBKVf0= X-MS-Office365-Filtering-Correlation-Id: 19a6446a-3080-40e3-554d-08d5bfcc145d X-OriginatorOrg: virtuozzo.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 May 2018 10:09:16.0242 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 19a6446a-3080-40e3-554d-08d5bfcc145d X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 0bc7f26d-0264-416e-a6fc-8352af79c58f X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM5PR0801MB1331 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(-)