From patchwork Mon Jul 30 18:00:57 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roman Gushchin X-Patchwork-Id: 10549541 Return-Path: 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 2A03D14E2 for ; Mon, 30 Jul 2018 18:01:43 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1ADF92A5FD for ; Mon, 30 Jul 2018 18:01:43 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0D7EB2A6A1; Mon, 30 Jul 2018 18:01:43 +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 65DAA2A5FD for ; Mon, 30 Jul 2018 18:01:42 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 62E366B0010; Mon, 30 Jul 2018 14:01:41 -0400 (EDT) Delivered-To: linux-mm-outgoing@kvack.org Received: by kanga.kvack.org (Postfix, from userid 40) id 5B6766B0266; Mon, 30 Jul 2018 14:01:41 -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 4581E6B0269; Mon, 30 Jul 2018 14:01:41 -0400 (EDT) X-Original-To: linux-mm@kvack.org X-Delivered-To: linux-mm@kvack.org Received: from mail-oi0-f72.google.com (mail-oi0-f72.google.com [209.85.218.72]) by kanga.kvack.org (Postfix) with ESMTP id 13B826B0010 for ; Mon, 30 Jul 2018 14:01:41 -0400 (EDT) Received: by mail-oi0-f72.google.com with SMTP id q11-v6so11510955oih.15 for ; Mon, 30 Jul 2018 11:01:41 -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:mime-version:spamdiagnosticoutput :spamdiagnosticmetadata; bh=i/YBD9nfD/U1z2eE1+nNM+iv0evZ0/9HS1+xSWnCDxE=; b=VyR6eB0XufJ2o+oW5SDfJ4f7q9AvRKRIXYNm+0OmgoXvWm2kDveTjb81cTGChoWisg T9NIyK5DGHzP5fBh2nub8feYa77t4qrTghuJvEMuyoJeeu7EtpqXYGCcyF09ru9oKAEO v5YIUeSFE0iTp2meKLc5gqYc/PyYRb42mwTfimF+s59CCpnUcZlfU5fwoGvK4/IZN8gk HoZgP51efV3JLmn66nSTdZ8ZfsL6ed7RdKlv42YfdeXTM1uQjFujvck0VPBPW0onJAR3 DHdOMwWwvCOr5jHmaLpvbVmRkzuWeGxsUsO+dim5qdKYZlWhKML/xDXHkjhY78y394eI arGA== X-Gm-Message-State: AOUpUlEhPHNtK9mdL1+HYnROiRSqsgXnqrRJBwx+++oJUvQceaZnJzkh YdG5aH+Qql4OiI10uXn+Q64r3dj8ns44EDSnoVGLLGvmHfgh8n8jHwmj1aN1B86xL0EUduVr7Cf 3A1O90ccVzy6gpAWoGetkvSJVk+6j1NaWFmOxoxDTIy1jvO/z7DVtXymQ2tPauoxyYQ== X-Received: by 2002:aca:d44a:: with SMTP id l71-v6mr19865499oig.199.1532973700537; Mon, 30 Jul 2018 11:01:40 -0700 (PDT) X-Google-Smtp-Source: AAOMgpd1h7e3eylCPU1X7nc/YErhAn31uLfMBNrV+7zeif1HT+U/bk+Fkq87KIWU1gdBPZf3SPFj X-Received: by 2002:aca:d44a:: with SMTP id l71-v6mr19865430oig.199.1532973699693; Mon, 30 Jul 2018 11:01:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532973699; cv=none; d=google.com; s=arc-20160816; b=I4z4yUEYO5Iv6bcFvZAUtMNaQIXm8wuDQBxv8Nt6Rq5SbhvtigJOd+N5Ki7iZq144l A3sGu2eAecQZrP6KvUcFrgIF1sSVboghmkg19vGimA9xo/OX5Ev3d+r06VDw0nFT3tG7 AAf6G6so8t+bSzEhVMHDeCDqJ3xRqDDJFjLBnGIMzoV3TAEH9c3TKaSO2wFo9WwYD4Pg JSLtHjkG48yoc4NN2+Dcc3KUdGM2ro2f103+yMo6MfuSd3h88PgrYvTtRRPg8j96+EZ3 zl2aKPYVwPTLWVqOQrgEl/Rd0dnecftywceyRyfhdJHon+BK+JXOF/mcDmumj0wEmWxb HBLg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=spamdiagnosticmetadata:spamdiagnosticoutput:mime-version:message-id :date:subject:cc:to:from:dkim-signature:dkim-signature :arc-authentication-results; bh=i/YBD9nfD/U1z2eE1+nNM+iv0evZ0/9HS1+xSWnCDxE=; b=DA/vDRWsSpYzGDTABTT5ePQ+eqyEKN/sOPL/WZQOFAXXU9gVWJRBkq3NWfqEHi8jd9 A68KhcGJ6vK3YWH+VfJJpsa4029qOa3R3t3xlqf6dWnvGoFS0K3dKaAr0qddyd5st9h2 cssikHRkSOoMyI45ERsRhLYTz7XiiY/7/zA2QoZ32+7y5RrzWdYIX58IUvCuMjAGBbN3 nsD4ixH66cb1Ji5uu4YUeGS7bEOS8yoz5AQludvRPJJilr5CQgkBRyXjQvdUJKbfAeAI 0ZLe2BwmPsb/onJUg3PEFA6KWWdQh692y0C71NjJc2IKAHxqqBzBhJxtk+mK0wcjauqX kGUA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@fb.com header.s=facebook header.b=jFmAvGrj; dkim=pass header.i=@fb.onmicrosoft.com header.s=selector1-fb-com header.b="X2Pg7/yW"; spf=pass (google.com: domain of prvs=17496daedc=guro@fb.com designates 67.231.145.42 as permitted sender) smtp.mailfrom="prvs=17496daedc=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 126-v6si7619072oih.306.2018.07.30.11.01.39 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 30 Jul 2018 11:01:39 -0700 (PDT) Received-SPF: pass (google.com: domain of prvs=17496daedc=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=jFmAvGrj; dkim=pass header.i=@fb.onmicrosoft.com header.s=selector1-fb-com header.b="X2Pg7/yW"; spf=pass (google.com: domain of prvs=17496daedc=guro@fb.com designates 67.231.145.42 as permitted sender) smtp.mailfrom="prvs=17496daedc=guro@fb.com"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=fb.com Received: from pps.filterd (m0044008.ppops.net [127.0.0.1]) by mx0a-00082601.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w6UHoagT020874; Mon, 30 Jul 2018 11:01:31 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fb.com; h=from : to : cc : subject : date : message-id : mime-version : content-type; s=facebook; bh=i/YBD9nfD/U1z2eE1+nNM+iv0evZ0/9HS1+xSWnCDxE=; b=jFmAvGrjiHFKEP5KNBE9SoDL1KPNkNz+5AdvYsh8K2Mf6JjSI1uuxr/NMrzNEpEj6jIF sfcJZ4rg6vQ2Emg0myr8KsLk5ADpfYYtwv8csvKwqC2tcfXzAPJ6e9sipdjzhevIfHDt wR45zk+lZkQi1ATk47IcN/HWij0WGPY4Ses= Received: from mail.thefacebook.com ([199.201.64.23]) by mx0a-00082601.pphosted.com with ESMTP id 2kj4sgrhwm-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 30 Jul 2018 11:01:30 -0700 Received: from NAM01-BN3-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; Mon, 30 Jul 2018 11:01:27 -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=i/YBD9nfD/U1z2eE1+nNM+iv0evZ0/9HS1+xSWnCDxE=; b=X2Pg7/yWxGXmttMHNj9/C8BZfgXRRQIRLBQdIReXriKVMeodKR60oQDhgl1z3gZwmW+oBWwSpWPkClkAMrfL3fLfVeLYXs6weKWRFFEkk7BL4s7Lg1AdNxQGgvk3erxQK6kWaHwVPdnzBKldHIApWcPb4Y3U7yhfQK9jCqjuhds= Received: from castle.thefacebook.com (2620:10d:c090:200::6:484b) by SN1PR15MB0175.namprd15.prod.outlook.com (2a01:111:e400:58cf::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.995.21; Mon, 30 Jul 2018 18:01:22 +0000 From: Roman Gushchin To: CC: Michal Hocko , Johannes Weiner , David Rientjes , Tetsuo Handa , Tejun Heo , , , Roman Gushchin Subject: [PATCH 0/3] introduce memory.oom.group Date: Mon, 30 Jul 2018 11:00:57 -0700 Message-ID: <20180730180100.25079-1-guro@fb.com> X-Mailer: git-send-email 2.14.4 MIME-Version: 1.0 X-Originating-IP: [2620:10d:c090:200::6:484b] X-ClientProxiedBy: MWHPR15CA0060.namprd15.prod.outlook.com (2603:10b6:301:4c::22) To SN1PR15MB0175.namprd15.prod.outlook.com (2a01:111:e400:58cf::14) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: ea4e6ebd-abd8-45b2-09e5-08d5f64676ae X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:(7020095)(4652040)(8989117)(5600074)(711020)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(2017052603328)(7153060)(7193020);SRVR:SN1PR15MB0175; X-Microsoft-Exchange-Diagnostics: 1;SN1PR15MB0175;3:6YEC7Dy6e1I9M46dYXB9JnNLx0vg3dGBf+F6byQCP+qRpGto0cskkxTY81lrpOHSPrJU/H90M4rypQVhflc2gFGx9nabLt882FC10zGVqf0SfJOMURJ4RkL18jWA1TtCKJl/HB/KDq0iGnTXFthPJsHDbLNF3anUULarKkq1jlbMsp5s4+YxJB7axouqGcrlpkGiqZE8R26bsT64DYnze0t3tNChMBC8GXOTgytFm1S0UxcBb3RircqnN11SyPiY;25:ch0ZypEX0NQR25VhJiME8mNElz6ah1wmrNOBmgT5yNAak8gboRPlNPdg9qyYlAq4NQvdGlvdiV/mPtD4GT6rPuhof9t8nwoHX3+5/bzWXfjmchCA04pzZboY/Fa+G5RsLhIQLxP7SdvRSzAnT4mYAI8X65kdl8cVNw5hlH/EC0n1LnJm2zrzKjDpP7u9WfrvRPzTWLECAGcUpkZ6y2w+WV2YPPX2HU5ib+4bnci5DbT/2Wu1wDUOg8zPWuem31Qo+8L081FG6/5SVnjwZ2Yt9jlmddo1QDkMu/pHDlUs+OPtDHGrQsJkspswLiHPHzqxUTPJ9Ob8PQO2zhbGf3TPAQ==;31:4QA/8VMfqbsCli3fNNpnnk57MPqcI2gIBgtjZt8E0OtbOeB3RsYUgH3qlNNNeANRkW71iWKMxqlbJw7Xutg/1wlPr0vjA7gdYq5+1CYC0zdFOrnyg84hDOTVmQ/XZ0W7NwClxAYc/7csj5vhk+4ZZiQ1S8ixbnNYKAuP5j1OcY27iViJkzd2Pir4DsG8oG6BzZC/2ToMEPHMEhfQjETcEXclLTQjCHz+Szi8CM2dJ0Y= X-MS-TrafficTypeDiagnostic: SN1PR15MB0175: X-Microsoft-Exchange-Diagnostics: 1;SN1PR15MB0175;20:+yMjg5rOgmwdfWiUqizgggI6y3QfGMsI236u/3CV1F4vGIV+m5Cozfo/bnYsEzSFmFlI/XD+eSNs3zcPhhexDFqFjCbV8u+BjNPCu3fcm+qXAvzyFKYRRPNkZjM8+zOPTTjXgU0HQ102Kllw0S0jZnbBJinhXFZb5vPRaDTXLluBNA9t0AgKmNQ6WvjmuCpGuzylDgXqB0DEZ4UoVjYugrnFwm7hjQN07aTnZV3mOmYwaM2Idi0VSOBTV6opyQGKAgpGBBKbXMSqu18HKRnq51+VDCVtt79xpklWcbOQeb5jQqDzjQZHp/g0QvYFoVlCz6+HuNiPd0ERkImFdDKuJsXLr7J6YghIfU+aY4DBm1HEsMTWWg0naoKmW4f7dqSWLoyU3UicFC+ObfnUcknv009dC7xlb6A4fbpBiYGp8tV4OiTbkA80PJNw7eEnx0LBJdjwBLgnJXvpK73dTHgK78EYnWkBoNfG924VwsA/llOKO2OJcRNCneNAl39AZ9Cb;4:mlCFI+F760RcZocgYXDr+RLqHAEX0oK3EIjRKeWMPA/NjB7wWD059djIXg5zd0v/C5eIHWVM4I8odddiJTZoyXF0FQrC9LFGxI5muBLW6Ao2SWZvD1vUXWZT+zlzMls7XEAgkP9nfswCexMloWdzWOnFcXeWSeHTPRqy7vYOfRuGoeWF5ZbHnPU6MEaBDm2hKzimtLrZTpWfgF2uUCnVTqW0kJEhil7U1lF1U8kS9C2H2Zy9efQKUV4mLiF1w83YUXRe6z8Alm79+MAHcHidUg== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(3231311)(11241501184)(944501410)(52105095)(93006095)(93001095)(10201501046)(3002001)(149027)(150027)(6041310)(20161123558120)(20161123562045)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(6072148)(201708071742011)(7699016);SRVR:SN1PR15MB0175;BCL:0;PCL:0;RULEID:;SRVR:SN1PR15MB0175; X-Forefront-PRVS: 0749DC2CE6 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10019020)(346002)(396003)(39860400002)(376002)(366004)(136003)(189003)(199004)(36756003)(6116002)(8676002)(6486002)(16526019)(6506007)(386003)(186003)(1076002)(86362001)(69596002)(52116002)(51416003)(52396003)(81156014)(106356001)(2351001)(105586002)(97736004)(8936002)(81166006)(305945005)(7736002)(53936002)(6666003)(50226002)(25786009)(53416004)(478600001)(6512007)(5660300001)(2906002)(6916009)(54906003)(2361001)(16586007)(316002)(48376002)(50466002)(47776003)(476003)(4326008)(46003)(68736007)(2616005)(486006)(42262002);DIR:OUT;SFP:1102;SCL:1;SRVR:SN1PR15MB0175;H:castle.thefacebook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; Received-SPF: None (protection.outlook.com: fb.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: 1;SN1PR15MB0175;23:LYZA9cUN4nEmdSSKnfPhwsywtUT98xIWnwRpBqIWl5HQ8sItubP0gTwpRiq5QcG1z89ju/+UhXjoPsMt7kxTWZmEOlwpN69GWqnCdqTw2jIgIcu8lLPAAzIG3NXQx+WdRMCuD0foEmszvqdOVa7p7GyCnt5JFdCi8P3gcq8MgSIxq3hTMnle59TOLXuIiRC7nFiqnMGu3+IusKKHOzigc0sSSrAiuMF4h96RgMXDeduPXxobUb4Jd6qPf5NxGlTHflN6nDgNTSyucFKjYAB9LYm2cRhsTE1JWgu47bDfNtrG7MsfJMCbPr5i8HWcVoSKpuWWEyR+Ve/aiADbSbvwNt4vzMW6bJjfsRxQkXDk3O8OahQAjaxYEflHZcL16EgImwr4sHdY0SoncJbVe9/nv8VARmBvS6hMvFknnKYYlvh7djGjiDrNWRXyzJ8DhG01FSA9TzI3ZOzlgXTOmv+0vhB/fqfFOYP5R1yM3EW5+iA3z1s/74RIP1OqJ3CCGjjps6GF4Ji2VL4V4Mo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FQHAFpR4KRp0HBKqILC2+nBGyjXA+qC3LiK7eo5x+gKy23qePWHAZv2TUHC78BBVkWZql2mCxm9XdemvhVBODaaIAl26QogGFNXmCnfZ9Grt6Xy8jJLDndwNoh+UODxnQ7eMoc= X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Jul 2018 18:01:22.3068 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: ea4e6ebd-abd8-45b2-09e5-08d5f64676ae X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 8ae927fe-1255-47a7-a2af-5f3a069daaa2 X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN1PR15MB0175 X-OriginatorOrg: fb.com X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2018-07-30_08:,, 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 is a tiny implementation of cgroup-aware OOM killer, which adds an ability to kill a cgroup as a single unit and so guarantee the integrity of the workload. Although it has only a limited functionality in comparison to what now resides in the mm tree (it doesn't change the victim task selection algorithm, doesn't look at memory stas on cgroup level, etc), it's also much simpler and more straightforward. So, hopefully, we can avoid having long debates here, as we had with the full implementation. As it doesn't prevent any futher development, and implements an useful and complete feature, it looks as a sane way forward. This patchset is against Linus's tree to avoid conflicts with the cgroup-aware OOM killer patchset in the mm tree. Two first patches are already in the mm tree. The first one ("mm: introduce mem_cgroup_put() helper") is totally fine, and the second's commit message has to be changed to reflect that it's not a part of old patchset anymore. Roman Gushchin (3): mm: introduce mem_cgroup_put() helper mm, oom: refactor oom_kill_process() mm, oom: introduce memory.oom.group Documentation/admin-guide/cgroup-v2.rst | 16 ++++ include/linux/memcontrol.h | 22 +++++ mm/memcontrol.c | 84 ++++++++++++++++++ mm/oom_kill.c | 152 ++++++++++++++++++++------------ 4 files changed, 216 insertions(+), 58 deletions(-)