Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp312679yba; Thu, 16 May 2019 00:56:18 -0700 (PDT) X-Google-Smtp-Source: APXvYqzULXMsGfjDH+Ehkoytpa5mUSugE+er63KbzJlcop+kVqv2ZFB1+KwgEGmb7jMkkhUcYPKO X-Received: by 2002:a17:902:4283:: with SMTP id h3mr25582693pld.214.1557993378618; Thu, 16 May 2019 00:56:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557993378; cv=none; d=google.com; s=arc-20160816; b=IV4UozRhgfUVMQZJBf/MmE0o7hanwGY2fjdXwnRHqAOh+2//kaGWQD1CzZXsQNBelM nzHhiB+qb26M8mNiE6jlW0KQhGbrvMWkfVQEKORc77tuRxxmid+aDsUQ43cwP4zaeALa Q9SzM/XV/7zv3OC1yfBSiS04xi8O7s6pjc8eFojdWZs76KWzuCvImEpUwKaRzAwaYXlT fgh1vBusZ5HlIAscSGrM7emWJg12ml0YrtETVNeNpIoABG10WO1uuha5eeh+hpF2Hj9G Mjlm4WYC9Cakot3PPb6q6wMC9BugMK2KLbZJM0y/4f1yRMRYVpB0BJZbYqJ6SLVboua3 vBgQ== 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:dkim-signature:dkim-signature; bh=He5ihOaVJM+Plo3d4jGHJxUuKm1xliYsYWOaqQ0envA=; b=KYHTR1Igtcu1+dywx4iRSjsxikMF3sNItV2qHUR7wHJqQLLnKsEBiAtvTR9AHbUSIR i2TarZHIJvbD/QHxv7STWg9huqG7wNXo71CiVJE8kW+RwC0OiiYnjas3etOQMGZSWDF9 KKbXYByKymrrcuQVGXmbzSPZz3Tv57gr6Dddqxu9GI6RWQLwnjI+cnix+MUDlTLtckAW CvJOpL7wxCC8sCOAeS1q+kcBuqUGDq9hzhJIbPkoGGDLn9gVNsSNM1ahYOw6yE/vCV16 U20vY5YoZCT1G8s0PM0/IklxYhCTblV0MKpyJ1lTs0MMNzCm/2wme7NoaoGv2Q2SWZ9D N2qA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kroah.com header.s=fm3 header.b=TuDI+0XF; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=4+Ynej1g; 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 y1si4934124pfb.264.2019.05.16.00.56.03; Thu, 16 May 2019 00:56:18 -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; dkim=pass header.i=@kroah.com header.s=fm3 header.b=TuDI+0XF; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=4+Ynej1g; 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 S1726744AbfEPHxQ (ORCPT + 99 others); Thu, 16 May 2019 03:53:16 -0400 Received: from new3-smtp.messagingengine.com ([66.111.4.229]:58373 "EHLO new3-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726363AbfEPHxQ (ORCPT ); Thu, 16 May 2019 03:53:16 -0400 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailnew.nyi.internal (Postfix) with ESMTP id 16A5814BEB; Thu, 16 May 2019 03:53:15 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Thu, 16 May 2019 03:53:15 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kroah.com; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm3; bh=He5ihOaVJM+Plo3d4jGHJxUuKm1 xliYsYWOaqQ0envA=; b=TuDI+0XFE8t8180O3v+rB58RTJJ3y43gJzRwdtVSU+4 Dv+4pTsoYrcWduUmrj/Mq618J6KdZTLc8PDFG74rWo2ihvZucwqc84MkrG/5KvUt TdQnDjb7DAg53CkG0VPLBN0HpnsprYu21jAeVjR8WYRopj7nAZ/fMptg1lJBkKj+ zJiVHbZezd6qLHcYjEnpAui/B0IrLJnvMaX5XG5VO5Be9b++zeSTjBhzF4inNHJx F0MzY7cqduS+LJYYYWnOHu5oIu9o1qqUaOE+M6KGjy78WACFJQMNVwBJx7gmoWFm AgZiDmmCfKr7maEI201M4+xrJPHHVIqhkG67mrVT+xw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=He5ihO aVJM+Plo3d4jGHJxUuKm1xliYsYWOaqQ0envA=; b=4+Ynej1giCxUUBh4tXh420 pk/bhKQc4kwIzH4pQ4qTOec7EDLUs35E4Y3dU326T+yZ6PPt4GoVyC1VWf41HWFp 9lVblB6hWxeCuHaZxShsKlBsxjnebfk2akCSYYRMiqAt0/KBR0XBw/H4tWQ/Bw/7 hkNzxbnD1tysh5l0sAXjwHvlVM5uHnEd0WtNLz6NarGNP+lB0yXk9uTEH4IgFjve RsOhLJm3Vz/n+8Zqh2kAnEoRvHUqb8P/Sq8edJyXZuyTS+XjmTseL8bBs8uwICA0 mltj4yaACtRMn1C+6aoXTsdav5ejNAIVCYBbcQ9QnmY9Kr4X2nF8eWewKmOkWq2A == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduuddrleelgdduvdehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvffukfhfgggtuggjfgesthdtredttdervdenucfhrhhomhepifhrvghg ucfmjfcuoehgrhgvgheskhhrohgrhhdrtghomheqnecukfhppeekfedrkeeirdekledrud dtjeenucfrrghrrghmpehmrghilhhfrhhomhepghhrvghgsehkrhhorghhrdgtohhmnecu vehluhhsthgvrhfuihiivgeptd X-ME-Proxy: Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) by mail.messagingengine.com (Postfix) with ESMTPA id 4F31B103CC; Thu, 16 May 2019 03:53:13 -0400 (EDT) Date: Thu, 16 May 2019 09:53:11 +0200 From: Greg KH To: Michal Hocko Cc: Oleksandr Natalenko , 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 , Suren Baghdasaryan , Minchan Kim Subject: Re: [PATCH RFC v2 0/4] mm/ksm: add option to automerge VMAs Message-ID: <20190516075311.GA10467@kroah.com> References: <20190514131654.25463-1-oleksandr@redhat.com> <20190514144105.GF4683@dhcp22.suse.cz> <20190514145122.GG4683@dhcp22.suse.cz> <20190515062523.5ndf7obzfgugilfs@butterfly.localdomain> <20190515065311.GB16651@dhcp22.suse.cz> <20190515145151.GG16651@dhcp22.suse.cz> <20190515151557.GA23969@kroah.com> <20190516074713.GK16651@dhcp22.suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190516074713.GK16651@dhcp22.suse.cz> User-Agent: Mutt/1.11.4 (2019-03-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, May 16, 2019 at 09:47:13AM +0200, Michal Hocko wrote: > On Wed 15-05-19 17:15:57, Greg KH wrote: > > On Wed, May 15, 2019 at 04:51:51PM +0200, Michal Hocko wrote: > > > [Cc Suren and Minchan - the email thread starts here 20190514131654.25463-1-oleksandr@redhat.com] > > > > > > On Wed 15-05-19 08:53:11, Michal Hocko wrote: > > > [...] > > > > 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. > > > > > > I have already commented on this in other email. I consider sysfs an > > > unsuitable interface for per-process API. > > > > Wait, what? A new sysfs file/directory per process? That's crazy, no > > one must have benchmarked it :) > > Just to clarify, that was not a per process file but rather per process API. > Essentially echo $PID > $SYSFS_SPECIAL_FILE Ick, no, that's not ok either. sysfs files are not a replacement for syscalls :) thanks, greg k-h