From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752890AbbJWNng (ORCPT ); Fri, 23 Oct 2015 09:43:36 -0400 Received: from shards.monkeyblade.net ([149.20.54.216]:35276 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752705AbbJWNnc (ORCPT ); Fri, 23 Oct 2015 09:43:32 -0400 Date: Fri, 23 Oct 2015 06:59:57 -0700 (PDT) Message-Id: <20151023.065957.1690815054807881760.davem@davemloft.net> To: mhocko@kernel.org Cc: hannes@cmpxchg.org, akpm@linux-foundation.org, vdavydov@virtuozzo.com, tj@kernel.org, netdev@vger.kernel.org, linux-mm@kvack.org, cgroups@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 5/8] mm: memcontrol: account socket memory on unified hierarchy From: David Miller In-Reply-To: <20151023131956.GA15375@dhcp22.suse.cz> References: <1445487696-21545-1-git-send-email-hannes@cmpxchg.org> <1445487696-21545-6-git-send-email-hannes@cmpxchg.org> <20151023131956.GA15375@dhcp22.suse.cz> X-Mailer: Mew version 6.4 on Emacs 23.4 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Fri, 23 Oct 2015 06:43:32 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Michal Hocko Date: Fri, 23 Oct 2015 15:19:56 +0200 > On Thu 22-10-15 00:21:33, Johannes Weiner wrote: >> Socket memory can be a significant share of overall memory consumed by >> common workloads. In order to provide reasonable resource isolation >> out-of-the-box in the unified hierarchy, this type of memory needs to >> be accounted and tracked per default in the memory controller. > > What about users who do not want to pay an additional overhead for the > accounting? How can they disable it? Yeah, this really cannot pass. This extra overhead will be seen by %99.9999 of users, since entities (especially distributions) just flip on all of these config options by default.