Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp683747imm; Fri, 1 Jun 2018 07:52:54 -0700 (PDT) X-Google-Smtp-Source: ADUXVKImUp39uL8sa0K/sHo6CFGiNo8RctCBSwM9Slz1TFy5bQ6OrOXDYKcWTE86gVGeNRtH1CZF X-Received: by 2002:aa7:8009:: with SMTP id j9-v6mr11278695pfi.52.1527864773959; Fri, 01 Jun 2018 07:52:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527864773; cv=none; d=google.com; s=arc-20160816; b=hW+ktSBe1vE0hFbnUq7lo62W37/Mc6AabXN1Xngye2wRQmSFf5VsQ+ccpvXGwqKCGB S8or7gK1hnsVlr5hfEOR2D+FLBG8a8ANNhJvqxFT9tDDuxnJj0dvqZu0BIeWIWrEyEFH onPbBr0vSGrbLkVO5WbPPCnPj2zVwwrO3O5S2/Fj/Mlvy103Gv6pj6OgDEnf4HC/6JZ6 JwsD8LwRTc5soJcqiTvTmahx0oHJ/w98WhWfHuQYy5TB+jwJqCKlIS5wWEx77m5yWjpX UHzMNEWdT/Oqy5VJ+gayC4Urs61ruM3pMjMHF33ej/Se10KXBVPRkMhSeQo0iaZm1LyZ r4og== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:subject:mime-version:user-agent :message-id:in-reply-to:date:references:cc:to:from :arc-authentication-results; bh=5KpzvPCsMaGny1Gzd53aoBUrFennmvU0pta/WlJCvhs=; b=yM5B1YXM4gyENx8GY6e6kb99qpd3ppH9FQIkaZrR0zdEaQ+Y+YsVXANEorIq/2V/st G0Owc5d7AHACU3ByJZ23NYMgN7HR+ULJ1m/kDWEKG/rzc9gxCgCiTC4873e3xT5oXSlU Vb2ORy9zpuPVzTTkdzy4qHqoMiB3oysru+Wi6Cw+pdymbF3RTX6Zjl/IGZQPHopwzqjd 80qBsaToBxZbtqK3JsKNMKs+6SU5Qd2lZTc9Mqlf/Xd2O5s2NYbwYnBm//chi6si65+0 Cf7VxePpqbd1wxjJnt/fzIjcwWGTHju3g6ahba1XkiJF8cdkj0OA8c9F51aE/1xocSM5 wQSg== ARC-Authentication-Results: i=1; mx.google.com; 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 y20-v6si2697981pll.76.2018.06.01.07.52.37; Fri, 01 Jun 2018 07:52:53 -0700 (PDT) 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; 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 S1751792AbeFAOwN (ORCPT + 99 others); Fri, 1 Jun 2018 10:52:13 -0400 Received: from out02.mta.xmission.com ([166.70.13.232]:60598 "EHLO out02.mta.xmission.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751422AbeFAOwK (ORCPT ); Fri, 1 Jun 2018 10:52:10 -0400 Received: from in02.mta.xmission.com ([166.70.13.52]) by out02.mta.xmission.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.87) (envelope-from ) id 1fOlPV-0008Tq-6D; Fri, 01 Jun 2018 08:52:09 -0600 Received: from 97-119-124-205.omah.qwest.net ([97.119.124.205] helo=x220.xmission.com) by in02.mta.xmission.com with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.87) (envelope-from ) id 1fOlPU-00008q-Kd; Fri, 01 Jun 2018 08:52:09 -0600 From: ebiederm@xmission.com (Eric W. Biederman) To: Michal Hocko Cc: Andrew Morton , Johannes Weiner , Kirill Tkhai , peterz@infradead.org, viro@zeniv.linux.org.uk, mingo@kernel.org, paulmck@linux.vnet.ibm.com, keescook@chromium.org, riel@redhat.com, tglx@linutronix.de, kirill.shutemov@linux.intel.com, marcos.souza.org@gmail.com, hoeun.ryu@gmail.com, pasha.tatashin@oracle.com, gs051095@gmail.com, dhowells@redhat.com, rppt@linux.vnet.ibm.com, linux-kernel@vger.kernel.org, Balbir Singh , Tejun Heo , Oleg Nesterov References: <20180504145435.GA26573@redhat.com> <87y3gzfmjt.fsf@xmission.com> <20180504162209.GB26573@redhat.com> <871serfk77.fsf@xmission.com> <87tvrncoyc.fsf_-_@xmission.com> <20180510121418.GD5325@dhcp22.suse.cz> <20180522125757.GL20020@dhcp22.suse.cz> <87wovu889o.fsf@xmission.com> <20180524111002.GB20441@dhcp22.suse.cz> <20180524141635.c99b7025a73a709e179f92a2@linux-foundation.org> <20180530121721.GD27180@dhcp22.suse.cz> <87wovjacrh.fsf@xmission.com> <87wovj8e1d.fsf_-_@xmission.com> Date: Fri, 01 Jun 2018 09:52:04 -0500 In-Reply-To: <87wovj8e1d.fsf_-_@xmission.com> (Eric W. Biederman's message of "Thu, 31 May 2018 20:57:02 -0500") Message-ID: <87y3fywodn.fsf_-_@xmission.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-XM-SPF: eid=1fOlPU-00008q-Kd;;;mid=<87y3fywodn.fsf_-_@xmission.com>;;;hst=in02.mta.xmission.com;;;ip=97.119.124.205;;;frm=ebiederm@xmission.com;;;spf=neutral X-XM-AID: U2FsdGVkX1+MHQ9/zaNPJmOpr4SYdm1ekOyHJekQFFg= X-SA-Exim-Connect-IP: 97.119.124.205 X-SA-Exim-Mail-From: ebiederm@xmission.com X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on sa04.xmission.com X-Spam-Level: *** X-Spam-Status: No, score=3.5 required=8.0 tests=ALL_TRUSTED,BAYES_50, DCC_CHECK_NEGATIVE,TR_Symld_Words,TVD_RCVD_IP,XMNoVowels,XMSubLong autolearn=disabled version=3.4.1 X-Spam-Report: * -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP * 0.7 XMSubLong Long Subject * 1.5 XMNoVowels Alpha-numberic number with no vowels * 1.5 TR_Symld_Words too many words that have symbols inside * 0.0 TVD_RCVD_IP Message was received from an IP address * 0.8 BAYES_50 BODY: Bayes spam probability is 40 to 60% * [score: 0.4995] * -0.0 DCC_CHECK_NEGATIVE Not listed in DCC * [sa04 1397; Body=1 Fuz1=1 Fuz2=1] X-Spam-DCC: XMission; sa04 1397; Body=1 Fuz1=1 Fuz2=1 X-Spam-Combo: ***;Michal Hocko X-Spam-Relay-Country: X-Spam-Timing: total 224 ms - load_scoreonly_sql: 0.04 (0.0%), signal_user_changed: 3.0 (1.3%), b_tie_ro: 1.99 (0.9%), parse: 1.13 (0.5%), extract_message_metadata: 2.5 (1.1%), get_uri_detail_list: 0.48 (0.2%), tests_pri_-1000: 6 (2.5%), tests_pri_-950: 1.77 (0.8%), tests_pri_-900: 1.67 (0.7%), tests_pri_-400: 21 (9.4%), check_bayes: 20 (8.8%), b_tokenize: 7 (3.2%), b_tok_get_all: 6 (2.6%), b_comp_prob: 2.1 (0.9%), b_tok_touch_all: 2.6 (1.1%), b_finish: 0.71 (0.3%), tests_pri_0: 172 (77.0%), check_dkim_signature: 0.54 (0.2%), check_dkim_adsp: 3.3 (1.5%), tests_pri_500: 4.8 (2.2%), rewrite_mail: 0.00 (0.0%) Subject: [RFC][PATCH 0/2] memcg: Require every task that uses an mm to migrate together X-Spam-Flag: No X-SA-Exim-Version: 4.2.1 (built Thu, 05 May 2016 13:38:54 -0600) X-SA-Exim-Scanned: Yes (on in02.mta.xmission.com) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This is a follow up to my last patch of switching from mm->owner to mm->memgcg and as it might be significant enough to break userspace. I am carefully not depending on this change. Eric W. Biederman (2): memcg: Ensure every task that uses an mm is in the same memory cgroup memcgl: Remove dead code now that all tasks of an mm share a memcg mm/memcontrol.c | 94 ++++++++++++++++++++++++++++++++++++--------------------- 1 file changed, 59 insertions(+), 35 deletions(-)