Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp236860yba; Tue, 14 May 2019 23:55:30 -0700 (PDT) X-Google-Smtp-Source: APXvYqylNIhebG2fxf7WXqvHA6M9nrjNgTfC4nk/6ohVHS40rNEmNxPXrTi1ARXWcNKAe36WqRpn X-Received: by 2002:a62:e205:: with SMTP id a5mr7590276pfi.40.1557903330057; Tue, 14 May 2019 23:55:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557903330; cv=none; d=google.com; s=arc-20160816; b=1A8Rd9AfxyDSU04ISZrQYnIpMxkO4EHsFFwYACHaVzp3XxdYi4uZMN2uGuTnJaxsCm qZT/mJ8rrQi5LGFJL45IIzhFsDY5p383WkYrr+xLY35Hjf8xAaPxX3PCh43mP2d6jTFe R3mZZGtH0qkuKHxwEV9D7SHtqFGKCt0/9teZtvz8J8rMUBbi7orsYTdjtONEBwJOkG46 xAOxzLsOOQRs83wIhPGZvuSrLiUya7Wulk9oYXf7EYYzQU3SRjEqVXixvZqjRsfJl5is 6JkQr2cr+Ya+OqImHFuacQTTCP3C6zKzmvY8cGX3im3stQR2FPRJKZT5hfOuEINujICa wmSg== 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=LuZSh4Peo/xsdMugN/gZy/se25mAY9+SzlEqGTEhuyM=; b=TD2A1Gp8fVZfTGGlgetxfn2ncRXUz2Al3DC0vfXMP8/XMtVozRriSI7IXsHKkXzCzy dGWQGyNG2YZtyAbidtNOH/flO58e3T5CqijTqvM3Gw8W2/hIzowN4ECTNHfLhNLa1Udg 0PwQsUSpJAxtp5N/++45Jpf5iU4hWCx/Wj5VC15U982pFFMmKz2GKwYPRIAlV4XZed4u vVS+AzaQdwbT6I1RvyY5WUpSsdqV3TmbWgfpn5nQGVdTbtLBojDMMz0xIDY3/Jl8e3oP laRD5BHcr0KjpedlOmUTTDX5Xx0i9IqcxJare3cuA3834I+D7PLDh4X1uRyQnVnG3jOY nn6g== 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 q75si1037133pgq.386.2019.05.14.23.55.15; Tue, 14 May 2019 23:55:30 -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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726490AbfEOGxR (ORCPT + 99 others); Wed, 15 May 2019 02:53:17 -0400 Received: from mx2.suse.de ([195.135.220.15]:48310 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725902AbfEOGxR (ORCPT ); Wed, 15 May 2019 02:53:17 -0400 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 15111AE5D; Wed, 15 May 2019 06:53:16 +0000 (UTC) Date: Wed, 15 May 2019 08:53:11 +0200 From: Michal Hocko To: Oleksandr Natalenko Cc: linux-kernel@vger.kernel.org, Kirill Tkhai , Vlastimil Babka , Matthew Wilcox , Pavel Tatashin , Timofey Titovets , Aaron Tomlin , Grzegorz Halat , linux-mm@kvack.org, linux-api@vger.kernel.org, Hugh Dickins Subject: Re: [PATCH RFC v2 0/4] mm/ksm: add option to automerge VMAs Message-ID: <20190515065311.GB16651@dhcp22.suse.cz> References: <20190514131654.25463-1-oleksandr@redhat.com> <20190514144105.GF4683@dhcp22.suse.cz> <20190514145122.GG4683@dhcp22.suse.cz> <20190515062523.5ndf7obzfgugilfs@butterfly.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190515062523.5ndf7obzfgugilfs@butterfly.localdomain> 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 Wed 15-05-19 08:25:23, Oleksandr Natalenko wrote: [...] > > > Please make sure to describe a usecase that warrants adding a new > > > interface we have to maintain for ever. > > I think of two major consumers of this interface: > > 1) hosts, that run containers, especially similar ones and especially in > a trusted environment; > > 2) heavy applications, that can be run in multiple instances, not > limited to opensource ones like Firefox, but also those that cannot be > modified. This is way too generic. Please provide something more specific. Ideally with numbers. Why those usecases cannot use an existing interfaces. Remember you are trying to add a new user interface which we will have to maintain for ever. I will try to comment on the interface itself later. But I have to say that I am not impressed. Abusing sysfs for per process features is quite gross to be honest. -- Michal Hocko SUSE Labs