Received: by 10.192.165.148 with SMTP id m20csp2163440imm; Thu, 26 Apr 2018 06:54:37 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/ZkRXZaqTkZTEePHqYdBJhJU0MFiZ7R4ksyUd0+BjNXNdnJ7/DFSaz4XqYgcREfNu8CYcQ X-Received: by 10.101.66.6 with SMTP id c6mr27595254pgq.133.1524750877571; Thu, 26 Apr 2018 06:54:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524750877; cv=none; d=google.com; s=arc-20160816; b=qUcQORh4t8ljMoGgUqr852zwOWglw0nW3rkf25WoeG9lDwjLgrT7e7SQoS8Q6nK2FW q+dEvogWTp2qZCaK+NDEI4p9d+xaOF+QZdtoFo7XmRPJn0wDtS0axsmBuprsmf1vQflD 1b2NYgYh3T2hR1Ee7IJ0yWwc7paUUX22BipgmrZnmnQ7ywRTSWrZBcvQYNlSYmWJVTuD yrH39hu38dsIVP6rOxaIxNXfz2q4uEk1U57KvZQX2FvdyfPOP+YekruNLPNAuQ0d9E1f TyVWo5KZDOOLL+/EK65zQsZT3wWCksz+WbGQ0iAoKWNz15ZT8H5bHuOMm2j9PGUsdxlm iUdA== 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=dUjmeeltFPCrtCyDTxj4ATwX8IJdfd5RlzSJ8DaKhas=; b=xuk/ULKLk4XmhmGNFvtqp6G2NZ9eIww3uDnUQ7MyFYP44URmmrEhLNzGTJH4FttJzO dSVzJl/qMArBSYCOfbtlEBjiaDRlxRAyYgo1aU1+a6/Wm/BhRtsoQ0zPwb8ewwGMw4x/ ahTVTIAhjQegC1QNQyyL8TtRvoa8jmK4e+MEMgZZNJRXcbf6NFLiq4ANvSDhids94bDz BSu30bFlOTG8nokdK9WMKPHymg5zYdms7vTdeEc0HJ4Xgnhl7EJgbyFEciQHINliY5ll R9r6/haNggyypUFI+RQKHLSbw5TsVGeCtp1Ae/v9ohyxFIjf7eKw1mPVrldXwBvMNvLi osUA== 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 a61-v6si19181315pla.400.2018.04.26.06.54.23; Thu, 26 Apr 2018 06:54:37 -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 S1756516AbeDZNxN (ORCPT + 99 others); Thu, 26 Apr 2018 09:53:13 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:52016 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1756321AbeDZNw6 (ORCPT ); Thu, 26 Apr 2018 09:52:58 -0400 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 53A9E406C744; Thu, 26 Apr 2018 13:52:57 +0000 (UTC) Received: from dhcp-27-174.brq.redhat.com (unknown [10.34.27.30]) by smtp.corp.redhat.com (Postfix) with SMTP id C8AA910EE6CA; Thu, 26 Apr 2018 13:52:51 +0000 (UTC) Received: by dhcp-27-174.brq.redhat.com (nbSMTP-1.00) for uid 1000 oleg@redhat.com; Thu, 26 Apr 2018 15:52:57 +0200 (CEST) Date: Thu, 26 Apr 2018 15:52:51 +0200 From: Oleg Nesterov To: Michal Hocko Cc: Kirill Tkhai , 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: <20180426135250.GA14269@redhat.com> References: <152473763015.29458.1131542311542381803.stgit@localhost.localdomain> <20180426130700.GP17484@dhcp22.suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180426130700.GP17484@dhcp22.suse.cz> User-Agent: Mutt/1.5.24 (2015-08-30) X-Scanned-By: MIMEDefang 2.78 on 10.11.54.3 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.5]); Thu, 26 Apr 2018 13:52:57 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.5]); Thu, 26 Apr 2018 13:52:57 +0000 (UTC) for IP:'10.11.54.3' DOMAIN:'int-mx03.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, Michal Hocko wrote: > > then I suspect that we should be better off reconsidering > mm->owner and try to come up with something more clever. I've had a > patch to remove owner few years back. Yeees, I do remember we discussed this but I forgot everything. I agree, it would nice to turn mm->owner into mm->mem_cgroup and just kill the ugly mm_update_next_owner/etc. Oleg.