Received: by 10.223.176.5 with SMTP id f5csp115156wra; Tue, 30 Jan 2018 08:52:11 -0800 (PST) X-Google-Smtp-Source: AH8x225Xu5083uP0QcMSNsdLOw7nYWTsPsb/zU9rQrTltsLvjCZYPBjdCGFpk4c/3CnrZPmkUjek X-Received: by 2002:a17:902:8501:: with SMTP id bj1-v6mr609552plb.5.1517331130812; Tue, 30 Jan 2018 08:52:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517331130; cv=none; d=google.com; s=arc-20160816; b=RC/5vuYSSr/VpwW7/YAj/E/L5XhOmoc73NQXvOoE/j1vnqsdKZUn6q907g5LMss9yw Qs4Dz8EyDJBi7HAM+nNPopOXx1TSgt/ErYfyOiPYytSyNLLAYb++HR6ntdkf/lJnQA+7 TejVcBxfTULYJwEBnJqdKEmldbgNeS98mXIJlwcvpnxapnlG2okImfamvqpCr7aqK0ev EFGYdW9Bg1IUU//PPTxMAxCRrYbVh+pCdCBcgOd+D/a1nuvrSr4NhCqxpyZY3fwSFl45 pCJNFxSn8UqQSgCd3voEcY/elloYrv9z9zanG6Gk3qX1Hz7gVmhCAiKDuoVlacAEdo0+ 3+AQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=aWIrr9VjgC9plJyQRboNJJy0D4+4rH9lHPNaAg5xnQQ=; b=mPLIWDoSla0D2wU4WDQF0p336g4F+YasAqXXwICHa3MvEEztEEqLMrdi3QqpqCB8QB KFJgCxKXWnP/GPKNe7QBleOsIWtGoQgOr7AWwo67g0H2WUL/fejFiYji6uipqfH6M9mJ I+KhKLXTUnW8pUcItOA8Cr3FZdc9/HWKK8qZJntGAOoYXL+OoVPEsBELjegE8XRReQt8 g/hCAq8Tt/0zJk8WNWRlYwA8Vdx9pXYn1X6PNwLot6qaE8CSuMqbFzQFVEkSqgXR5GoZ Pcstl6ZV6vQaex0K/qzMEm8vzISb6TbCFy/qsEuaQBWj9QaS8epmn/pV+jhjKvFuUDdW j3dg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=eTtEp9Oc; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m11-v6si11833109pla.712.2018.01.30.08.51.55; Tue, 30 Jan 2018 08:52:10 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=eTtEp9Oc; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753058AbeA3PPz (ORCPT + 99 others); Tue, 30 Jan 2018 10:15:55 -0500 Received: from mail-qk0-f195.google.com ([209.85.220.195]:45820 "EHLO mail-qk0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753038AbeA3PPx (ORCPT ); Tue, 30 Jan 2018 10:15:53 -0500 Received: by mail-qk0-f195.google.com with SMTP id z12so10494134qkf.12; Tue, 30 Jan 2018 07:15:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=aWIrr9VjgC9plJyQRboNJJy0D4+4rH9lHPNaAg5xnQQ=; b=eTtEp9OccG2hUF4SScxmixeN0/HKr8Wm4rjbMGYXQJ+sEpmraPzP0NYNIzv+vPVku1 AvB7cCYaQaKQyXcC4Gd+M6YMJAv41s9vdc7NbVo/nqJAcsV0gdxT1GaRo/IqXFcxHSM8 Zo9+kzjvlVLqXpDui8vp58tYXpZWlFJNC7ubgqfkFaURIkoUFUBHi5xeWHvdo3NxPQlY 0Cl6UMHSHspTeupec0MvawQvWLmvWg7aqBkBumLkFdkjMABStA+o7zfSnvfhcn8J1CI+ B/QJCyGd/JuL/R/Wv/Oo2TSUG2oFxMr5bYjgYxfErA24VvD+/DN6Te19lHLNm7oIv1Od 8D/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to:user-agent; bh=aWIrr9VjgC9plJyQRboNJJy0D4+4rH9lHPNaAg5xnQQ=; b=poU8HI13xoDyIldX9le2cWwVPB/QtM8/QfgBim43Nk+uTUDq95VVmUD40s7PD2sXQ2 NLtfpuNc2PRM2cJZVx0r9Lkx2neF/q18b1SdKKZY+C4y8LREWa89Qi8UwRThrfn1pp7y FwanEAxK6Jc/7U3E0Qnrg1ZbUdrEEeLk4DLJHpzjxTujMZbMCYtEbax7sOMg9xnrhthi HgBCDR6ekZwP54HUpuYx+8VQlUY1jf/6oq5jqgCPsTLekhfsArJa2fAzMun5qaLEs5EI N3NRNC6BaPuoWTVvSYhFnWKqopcmauzPtg8PlznZ/agt1ow9c7tee9Qiu92L9Kbmu3jx AfhA== X-Gm-Message-State: AKwxytcgr57jR6IEFnuOhAO1sANfj7FJsh+rvAYWclw8fLAJaPDdK/SM x/NxlgL9cz6zu5LV8QE60md7RHdd X-Received: by 10.55.23.99 with SMTP id i96mr43307899qkh.104.1517325352445; Tue, 30 Jan 2018 07:15:52 -0800 (PST) Received: from localhost (dhcp-ec-8-6b-ed-7a-cf.cpe.echoes.net. [72.28.5.223]) by smtp.gmail.com with ESMTPSA id r5sm11798498qtc.24.2018.01.30.07.15.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 30 Jan 2018 07:15:51 -0800 (PST) Date: Tue, 30 Jan 2018 07:15:49 -0800 From: Tejun Heo To: Michal Hocko Cc: Roman Gushchin , Andrew Morton , David Rientjes , Vladimir Davydov , Johannes Weiner , Tetsuo Handa , kernel-team@fb.com, cgroups@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org Subject: Re: [patch -mm v2 2/3] mm, memcg: replace cgroup aware oom killer mount option with tunable Message-ID: <20180130151549.GE1121507@devbig577.frc2.facebook.com> References: <20180126143950.719912507bd993d92188877f@linux-foundation.org> <20180126161735.b999356fbe96c0acd33aaa66@linux-foundation.org> <20180129104657.GC21609@dhcp22.suse.cz> <20180129191139.GA1121507@devbig577.frc2.facebook.com> <20180130085445.GQ21609@dhcp22.suse.cz> <20180130115846.GA4720@castle.DHCP.thefacebook.com> <20180130120852.GA21609@dhcp22.suse.cz> <20180130121315.GA5888@castle.DHCP.thefacebook.com> <20180130122011.GB21609@dhcp22.suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180130122011.GB21609@dhcp22.suse.cz> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jan 30, 2018 at 01:20:11PM +0100, Michal Hocko wrote: > From 361275a05ad7026b8f721f8aa756a4975a2c42b1 Mon Sep 17 00:00:00 2001 > From: Michal Hocko > Date: Tue, 30 Jan 2018 09:54:15 +0100 > Subject: [PATCH] oom, memcg: clarify root memcg oom accounting > > David Rientjes has pointed out that the current way how the root memcg > is accounted for the cgroup aware OOM killer is undocumented. Unlike > regular cgroups there is no accounting going on in the root memcg > (mostly for performance reasons). Therefore we are suming up oom_badness > of its tasks. This might result in an over accounting because of the > oom_score_adj setting. Document this for now. > > Acked-by: Roman Gushchin > Signed-off-by: Michal Hocko Acked-by: Tejun Heo Thanks, Michal. -- tejun