Message ID | 153112555610.4097.2305461097830154246.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 D1CDA6032A for <patchwork-linux-mm@patchwork.kernel.org>; Mon, 9 Jul 2018 08:39:27 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B9CF928A58 for <patchwork-linux-mm@patchwork.kernel.org>; Mon, 9 Jul 2018 08:39:27 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id AD65628A5B; Mon, 9 Jul 2018 08:39:27 +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 3AD3428A5A for <patchwork-linux-mm@patchwork.kernel.org>; Mon, 9 Jul 2018 08:39:27 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 294F06B029B; Mon, 9 Jul 2018 04:39:26 -0400 (EDT) Delivered-To: linux-mm-outgoing@kvack.org Received: by kanga.kvack.org (Postfix, from userid 40) id 21D7D6B029C; Mon, 9 Jul 2018 04:39:26 -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 096EA6B029D; Mon, 9 Jul 2018 04:39:26 -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 CF91C6B029B for <linux-mm@kvack.org>; Mon, 9 Jul 2018 04:39:25 -0400 (EDT) Received: by mail-qk0-f198.google.com with SMTP id v65-v6so3280634qka.23 for <linux-mm@kvack.org>; Mon, 09 Jul 2018 01:39:25 -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=rLRI1ZbXDIsM4mT3fqIl8zagslsbg5/wFjDIaSeuzfk=; b=q60p3UGvwW0r/x5l0cR38k64YPK++3F3gYpWsCO4nqNXVUTMwwqNt1/rtJfkFBfwmD C7CGsnKfk8qagNCUusonj55xiIIgD/w8WmtTPBRMstD861Cu/39748kog4PW0bLMTDcp p6UF4RBUmT8ysdeO+qBSy52gjFlTNvW9adiOxy4rt28fxcX7boZQo0x9HgPdsoc/dMwr O50F19B8h1Wkyreyyj30jjGl1UFheCj5OUZgrUOoEy/pcGxsXgdDoRK88gtU0/1nN5uw KlboHFvDAr9GptbJyBECf9iirGeSdvjdAz/YItXJTpH35LoE/jh5hnqlCG1d4wn7N8WV uhbg== X-Gm-Message-State: APt69E36ml6UbONEeB2y48yYCYUS/WcI7vBMhF2wAyYh6QFaevYcYOE8 nDhIVhSv0obYHszqDZQ8TovXxWnwoJW1MELqHcCgtPVj1TKFrMo47ly7v4NjQwKZ77F9ir4Lb8r YG9cSRud8opVDeWJ/3WFu50PP9pwS/w1A+xEG2UVTjN8Qq2AlW2NODDg5DLRis97V4A== X-Received: by 2002:ae9:c114:: with SMTP id z20-v6mr17627879qki.225.1531125565653; Mon, 09 Jul 2018 01:39:25 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcAjvdyJCurithUIEYlaN9zxKm/EZDdNl9iwSqj+7EVuWIIWcpBl/GoKm5GCJ7qPuNLv7Kw X-Received: by 2002:ae9:c114:: with SMTP id z20-v6mr17627848qki.225.1531125564774; Mon, 09 Jul 2018 01:39:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531125564; cv=none; d=google.com; s=arc-20160816; b=VvnnFAI3SD0ihLkMMR1Rsk40m12FkwOdY9zfh+qV24C74BauNlOInBs5ixrQYLB3bs AFibcYRLlPr8/r2ZsXV0MpiJOQ1mtir6MEqCAAscvu85KR85DA9BSfjXjk8NdUD9Kwgz sQRHqnwBp25f/EO1pED4OuUvI+nIeP9GC6oGtsjx+PrY7lLuMFKOS2o1+4xj00xNNUW2 DTc3sLF3iKSDUHi2ujVpROmFVaKqRORLXfWBg3agC1l5qFJMNkYIlgHJM2PQ/zMUNou/ cMkgz3jHWEXA+vx0FBOgi5ksKPHiDsIAS2QUD6EP/j1XzB2X7hbJtqs0cWPja8KWL3nJ eLiQ== 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=rLRI1ZbXDIsM4mT3fqIl8zagslsbg5/wFjDIaSeuzfk=; b=uVLwyK/Pim3x0YLXdvVhzot3YiIgSMfhdIM7+7tGQSjuMKb/VI7V4+DDnmbhaNC1Dp oqsyZ9R3lf272pOgVqr8T/z7cyRl7KqsRocnIN5cGXyrjzcjhjntQZ3JJTg5ycoh+N3U u/wspcN/MsBDaqJfjsNXwvLrT1mqEaEsij2Z3qgTMGrsLJ9+Qj9e3lesgkdJuHYjRd1i wTox00jaVOLDiKJ7687TTlrf+7toq0af//8fuXUfYzw9f3iG3kK0TZymC0pOMbuGI8Lx lSaanfNAbFs/RbcIX1JmI5GIDBztd8Fz5i07e/zdZgXFKfzrLBnU6IFhu0wqIgGnXPfL pnqA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@virtuozzo.com header.s=selector1 header.b=Fl2FbIcQ; spf=pass (google.com: domain of ktkhai@virtuozzo.com designates 40.107.8.129 as permitted sender) smtp.mailfrom=ktkhai@virtuozzo.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=virtuozzo.com Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-eopbgr80129.outbound.protection.outlook.com. [40.107.8.129]) by mx.google.com with ESMTPS id 33-v6si3123qkz.366.2018.07.09.01.39.24 for <linux-mm@kvack.org> (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 09 Jul 2018 01:39:24 -0700 (PDT) Received-SPF: pass (google.com: domain of ktkhai@virtuozzo.com designates 40.107.8.129 as permitted sender) client-ip=40.107.8.129; Authentication-Results: mx.google.com; dkim=pass header.i=@virtuozzo.com header.s=selector1 header.b=Fl2FbIcQ; spf=pass (google.com: domain of ktkhai@virtuozzo.com designates 40.107.8.129 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=rLRI1ZbXDIsM4mT3fqIl8zagslsbg5/wFjDIaSeuzfk=; b=Fl2FbIcQcG+Wu0+AE5a7p9WrAOTSIEqrYzhVHNq1RKugtP/u5I4bGuTyTQXuJBRY3eike+DxxugYBmaAqNutdGekJQu52woQxjyZe5yHMuPOeu1ASfUfuUMu+q1v3mchQ1OjralfJ62KI4OZUVkAhk4OtsS8ZozDiS3ZnkZbDYc= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=ktkhai@virtuozzo.com; Received: from localhost.localdomain (185.231.240.5) 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.930.21; Mon, 9 Jul 2018 08:39:18 +0000 Subject: [PATCH v9 11/17] list_lru: Pass lru argument to memcg_drain_list_lru_node() From: Kirill Tkhai <ktkhai@virtuozzo.com> To: vdavydov.dev@gmail.com, shakeelb@google.com, viro@zeniv.linux.org.uk, hannes@cmpxchg.org, mhocko@kernel.org, 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, akpm@linux-foundation.org, ktkhai@virtuozzo.com Date: Mon, 09 Jul 2018 11:39:16 +0300 Message-ID: <153112555610.4097.2305461097830154246.stgit@localhost.localdomain> In-Reply-To: <153112469064.4097.2581798353485457328.stgit@localhost.localdomain> References: <153112469064.4097.2581798353485457328.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: [185.231.240.5] X-ClientProxiedBy: AM0PR01CA0015.eurprd01.prod.exchangelabs.com (2603:10a6:208:69::28) To AM5PR0801MB1331.eurprd08.prod.outlook.com (2603:10a6:203:1f::9) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: cfa4fa1a-a3c3-4f5d-de97-08d5e57776f9 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989117)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(5600053)(711020)(2017052603328)(7153060)(7193020); SRVR:AM5PR0801MB1331; X-Microsoft-Exchange-Diagnostics: 1; AM5PR0801MB1331; 3:Iq3WQT3WBSPQn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5SJycU+KJaTTL6PbIGy3EGxWQZzfXUBf+JzZUx8MDtosUNxfGj5meU6Zc1liL176srCTHKzMbp4+9kyqfhKjGkh5VQJOcUclTPQ9lMLy9PfandOkoMH8gDGt5bxNjzSvF8UfsVs/3SjvewlVyOnNJs8ogpcnSdP48c8dLXqqDOBjtsIFTWjAgCLIpmdiu70EUSnySSnqZGzngMo6mNFRL0bJulQL3pFBCZUx6sc0K/rn9gT/nP5XshCs3XbyQhxpF23lLbkn1o0vPtHLQglxhsRINVeHKL7AqdrGx+tMF3K0meW+9BBgAjflXZAxx+mureQWkjl92VXWVFfe7h9cLolI4; 4:Q9Urfiw9ZxfuzQFU4/0IoOuQsfEyrGZq8s6cB9/iJXkLth3AoYDNZxG9pR4IuNvIyUCbWY/JJXi5UfCELwXA1Exf5NdLR44CWCs7oU7e8cFk/cn2wUTJZIgGW1vXsc5Le8QIFX2AR4tDLMaGBRESitHFA5i7y2QLV29O4WM9rG0tJujxw2my+qttXEzk6va8Elu4bCotg9qITotNIVyyeZ+V0S1PXzA20410Cn8ybYXwGJeNxowtI1LQxW/WJGi90bZjsMF64mtdk/3kjhNk9907VhRbZFUBhjhOjW9oIFp/Fk+ir0iaUIl8aKfV4HxtjEJPqnaph+rIy+FnWKB8pUGofBQNyUwxbxNpecgGFhUTIQ0kWHWt8LtI+3+Qi88Y X-Microsoft-Antispam-PRVS: <AM5PR0801MB1331DE89FA69D163300DC6F4CD440@AM5PR0801MB1331.eurprd08.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:(85827821059158)(211936372134217)(153496737603132); X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040522)(2401047)(8121501046)(5005006)(3231311)(944501410)(52105095)(93006095)(93001095)(10201501046)(3002001)(149027)(150027)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123564045)(20161123562045)(20161123558120)(6072148)(201708071742011)(7699016); SRVR:AM5PR0801MB1331; BCL:0; PCL:0; RULEID:; SRVR:AM5PR0801MB1331; X-Forefront-PRVS: 07283408BE X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(6069001)(366004)(376002)(136003)(346002)(39830400003)(396003)(189003)(199004)(81156014)(14444005)(81166006)(61506002)(66066001)(8676002)(230700001)(97736004)(3846002)(86362001)(6116002)(9686003)(25786009)(8936002)(47776003)(316002)(58126008)(7416002)(476003)(53936002)(33896004)(386003)(6506007)(52116002)(11346002)(446003)(2486003)(478600001)(7696005)(23676004)(39060400002)(2906002)(55016002)(486006)(103116003)(50466002)(305945005)(7736002)(105586002)(106356001)(26005)(68736007)(5660300001)(76176011)(16526019)(186003)(956004)(921003)(1121003); DIR:OUT; SFP:1102; SCL:1; SRVR:AM5PR0801MB1331; 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?MTtBTTVQUjA4MDFNQjEzMzE7MjM6YlNjejRIRU50L2x2NnRlSUNRbnVGVTNZ?= =?utf-8?B?VGdMSno1Q1lXalB5QmRyUU05WFFXZ2xiUDA3bHMwYzVSRGlHR0pwMEFSejRy?= =?utf-8?B?ZkRqYmN1SnJQTlNyam41cnBMbm51M3orVVdxSkFlc2JLMVZzMmdYSXpWUzZT?= =?utf-8?B?OVJPUDNOR3QxRHNOaXlWYWs4Qkk2N2NJcFdzREtpQmtOUHhUWWxIR3VzNmpk?= =?utf-8?B?QWltcng1NXdPSkhkandTQTROcndreE1KVnZrZ1V2dGZJTHlDelZra1Rva3pL?= =?utf-8?B?RTgzZWZUL1Y5TFdEZWRZRlhsRzRkMUM4Sm1xT002NkNRY1Z1WUtqaUtBOG9m?= =?utf-8?B?K2FYVXlTRzA5eURMMTdsYVBIN0NobEVtaTI1MTkyaDZndFBjb1VHR1EvT25N?= =?utf-8?B?N0lHOERuVVNN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457TLghI0lta7kEmp+VpgNsxo/bDy767AuPJ0uQI1TEa7o0= X-OriginatorOrg: virtuozzo.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Jul 2018 08:39:18.8197 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: cfa4fa1a-a3c3-4f5d-de97-08d5e57776f9 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 5384cda08984..c6131925ec76 100644 --- a/mm/list_lru.c +++ b/mm/list_lru.c @@ -501,9 +501,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; @@ -532,7 +533,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)