Received: by 10.192.165.148 with SMTP id m20csp297648imm; Fri, 4 May 2018 10:28:23 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqG+rlOKcIfLkvfQCxdoTBN0qpbXYmYVWO/zRvREU4PR3GNSGVvTj2fRa+g2OvpCVU0klIp X-Received: by 2002:a17:902:380c:: with SMTP id l12-v6mr16976392plc.19.1525454903107; Fri, 04 May 2018 10:28:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525454903; cv=none; d=google.com; s=arc-20160816; b=TdzaPO5kOA/W+hetxhRHakxAVFZt5IjYWC64Q/ArEQYTebniYldX/KHZPmVGIfkZTD BgRRu0qoElOmJh69dWWIdOwpwOipcln56h2YXAFjafuDPo97vpeoQaTqEKNTQZxm9u4R a5xWl+KhVSM9/GCuq38dLIeJFjkWc9tpY5ObnB5ET4pa7dge9Nxb6O1K5pqxZkZCzU1M MaJPa2Zdfnc2NPB/4hCTx4b6y/DCGoqYrzecQY5jTYr0bjx0E7LE+lg0RobtKJs5SE7o KkQBv8HAGrTAaIknAkY0heWjThBJnsbfRRiQKk3gF0c1INCrTQpriWL8DzJ3HNLOZ5GR 2kTg== 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=ALAxkbW2ADUXVM/RJN9jTii51oRIWIPSBO/7vqHwFjc=; b=fJsrF5Kbm/I0DCWnSSIJl1oa6X57sEO75bACbE0jvZrJQ85n5zgXw6uUfdv2MKBvvs Dnh/3Wr1NfKlsVyflCEPcsFN/qHdF4qNRgnj3/3aUR2JXSABcqyR5Hw+E0UrbNTs9w4L CYxS7A1WRgwZyAvjZiq+xEXWtsx/JxuXN76re8rH8gZp/sHN5L4JLeqX79zYYCQn4CZA xHk5C9phsvGO5wQ8p/LHJZgBPPI6m4LrPdPvswujaF8qwFCWxMs4lgIG0OUt9cLROjSx VjkdG6v7/odz9GgLsNhlIy72Kkr+mnI2RdNdQEClmHLUTmfnVcn0svuorc2YmcuRx/uy es2A== 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 v29-v6si14195096pgo.483.2018.05.04.10.28.09; Fri, 04 May 2018 10:28:23 -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 S1751817AbeEDR0R (ORCPT + 99 others); Fri, 4 May 2018 13:26:17 -0400 Received: from out03.mta.xmission.com ([166.70.13.233]:43448 "EHLO out03.mta.xmission.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751464AbeEDR0Q (ORCPT ); Fri, 4 May 2018 13:26:16 -0400 Received: from in01.mta.xmission.com ([166.70.13.51]) by out03.mta.xmission.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.87) (envelope-from ) id 1fEeTE-00041I-Qv; Fri, 04 May 2018 11:26:12 -0600 Received: from [97.119.174.25] (helo=x220.xmission.com) by in01.mta.xmission.com with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.87) (envelope-from ) id 1fEeTE-0002Pk-2b; Fri, 04 May 2018 11:26:12 -0600 From: ebiederm@xmission.com (Eric W. Biederman) To: Andrew Morton Cc: Johannes Weiner , Michal Hocko , 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: <87h8nr2sa3.fsf_-_@xmission.com> <20180502084708.GC26305@dhcp22.suse.cz> <20180502132026.GB16060@cmpxchg.org> <87lgd1zww0.fsf_-_@xmission.com> <20180503133338.GA23401@redhat.com> <87y3h0x0qg.fsf@xmission.com> <20180504142056.GA26151@redhat.com> <87r2mrh4is.fsf@xmission.com> <20180504145435.GA26573@redhat.com> <87y3gzfmjt.fsf@xmission.com> <20180504162209.GB26573@redhat.com> <871serfk77.fsf@xmission.com> Date: Fri, 04 May 2018 12:26:03 -0500 In-Reply-To: <871serfk77.fsf@xmission.com> (Eric W. Biederman's message of "Fri, 04 May 2018 11:40:28 -0500") Message-ID: <87tvrncoyc.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=1fEeTE-0002Pk-2b;;;mid=<87tvrncoyc.fsf_-_@xmission.com>;;;hst=in01.mta.xmission.com;;;ip=97.119.174.25;;;frm=ebiederm@xmission.com;;;spf=neutral X-XM-AID: U2FsdGVkX19pKGmG2B239jrWH5+6nWRawl8ZL5TTUTw= X-SA-Exim-Connect-IP: 97.119.174.25 X-SA-Exim-Mail-From: ebiederm@xmission.com X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on sa07.xmission.com X-Spam-Level: * X-Spam-Status: No, score=1.4 required=8.0 tests=ALL_TRUSTED,BAYES_50, DCC_CHECK_NEGATIVE,T_TooManySym_01,T_TooManySym_02,XMNoVowels,XMSolicitRefs_0 autolearn=disabled version=3.4.1 X-Spam-Report: * -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP * 1.5 XMNoVowels Alpha-numberic number with no vowels * 0.8 BAYES_50 BODY: Bayes spam probability is 40 to 60% * [score: 0.5000] * -0.0 DCC_CHECK_NEGATIVE Not listed in DCC * [sa07 1397; Body=1 Fuz1=1 Fuz2=1] * 0.1 XMSolicitRefs_0 Weightloss drug * 0.0 T_TooManySym_01 4+ unique symbols in subject * 0.0 T_TooManySym_02 5+ unique symbols in subject X-Spam-DCC: XMission; sa07 1397; Body=1 Fuz1=1 Fuz2=1 X-Spam-Combo: *;Andrew Morton X-Spam-Relay-Country: X-Spam-Timing: total 183 ms - load_scoreonly_sql: 0.03 (0.0%), signal_user_changed: 2.4 (1.3%), b_tie_ro: 1.72 (0.9%), parse: 0.71 (0.4%), extract_message_metadata: 1.78 (1.0%), get_uri_detail_list: 0.33 (0.2%), tests_pri_-1000: 3.2 (1.8%), tests_pri_-950: 1.11 (0.6%), tests_pri_-900: 0.98 (0.5%), tests_pri_-400: 17 (9.5%), check_bayes: 16 (9.0%), b_tokenize: 5 (3.0%), b_tok_get_all: 5 (2.9%), b_comp_prob: 1.53 (0.8%), b_tok_touch_all: 2.5 (1.4%), b_finish: 0.53 (0.3%), tests_pri_0: 145 (79.0%), check_dkim_signature: 0.43 (0.2%), check_dkim_adsp: 3.3 (1.8%), tests_pri_500: 4.0 (2.2%), rewrite_mail: 0.00 (0.0%) Subject: [PATCH 0/2] mm->owner to mm->memcg fixes 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 in01.mta.xmission.com) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Andrew can you pick up these two fixes as well. These address the issues Michal Hocko and Oleg Nesterov noticed. Eric W. Biederman (2): memcg: Update the mm->memcg maintenance to work when !CONFIG_MMU memcg: Close the race between migration and installing bprm->mm as mm fs/exec.c | 2 + include/linux/memcontrol.h | 5 ++ mm/memcontrol.c | 111 +++++++++++++++++++++------------------------ 3 files changed, 59 insertions(+), 59 deletions(-)