Received: by 10.192.165.148 with SMTP id m20csp2258344imm; Thu, 26 Apr 2018 08:11:55 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+bnPFr65hNlGYcd8VElGtzeOEhSQgKnZ0f5axrLm10uDXz7RSrV5uuw3JhJeMs3qFVB1RS X-Received: by 10.99.63.6 with SMTP id m6mr23724210pga.340.1524755515589; Thu, 26 Apr 2018 08:11:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524755515; cv=none; d=google.com; s=arc-20160816; b=RRmy8VDMFINXNJg4vkg9xS0ZNAbqro5/qiWNACAtFvc7AIB1VoZQtUmO3/jGRCvD2h dYE1hhmdvxCkvEOXhiyhAR5ad0eSvi0bdHlycn7DJOoWvdz7Sg6f4kGsa7vz7Lqf3JoE YuSx9ZyYUXfvAaiGMh5K+NapKdR9NySPYbxX85CVVLYgfAsvx3wOY1odKwmuxEXJnolD PFQxN0pdxqjl32VSHnA1jKboJhKpEu2iV4KN8UVKbC+ddDitP5METILXxJM5jFCYrtWS fJWgb7nMkikKFO54qrLO10GyjStvpCzcBkEkO2W+ApZuwLg8IrKZjzoZjgdcvDHfNfWW QXCA== 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:arc-authentication-results; bh=6tBKPNPizQmO5rLI/oksgjDrPvqhi/jeTDxYre/nzi8=; b=ZdmIKxlFy+hy6fiuLwComE0tNAa85G8iuGnZCqy5SD36LCOEwmWAkaKiy6a0PygXGd P+T0xyIKMhDnP0wflyW3e9iJyrZs8l3rERw1Zo3r5JoO1GGYGi5p7VSyaDfBGmHm3/mw pzxAQ2TGYq72rawHX8H22IUJ9aJ9bgn4nUsoLdwDKGLkMIKc3rwhTYk8ew/VC/2qteFv RYP09P3zSKGZNqn7xKN0hyJxvb0GbP51j9wiqsKgTn+XZIhZB/t6c5DCk+to4t/x6G6Q xT2oRBoBY8MB+Uh7bSdsaXF6ovT80Lg4RRywuxDpjv6mVUOGyKClSi/JPOh4VzeqQx3Y OdCw== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p13-v6si19554409pll.416.2018.04.26.08.11.40; Thu, 26 Apr 2018 08:11:55 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756661AbeDZPKJ (ORCPT + 99 others); Thu, 26 Apr 2018 11:10:09 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:44188 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1756511AbeDZPKI (ORCPT ); Thu, 26 Apr 2018 11:10:08 -0400 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 4638581A88C7; Thu, 26 Apr 2018 15:10:06 +0000 (UTC) Received: from dhcp-27-174.brq.redhat.com (unknown [10.34.27.30]) by smtp.corp.redhat.com (Postfix) with SMTP id A2C63202323B; Thu, 26 Apr 2018 15:10:03 +0000 (UTC) Received: by dhcp-27-174.brq.redhat.com (nbSMTP-1.00) for uid 1000 oleg@redhat.com; Thu, 26 Apr 2018 17:10:06 +0200 (CEST) Date: Thu, 26 Apr 2018 17:10:03 +0200 From: Oleg Nesterov To: Kirill Tkhai Cc: Michal Hocko , akpm@linux-foundation.org, 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, ebiederm@xmission.com, dhowells@redhat.com, rppt@linux.vnet.ibm.com, linux-kernel@vger.kernel.org Subject: Re: [PATCH 0/4] exit: Make unlikely case in mm_update_next_owner() more scalable Message-ID: <20180426151002.GB14818@redhat.com> References: <152473763015.29458.1131542311542381803.stgit@localhost.localdomain> <20180426130700.GP17484@dhcp22.suse.cz> <9122972b-9a5b-db65-f145-585d6076b2ed@virtuozzo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <9122972b-9a5b-db65-f145-585d6076b2ed@virtuozzo.com> User-Agent: Mutt/1.5.24 (2015-08-30) X-Scanned-By: MIMEDefang 2.78 on 10.11.54.4 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.8]); Thu, 26 Apr 2018 15:10:06 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.8]); Thu, 26 Apr 2018 15:10:06 +0000 (UTC) for IP:'10.11.54.4' DOMAIN:'int-mx04.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'oleg@redhat.com' RCPT:'' Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 04/26, Kirill Tkhai wrote: > > We can rework this simply by adding a list of tasks to mm. Perhaps, but then I think this list should not depend on mm->owner. I mean, mm->list_of_group_leaders_which_use_this_mm can be used by coredump and oom-killer at least. But this is not that simple... Oleg.