Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1732606imu; Thu, 10 Jan 2019 02:00:51 -0800 (PST) X-Google-Smtp-Source: ALg8bN6kRWX3s/qsB5ILlO4Syka32wV6uwuawFd9+fKU0owjvo8+Cq4DxHSH6ohr5X+ACQrznv0D X-Received: by 2002:a62:43c1:: with SMTP id l62mr9742169pfi.22.1547114451547; Thu, 10 Jan 2019 02:00:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547114451; cv=none; d=google.com; s=arc-20160816; b=Vk1VoyZDVF9pCAtYRWX6izENBzs1BXKRyGpEz888gntGpq5UC43MO5q4c1t/hYDcKM JbnvZLJzjGjx4ehQcFQc7NN5UtjW1fzpobpv6RDb79iqxsTkVDl5T2U6NzragbRDNZ+q hOfffIm72LWmKVYNXSAZd1VEdxgzCXYpE1RG6s/wve04I+XuNl6SppFx+jWz5346aHnC SPu6o/NaYYawNZXUKQ2U6z6zizcFm9EPwAuEeYX5KZbMNo/2MK1PIJ9RLu0jzr5Y4Gjt PFXppZ++q6ftM2g396/F/zm8vHpZvWhs4Bdv0YQk5g0X/+eWdAS4fRt3/ICQAIOEu6wC PQDQ== 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; bh=1OiOgyoWEbrOGFd3s3q6VlG3vW7DoW1BjjyErKvLtT4=; b=wAiH4sZxYBTtb96swvYneL01VO8Pp2qQFEuGYib61tUzquOTsrV8rn3VTlSWz/p0UP myMyYE9jafOLNMGaJKp5A91GqoC5K6slpLjcVM2Zye3T17HCjaKGgo6pMMPLT5NcdbOg 4jQqnXproZyhNCbXLgT7LOEpNOpTA0SqtZbvnoKEEfi2+fD0KTn3WnCOvfNSIlk9R21/ 1t5hiCGATw4za+L2+5AWfq4/mOn8CABUkFNQ6Z/tPN/icyn9Jlc/RvxJoZc1RfPfT5us XsI2zwQ3IrNS7E70F34aKUbLnBDhCX18k88aB6Z2qsEnJBQwE0Zfg1nAf7X8RCMyaETY vmpA== 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z38si5378679pga.193.2019.01.10.02.00.35; Thu, 10 Jan 2019 02:00:51 -0800 (PST) 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728055AbfAJJ5z (ORCPT + 99 others); Thu, 10 Jan 2019 04:57:55 -0500 Received: from mx2.suse.de ([195.135.220.15]:34416 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727825AbfAJJ5y (ORCPT ); Thu, 10 Jan 2019 04:57:54 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 8D836AC4B; Thu, 10 Jan 2019 09:57:53 +0000 (UTC) Date: Thu, 10 Jan 2019 10:57:52 +0100 From: Michal Hocko To: Kirill Tkhai Cc: akpm@linux-foundation.org, hannes@cmpxchg.org, josef@toxicpanda.com, jack@suse.cz, hughd@google.com, darrick.wong@oracle.com, aryabinin@virtuozzo.com, guro@fb.com, mgorman@techsingularity.net, shakeelb@google.com, linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH RFC 0/3] mm: Reduce IO by improving algorithm of memcg pagecache pages eviction Message-ID: <20190110095752.GK31793@dhcp22.suse.cz> References: <154703479840.32690.6504699919905946726.stgit@localhost.localdomain> <20190109141113.GW31793@dhcp22.suse.cz> <20190109171021.GY31793@dhcp22.suse.cz> <3d4f4c83-44c9-c6d5-8dbe-c42a47e6c2bd@virtuozzo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3d4f4c83-44c9-c6d5-8dbe-c42a47e6c2bd@virtuozzo.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu 10-01-19 12:42:02, Kirill Tkhai wrote: [...] > In general, I think a some time useful design is not a Bible, that nobody > is allowed to change. We should not limit us in something, in case of this > has a sense and may be useful. This is just a note in general. But any semantic exported to the userspace and real application depending on it is carved in stone for ever. And this is the case here I am afraid. So if we really need some sort of soft unmapping or reparenting a memory from a memcg then we really need to find a different way. I do not see a straightforward way right now TBH. -- Michal Hocko SUSE Labs