Message ID | 20180827162621.30187-2-guro@fb.com (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-2.web.codeaurora.org (Postfix) with ESMTP id 11CF513B8 for <patchwork-linux-mm@patchwork.kernel.org>; Mon, 27 Aug 2018 16:27:23 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EFE1D29B3E for <patchwork-linux-mm@patchwork.kernel.org>; Mon, 27 Aug 2018 16:27:22 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id ED1F529DBE; Mon, 27 Aug 2018 16:27:22 +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 663B329DAB for <patchwork-linux-mm@patchwork.kernel.org>; Mon, 27 Aug 2018 16:27:22 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 208BD6B4167; Mon, 27 Aug 2018 12:27:18 -0400 (EDT) Delivered-To: linux-mm-outgoing@kvack.org Received: by kanga.kvack.org (Postfix, from userid 40) id 1B0286B4168; Mon, 27 Aug 2018 12:27:18 -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 07A366B4169; Mon, 27 Aug 2018 12:27:18 -0400 (EDT) X-Original-To: linux-mm@kvack.org X-Delivered-To: linux-mm@kvack.org Received: from mail-lf1-f70.google.com (mail-lf1-f70.google.com [209.85.167.70]) by kanga.kvack.org (Postfix) with ESMTP id 7F3326B4167 for <linux-mm@kvack.org>; Mon, 27 Aug 2018 12:27:17 -0400 (EDT) Received: by mail-lf1-f70.google.com with SMTP id o4-v6so3665734lfg.11 for <linux-mm@kvack.org>; Mon, 27 Aug 2018 09:27:17 -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:dkim-signature:from:to:cc:subject :date:message-id:in-reply-to:references:mime-version :spamdiagnosticoutput:spamdiagnosticmetadata; bh=2itD7Bv4bnoeSEaWjV2FXU35V3cT3moJ5yiJs1BMCuA=; b=Hv8strIdnWgieY2azM+BsIMBTyb0xqJBbDyfL8QjHjEDmC5A1vFaWKzFfi3dDcqXl5 8h5KO1Z06VgVp88BFtcPfxYnALiwLxKoeilKQg5VgKUYxMQwKAFBLkLXeSj4nAphBe3I lUKXpYw9yEYTidW74X/8i+PrH6kXAMJSUs4Rdthve8q1yRGqP4jkPCzqpBJ/jwnl59XG 6GoL1xj7CjFiFtU3KjumxRzFKlji8lAleJmPORQ5HjsQlkAIj4djTQdD2OgyAVqCLaOI 46U/W7OFRQR49Y7VkZleMVHCNjLHRig8+7NLMkUOBFQ6HfFiaQldjn7OzV+PEK9wdmK7 q9QQ== X-Gm-Message-State: APzg51BkqvF98xZYffAlD6+NEwz6sDbbFvUVr6WWlT/+Wfwml9PjVKev 55z/iZybti98ybZwDYTcJJV7xeIp41BFA8RnWxpmKrTlC0eitQfDVqp0onh2SdglrvZw+fr1/y0 N1Dbeyyx5zKUEPHJeKQ+a4dpZGJFY+9A0PVLrkaZG+4RZdfGv7yKEOhRK3VGLDT+2bQ== X-Received: by 2002:a2e:9cd0:: with SMTP id g16-v6mr9519572ljj.110.1535387236955; Mon, 27 Aug 2018 09:27:16 -0700 (PDT) X-Google-Smtp-Source: ANB0Vdb79hVxOgsmm9tXO5nWc5kXHR7CzaCRwR5m4XT75UrfseYq7STEIYBrzDhLHWG5sBMYD55c X-Received: by 2002:a2e:9cd0:: with SMTP id g16-v6mr9519537ljj.110.1535387235938; Mon, 27 Aug 2018 09:27:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535387235; cv=none; d=google.com; s=arc-20160816; b=aIgaP93qDX51cO/5AdM0q82sABmImy+RHnNnhlYCnbNudVNXDIuFKgzIZPj+4SN8EI B67etPFrnMDRzYMOQOuImWVY4lVn1WV+c5Dc1GDj/LCDJZsdDNpiQu2D5+czncNVs43v 9fP4Ni1dfsW35KL+MH7oiXP1F8zIGWVJXfx4M1s0VucwsgRmQ4s/a2VVUHZQxdSuLaBz rTX8tkA5ZwtrIfKgZLurpy1I9P5NH1GRT1Bf80hs+W5+dK5GTd1E28uvqBVwrDxwQmhP 0YksPm0MasjkWqSzswlTf0zu+EhxmNjRnq4mCInMBLOg+b3VRO06Yof+Ot1Dza8wJtR8 eFkQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=spamdiagnosticmetadata:spamdiagnosticoutput:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from:dkim-signature :dkim-signature:arc-authentication-results; bh=2itD7Bv4bnoeSEaWjV2FXU35V3cT3moJ5yiJs1BMCuA=; b=WncjND0tTs8kQBhZ/8ze26LqhbIRbFpzbw2PvZMM1gfbuVpBf03yZEMbUBkSd3Rzop xPh4r4q8114pkGzu1FfIx+5Y+NEhHRPKc6B240QywQNn0MuFFRDxi4HwBcZ+yU5cOBaV uLkvzvKORxuc0voSBuYJ3HiL+LfOSaTPIlVV7raaoBxer0YT1LtXpR6rVIRQ3KCo8K0z 91cesM/OHPbPwjhcydfhK7UYPp1mcVsUaGwmVVzvXTuZJVzfyj5dn7txZ3OwBWHnacia 0wVfY5TCggo/NLKOoQwQkHDMAVO9h6Ltg02e8QjcK5T3lN0CvSABOuweSAh+IiXis9Qa 5eXw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@fb.com header.s=facebook header.b=Uyp+3svT; dkim=pass header.i=@fb.onmicrosoft.com header.s=selector1-fb-com header.b="Faz/O0UV"; spf=pass (google.com: domain of prvs=177771a572=guro@fb.com designates 67.231.153.30 as permitted sender) smtp.mailfrom="prvs=177771a572=guro@fb.com"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=fb.com Received: from mx0a-00082601.pphosted.com (mx0b-00082601.pphosted.com. [67.231.153.30]) by mx.google.com with ESMTPS id v66-v6si6779745lfd.107.2018.08.27.09.27.15 for <linux-mm@kvack.org> (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 27 Aug 2018 09:27:15 -0700 (PDT) Received-SPF: pass (google.com: domain of prvs=177771a572=guro@fb.com designates 67.231.153.30 as permitted sender) client-ip=67.231.153.30; Authentication-Results: mx.google.com; dkim=pass header.i=@fb.com header.s=facebook header.b=Uyp+3svT; dkim=pass header.i=@fb.onmicrosoft.com header.s=selector1-fb-com header.b="Faz/O0UV"; spf=pass (google.com: domain of prvs=177771a572=guro@fb.com designates 67.231.153.30 as permitted sender) smtp.mailfrom="prvs=177771a572=guro@fb.com"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=fb.com Received: from pps.filterd (m0001255.ppops.net [127.0.0.1]) by mx0b-00082601.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w7RGM8Fp012182; Mon, 27 Aug 2018 09:27:07 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fb.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-type; s=facebook; bh=2itD7Bv4bnoeSEaWjV2FXU35V3cT3moJ5yiJs1BMCuA=; b=Uyp+3svTszTz280Vynv6RD0DoBbOSMtK+GGM4l7VMdPOeqdHj82x2L/uwO70AIXwfq3y I2isMcGLcG6yVaR8nSSnmUIJQQ9S/cWx/ASPkyRtaZX+WoPnOiocSRGgBvJHttVMFSlm l+KYCjdY/OJmumGAwfWOBW+YrGG8XvqeP9k= Received: from maileast.thefacebook.com ([199.201.65.23]) by mx0b-00082601.pphosted.com with ESMTP id 2m4h470sg4-2 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 27 Aug 2018 09:27:07 -0700 Received: from NAM05-BY2-obe.outbound.protection.outlook.com (192.168.183.28) by o365-in.thefacebook.com (192.168.177.29) with Microsoft SMTP Server (TLS) id 14.3.361.1; Mon, 27 Aug 2018 12:27:05 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fb.onmicrosoft.com; s=selector1-fb-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=2itD7Bv4bnoeSEaWjV2FXU35V3cT3moJ5yiJs1BMCuA=; b=Faz/O0UVGADygy6w5ogQQuxk65lk4u1DrSQ5ZAiLfj/71HqyItbEYWIfrzvtytftiX8VOBpVLRJpEjywDSy3iI9efP15sgY/EAoWIdZ9Beo+yE3RfYuFGfeA6NCI7HthUwGm4XOfkWwepSkI8DgeTf2CDLxo9ROkiyZTI58aW28= Received: from tower.thefacebook.com (2620:10d:c090:200::4:4b2f) by CY1PR15MB0170.namprd15.prod.outlook.com (2a01:111:e400:58bb::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1080.15; Mon, 27 Aug 2018 16:27:00 +0000 From: Roman Gushchin <guro@fb.com> To: <linux-mm@kvack.org> CC: <linux-kernel@vger.kernel.org>, <kernel-team@fb.com>, Shakeel Butt <shakeelb@google.com>, Michal Hocko <mhocko@kernel.org>, Andrew Morton <akpm@linux-foundation.org>, Roman Gushchin <guro@fb.com>, Johannes Weiner <hannes@cmpxchg.org>, Konstantin Khlebnikov <koct9i@gmail.com>, Tejun Heo <tj@kernel.org> Subject: [PATCH v3 2/3] mm: drain memcg stocks on css offlining Date: Mon, 27 Aug 2018 09:26:20 -0700 Message-ID: <20180827162621.30187-2-guro@fb.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180827162621.30187-1-guro@fb.com> References: <20180827162621.30187-1-guro@fb.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [2620:10d:c090:200::4:4b2f] X-ClientProxiedBy: MWHPR04CA0045.namprd04.prod.outlook.com (2603:10b6:300:ee::31) To CY1PR15MB0170.namprd15.prod.outlook.com (2a01:111:e400:58bb::16) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: f61cde31-c3b9-4af1-8f84-08d60c39eaac X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:(7020095)(4652040)(8989137)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(5600074)(711020)(2017052603328)(7153060)(7193020);SRVR:CY1PR15MB0170; X-Microsoft-Exchange-Diagnostics: 1;CY1PR15MB0170;3:ZNcK2zqpMZ1RSztEjgyv/y2XHVz/+vwzGoNTYCCCq3aS5ANfXLJ9yCXOxbTrRjrikJ4BKg+mzzyMcqmMYfUUgQkgU+wxo6r89S5U4pTdROId1W3uMabSQfvCJ94dP2IJzinfAFivqnS3qRvUKrKxs2jFjXH0AKkdFPY6CpXPKDEThlxFesNusmhxnHD4KnnjTlEdyXcHRu5K5YsL0t1GLcyEqxcuxYTRKTU+zuSuZm66vH01oOsJaz/cI4AZe53Q;25:j47U/Vil8uCi9pNvNYIkaTb12Id8Vh/zoClIucyAzTa4gaONXzrRj9U3LFB/weXdsFsP40O2cVMGrkQvSIDYEXzV1+1cjfEv7PWylSFqoHIKd8v+dByBVyUveq0qjLjyQPVtdhI5ygtFBwXK0lDE54Cck1WPKDyhuL5yu8pfso4+o6zQfLVsHgE+mV5wtjTiKHATs6GpF16X09Z7yKhlD3vL+33errtplysGnpRaQ8rhnyaTgsET1PkZhTIiOKNfEKxFslJ8Y3FmMMw1s+aTVThMwSXA2F7OBCYWBgoSK5dKJmoxMWjErTWywlPl597kzS1YwFfbMpjUwnpi2hBUHw==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kXjWEcxsPGc0Bektn3q3TlJLbYCstPKWfBlauiYff7I79HLnUuyvvH7VvBakMY+CJPZuTtZDmy6ZV5XHRLCssH2UcM/FnS/EhiPSDn1Gh8No0RkjCUcZjTBotE/DNnOoviY7QyG5UkNUqQDMt8SakHmIqajqLdWU++sjYNBSlnkJsvrvZINXtigal21Kqs PLQqk= X-Microsoft-Antispam-PRVS: <CY1PR15MB0170B703C53573D91A591E5EBE0B0@CY1PR15MB0170.namprd15.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:(85827821059158)(67672495146484)(211936372134217)(153496737603132); X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(823301075)(93006095)(93001095)(3002001)(10201501046)(3231311)(11241501184)(944501410)(52105095)(149027)(150027)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(20161123560045)(20161123558120)(20161123564045)(201708071742011)(7699016);SRVR:CY1PR15MB0170;BCL:0;PCL:0;RULEID:;SRVR:CY1PR15MB0170; X-Forefront-PRVS: 07778E4001 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10019020)(396003)(376002)(366004)(39860400002)(346002)(136003)(199004)(189003)(8936002)(16586007)(97736004)(5660300001)(81166006)(316002)(81156014)(76176011)(6916009)(6666003)(54906003)(6506007)(386003)(186003)(16526019)(52396003)(52116002)(53416004)(51416003)(47776003)(2351001)(69596002)(1076002)(105586002)(6116002)(106356001)(478600001)(46003)(8676002)(11346002)(2616005)(476003)(48376002)(50466002)(7736002)(2906002)(486006)(446003)(305945005)(36756003)(68736007)(6512007)(25786009)(86362001)(6486002)(53936002)(50226002)(4326008)(39060400002)(2361001)(42262002);DIR:OUT;SFP:1102;SCL:1;SRVR:CY1PR15MB0170;H:tower.thefacebook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; Received-SPF: None (protection.outlook.com: fb.com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TNw1101MHTSdfNjhVwdbEgJevr5fc1hfvaMFtbKnSF1j3/Eqb7H2uFRcaOIpK1fcugXSd2GR7J3+bjlAtC72Ut+eg==;5:S2BFp4QUkRT09qIabLT/fGKtoiE+QeUiFPfhAImQWtUsqRcX96eFk79/8F1zDbN5Ulhau2+vNd8NyVsychFgSx2sBZJ8IXe80F5A8a3XWcCsgUYikR2XgOi2jTlfPVmuO4Ep4vPm00xWyy+Bw3iyMPIqJSNw793Em8L1fhl5ZNE=;7:22t3RXWEGeqNAavV+Gk+R5QOP7/crUAMhnqKWKhNMxfs+8zRl1Vk4nic2WCrTBDXGPIqSzIpCkkO10lSu+x3lmgKu/CMn5CaOpidTeVFsfxAcigvN5CpaUj6rP52vwAp3js/z2gDgZYFEB2SA+THqF3kKfRk9RHiX7VGyDjI8v0lD5dkfInKNGV+q1UnmP6Jb1ffxatcRfgzcorGMnot5MuHWHr45mY79JhsApSXnFQj4QL2km1CDH+MuwT4KADX SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1;CY1PR15MB0170;20:VtR3We2WYz1ue6GrTzaga8b8OdwVJ9DczYblW/VxWizg+s/h44xKFtO4s2LjInO+JBYe7yvPOswARFi1k6KXb7p0Dn13zqPikTUq/v+9i9Fw2/cHEjUiNAiXhOGagxVCALDYIiQ+p4HmLm/zg1EC7z4sdMC2sE1LjT/+jyNnCEA= X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Aug 2018 16:27:00.3100 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: f61cde31-c3b9-4af1-8f84-08d60c39eaac X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 8ae927fe-1255-47a7-a2af-5f3a069daaa2 X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR15MB0170 X-OriginatorOrg: fb.com X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2018-08-27_06:,, signatures=0 X-Proofpoint-Spam-Reason: safe X-FB-Internal: Safe 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 |
Series |
[v3,1/3] mm: rework memcg kernel stack accounting
|
expand
|
diff --git a/mm/memcontrol.c b/mm/memcontrol.c index 29d9d1a69b36..17ce6f2e6caf 100644 --- a/mm/memcontrol.c +++ b/mm/memcontrol.c @@ -4573,6 +4573,8 @@ static void mem_cgroup_css_offline(struct cgroup_subsys_state *css) memcg_offline_kmem(memcg); wb_memcg_offline(memcg); + drain_all_stock(memcg); + mem_cgroup_id_put(memcg); }