From patchwork Sat Jun 23 00:05:59 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roman Gushchin X-Patchwork-Id: 10483349 Return-Path: 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 921B560532 for ; Sat, 23 Jun 2018 00:06:41 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7E98928FD9 for ; Sat, 23 Jun 2018 00:06:41 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6FDB729004; Sat, 23 Jun 2018 00:06:41 +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 CE9FA28FD9 for ; Sat, 23 Jun 2018 00:06:40 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id B2AAD6B0003; Fri, 22 Jun 2018 20:06:39 -0400 (EDT) Delivered-To: linux-mm-outgoing@kvack.org Received: by kanga.kvack.org (Postfix, from userid 40) id AB1726B0006; Fri, 22 Jun 2018 20:06:39 -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 9534B6B0008; Fri, 22 Jun 2018 20:06:39 -0400 (EDT) X-Original-To: linux-mm@kvack.org X-Delivered-To: linux-mm@kvack.org Received: from mail-ed1-f72.google.com (mail-ed1-f72.google.com [209.85.208.72]) by kanga.kvack.org (Postfix) with ESMTP id 2FE0B6B0003 for ; Fri, 22 Jun 2018 20:06:39 -0400 (EDT) Received: by mail-ed1-f72.google.com with SMTP id f19-v6so813021edq.22 for ; Fri, 22 Jun 2018 17:06:39 -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=xmEDg8Y/Fy2Hd9yMQzjXE153r55+tK42ZjNAlc8Vvjw=; b=feKMX9z4L//Kp8vRsmJgmR/OiQcyO7+jT9roNaH2dq3gYnnaG9MxWIJpasM5HZ+ats LOnnQVVYGWJ3afql47nRL+5eJavs3BL80//RC8a9io/1itxte6+xx+eoxXVZbH771zAu GlsmYssMk4ychbykgiA4iieWbPbsYXKVB3+A/EJmQnqwHdyDwqoYmAsveYMmmqdbuqp/ OURl1Q6CKf6rlR8UCy4OpUb2WtkPG5rXHmWLwlCZf1/lSCy6WNT4K/yyDUDvdbY8YD6f Qpok83ZRXyXlVem1vnAvLvpAO8HUgPQacWGgUivm+sQKcUNQZ8Sct0u/1sLisGaKWPtJ vo+Q== X-Gm-Message-State: APt69E3fP5oUh4nV9EEOGyrIKZfjeIxLjdLR4kwlZCqwiu5bfA0YxjAw CgqKlOjajITbPFz2uKDWb/Ghd7BEEmHdbou494sX61/I3aiohvFTHPARRb/mfkeDycWsLAOiVaL 4rCoZXamMjzVzognEoDLjEg52Gug/26Ut+1uuT3+TN+iZjL6IKnA/KDJP/uvBTJq5YQ== X-Received: by 2002:a50:a944:: with SMTP id m4-v6mr3414375edc.180.1529712398597; Fri, 22 Jun 2018 17:06:38 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKMGhD55wzQfhsZJ1+htKglkR0TiUxM3+Sj/u/liH4z68KJExwQoSCCBhci5YQ2zb+5O2kT X-Received: by 2002:a50:a944:: with SMTP id m4-v6mr3414337edc.180.1529712397652; Fri, 22 Jun 2018 17:06:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529712397; cv=none; d=google.com; s=arc-20160816; b=gOcJ/KHzTAST9Kadc9hSAaPJ2FTZw3Cuzk7eao/QT0Wq0vgrrtVxil29ZF9Lm7CgZj TadMI4t8euDMu03LNDWbbrm0Hz7dMhtvx39SpN3hd2yNx8NENvCBbNSSnjjVqY5bTM0B GIglLyxiOrBoiP+mL7iJcs1aDdYkCxfv5V5EsZtRrgxdnfJK+6rN/6yafmY0n9Q64nMI iR1TBtYA1bCKidAoFJXBhLXkfWUpURb4Z3+jP5qT8sjrt/H2UMGLQHToNJ8+0wCSxLxq uuB3npTkXLNc1iCuCUtfSmy1JxCTVOnN54WtrmfMgMg3TgTLeq2IxcO0/HO+HUkUH9C7 Efzw== 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=xmEDg8Y/Fy2Hd9yMQzjXE153r55+tK42ZjNAlc8Vvjw=; b=UIe7SwyuwzLUC1c237aNqYactc/Q3m/iy6JfbJR24MxK1BKACeAwf/ffTDkFZNESSw cKT+Hyxggnbw1m87eVZx1H8J2kC1/GI9gZD2Q8SINuPAuoOaRj0H9e5ohDAbHDRlTd1q AXoHxu4Q7vyyeqhhjg+IplknbwBb4OiC8OSet6OrkJXQl04eWkR9kgk05Pm89ox2zEtI yV7TN55pXH8R7gX0DA8F872Z6FLgJeB5sMxK6trggrwm5Sjj+Sqjq8jv41nYpB5RGTas J0cL3uezSRT4Zsxyb0oehLkfhu7LAxPkne8Jp6PChsXpZaX1oIJvfRGl8+nkp+sR2zeR RiqA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@fb.com header.s=facebook header.b=D+ZLyxgi; dkim=pass header.i=@fb.onmicrosoft.com header.s=selector1-fb-com header.b=UTnwUp0x; spf=pass (google.com: domain of prvs=971257f0f4=guro@fb.com designates 67.231.145.42 as permitted sender) smtp.mailfrom="prvs=971257f0f4=guro@fb.com"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=fb.com Received: from mx0a-00082601.pphosted.com (mx0a-00082601.pphosted.com. [67.231.145.42]) by mx.google.com with ESMTPS id h88-v6si4932869edc.133.2018.06.22.17.06.37 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 22 Jun 2018 17:06:37 -0700 (PDT) Received-SPF: pass (google.com: domain of prvs=971257f0f4=guro@fb.com designates 67.231.145.42 as permitted sender) client-ip=67.231.145.42; Authentication-Results: mx.google.com; dkim=pass header.i=@fb.com header.s=facebook header.b=D+ZLyxgi; dkim=pass header.i=@fb.onmicrosoft.com header.s=selector1-fb-com header.b=UTnwUp0x; spf=pass (google.com: domain of prvs=971257f0f4=guro@fb.com designates 67.231.145.42 as permitted sender) smtp.mailfrom="prvs=971257f0f4=guro@fb.com"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=fb.com Received: from pps.filterd (m0109333.ppops.net [127.0.0.1]) by mx0a-00082601.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w5N001pe004025; Fri, 22 Jun 2018 17:06:25 -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=xmEDg8Y/Fy2Hd9yMQzjXE153r55+tK42ZjNAlc8Vvjw=; b=D+ZLyxgiX+HIDBVvboVu52a80Yhrvg/wUcbVbGWxARqtagyn8qy9jUFB5JmDudYElTuP FwTs05hpc8KE0iEvs+b143B15wxrLYvEJ5NDeLcqP5IupBpCNDuMWCkdg8A7QZa1iMJ7 AVo3x4hbWL0qJhrQhvQ/vs8Omr6Jf6/+5I4= Received: from mail.thefacebook.com ([199.201.64.23]) by mx0a-00082601.pphosted.com with ESMTP id 2js8ww0aqg-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 22 Jun 2018 17:06:25 -0700 Received: from NAM03-DM3-obe.outbound.protection.outlook.com (192.168.54.28) by o365-in.thefacebook.com (192.168.16.14) with Microsoft SMTP Server (TLS) id 14.3.361.1; Fri, 22 Jun 2018 17:06:23 -0700 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=xmEDg8Y/Fy2Hd9yMQzjXE153r55+tK42ZjNAlc8Vvjw=; b=UTnwUp0xp9/Y4HNA5a2bSudZFPHb95Lx0Jkc6X27B0si5FGRa7npXzBN2GFpYWL0Tpqbuw+SSrsRds1ydvCopM+s5+Ez445hHiB5Eomj8OpbLzY/rOldBlpJuYTOViAB10QNXXiZfmP8hy2LQa20LuZ/w3pOtijf54Fu79azvIo= Received: from castle.thefacebook.com (2620:10d:c090:200::4:d066) by BL2PR15MB1076.namprd15.prod.outlook.com (2603:10b6:201:17::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.884.21; Sat, 23 Jun 2018 00:06:20 +0000 From: Roman Gushchin To: CC: , , , , , Roman Gushchin Subject: [PATCH 1/2] mm: revert mem_cgroup_put() introduction Date: Fri, 22 Jun 2018 17:05:59 -0700 Message-ID: <20180623000600.5818-1-guro@fb.com> X-Mailer: git-send-email 2.14.4 In-Reply-To: References: MIME-Version: 1.0 X-Originating-IP: [2620:10d:c090:200::4:d066] X-ClientProxiedBy: MWHPR1701CA0021.namprd17.prod.outlook.com (2603:10b6:301:14::31) To BL2PR15MB1076.namprd15.prod.outlook.com (2603:10b6:201:17::10) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: edc90738-591a-46a6-7e65-08d5d89d271c X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(8989117)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(5600026)(711020)(2017052603328)(7153060)(7193020); SRVR:BL2PR15MB1076; X-Microsoft-Exchange-Diagnostics: 1; BL2PR15MB1076; 3:t7pfl7q7Tx6F/smcDoQntIziiOwW36G5b+q9QBl9ULrrcVU2NHADQyQJ6JAr/S6nrVjsCNK/5uyw6DD7WDPfB0tZpH4Bc0wpKvkvZSN8vO+r8HP4y6c7vMh9kw1RovdqrnyuS/8H7Cz21vmC8OY6G5M7XP699tuIaWjZYMDvwH7D9dZ4NOBMFRpP+oqVd44JRWzoN7MLBs42V84kNJ/YS+cULpF3PYueCS1ocQ36Tw3jke9gFY132wvOiXfFTIuP; 25:sP5GjDr6RwuPd1un/MPDZFTyOgePLALe9yAI8gXZPQ3+6NOrzZY0xFF6yyt8mdUCXlzCJKBcfrcKpxjIJaBO+ShTrP++QbDrinc7dvdyJh83MhMjdEG8qXPr9ttyihYuJJ7S063f8ujK/yrbi/hKH6Nov+JG3JjBqgXFZEyjp81B7MOHUAu/kWuvVJ6jBYaR3TUpL4Z2v86wbpn8Zorvxsqqi568SK1BiPKrAikSj37fQCrjNxIDU5Av7TkfwIPSy6weH9eLxIe8m+EqKcONxWWu4/RnwUoQIUgDQcpecfvsHnTpxk7s2SovAB53QG1wBmbKtJ0BLBdNrtWmTRG48Q==; 31:7jWHOPJ5biJkPXqQc2wAB5sg0zWDgQIQydx7jDVkXILPpPSFKviQuKivQHUltmvMhfIGw20iimx+CbVlnZ3KjBqSCNZC0yzpb0kDO8ibcURFcUxsO4Boqvalm2pq3L9SZPetKcME1BoFVHqhfgQP1bCH7S32BgB5Gy8bBaHYUbB8RMrtUW2F3muLWwUIHi/diGa4uUJFdMOVjSvBnHM7LborinD10RsU9aJL8Yk6Ddc= X-MS-TrafficTypeDiagnostic: BL2PR15MB1076: X-Microsoft-Exchange-Diagnostics: 1; BL2PR15MB1076; 20:QN72JlLB6XvhPOqeCzwdV9jZdAYS+xT+Nt/nQJysixwnR1UEP8nFRq/b9bXp3o+RXqYyKQoUAeevFHYenCyon1DafB+KGQdLg88Z4aFrCr0wO3btVby2Q8ViTiNF1RBB9sZIhBH7T6AZ2ODj6FFf34U/TLTE/vEKmqlSKJtXbdOMtuDYjmytFy8w2OWis8sCsIldr67zC1oyNPS5XVgUAy9Ea7s2RSJEmJ1PwoG4VdmhP6asI7PkQt4oJTrcxBgfcMZ0FFj5ZZfmbGZZ6d9gD9rvyF1ZqXtPWSkBYMxvwh/aCRqXtfRlbG/8tYRaw/F0OWCHBMGW9zj6vAQqD7o0jj0BxCQQwSnA0VlJBMGBjNvbuH90CiCzpnM7GWfpEMKzJN4GYO9AxEEAoNaz/mYOwP9KZMCeQE7OHH8aXC+f3Tt20W09etqEMqo4CAN+wq1IFTXO6IOQV4RiRF7RzzRgS0CgQXDv9lkDYzAlKvWDP1L2+szmsbYEclcs3qoFRYoC; 4:J7HMR3YiZgsJ7AQ8IN/u8CGobq1jvaIvBvOofXj5eB1xfzN4TfcHml6iMGmIEKDO7y7XeJW4+UhIgtCPWhiEOt+L643IV751bxqs3mv3OqLvVVguDE/RFLxAg/pV+K896TzqOkJH960PovPJ1VR0YTF3zv60J/KZsfs5kPpSz5mgJxidWXa8kJAXh4fDblpunQU6I5Bt2UXWRRGIL/AkdQFudlfWyepqPZDEJDxaLnGn4w2V5w4darHLrfLw1UZYy6SKqliU++0QZmlqoOdj2mbk4kS/Lu6phVG1A4XgqtH9TbLq2jeUAyJHRuNbRxaR X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(67672495146484); X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(10201501046)(3231254)(11241501184)(944501410)(52105095)(3002001)(93006095)(93001095)(149027)(150027)(6041310)(20161123562045)(20161123558120)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(6072148)(201708071742011)(7699016); SRVR:BL2PR15MB1076; BCL:0; PCL:0; RULEID:; SRVR:BL2PR15MB1076; X-Forefront-PRVS: 07126E493C X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(346002)(39860400002)(39380400002)(366004)(396003)(376002)(199004)(189003)(8676002)(50226002)(446003)(316002)(6486002)(86362001)(2361001)(76176011)(69596002)(81156014)(48376002)(11346002)(81166006)(8936002)(4326008)(186003)(53936002)(16526019)(47776003)(25786009)(50466002)(52116002)(106356001)(6506007)(16586007)(7736002)(51416003)(386003)(52396003)(2616005)(305945005)(6916009)(5660300001)(6116002)(2906002)(1076002)(105586002)(2351001)(6666003)(68736007)(53416004)(36756003)(476003)(486006)(46003)(97736004)(6512007)(478600001)(42262002); DIR:OUT; SFP:1102; SCL:1; SRVR:BL2PR15MB1076; H:castle.thefacebook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; Received-SPF: None (protection.outlook.com: fb.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BL2PR15MB1076; 23:yed0pJCGSxdpOw1D/o6xCy2plN96etwNCvfLYr6HR?= =?us-ascii?Q?bJ5ilnBoA433yCHDJvtsU8y/Q06jnsWWZM0qb45ckAgneBF+X+qPsXzbxwF5?= =?us-ascii?Q?68wOJrSx6R462qI5eELsSDbSVxRJc3HQdZoKQkytKQDAAKCPSVJNCp3YZOUR?= =?us-ascii?Q?Ey+i1MroOi18iESrw8XxKxUUanxaMGBLbxURWr6m3VeaumLt5/Ayxs4ueV4o?= =?us-ascii?Q?2N5ZBF3NZKa7CMNuRMre/cm2wyf+r1m+3lfVerc+6Mv0KiZjP619EXm21zRT?= =?us-ascii?Q?mxhd6n9K5crSNce+JkL/oAZIXC0LnmPOJ6HCkIy10wMo1+yMSQV6BNwYgv8h?= =?us-ascii?Q?2mJFxxSWHdyMOuhbhl9DXGrrlpKVigF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2vUMm1g=; 24:6nDU+5ZFecS3FT7Fe++aGYaksWHzXzvCXm2ma2zpQpDOKL4GduKi2/R7KzUhIbOwpDWuJ7LONnJqRSiyDow+0SRaaN69i+AxDGW37/c+AeM= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BL2PR15MB1076; 7:imbqzJxuTE9zSC2ArKdxXDAs9OGRl1Qx3d1Wza7+o9hw7qjOlp9tt3m4X+0oJlPE8L6ICFoDMyiVegr749yc9a4Ksp8qfek1HRo1rSjQgpBsn7PcswZq1BJ0wRK1ZKhbZCNPtlQvEtP4CGlnH6qjbd6CB1y4UCy2LJAuTNrXt9xovZjQ91wFJBq24fzlORnd/yoeFoErrIdl2SoxxDF2lcZrmqbxiTGpwln/RJdPfWb1iXhVk6K5f901yU64qiAk; 20:p4LM6AgRO4YiTvv/BtoMwWJwSXkOc96jHc1UFhym8MOJPLpPuLrjhHCtnkRknpHmpgMScNtNpU/aqdByRd79SfChtIGcydzeVLvO5QNRvrRSpgJig60CC2agMss8rtyUQXr3ChrWhSPiT+HmFzM/xgA+RpM5N1xdp2V/woRi5Uo= X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Jun 2018 00:06:20.7467 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: edc90738-591a-46a6-7e65-08d5d89d271c X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 8ae927fe-1255-47a7-a2af-5f3a069daaa2 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL2PR15MB1076 X-OriginatorOrg: fb.com X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2018-06-22_03:, , 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: X-Virus-Scanned: ClamAV using ClamSMTP This patch should be folded into "mm, oom: cgroup-aware OOM killer". Signed-off-by: Roman Gushchin --- include/linux/memcontrol.h | 9 --------- 1 file changed, 9 deletions(-) diff --git a/include/linux/memcontrol.h b/include/linux/memcontrol.h index 3607913032be..cf1c3555328f 100644 --- a/include/linux/memcontrol.h +++ b/include/linux/memcontrol.h @@ -383,11 +383,6 @@ struct mem_cgroup *mem_cgroup_from_css(struct cgroup_subsys_state *css){ return css ? container_of(css, struct mem_cgroup, css) : NULL; } -static inline void mem_cgroup_put(struct mem_cgroup *memcg) -{ - css_put(&memcg->css); -} - #define mem_cgroup_from_counter(counter, member) \ container_of(counter, struct mem_cgroup, member) @@ -857,10 +852,6 @@ static inline bool task_in_mem_cgroup(struct task_struct *task, return true; } -static inline void mem_cgroup_put(struct mem_cgroup *memcg) -{ -} - static inline struct mem_cgroup * mem_cgroup_iter(struct mem_cgroup *root, struct mem_cgroup *prev,