Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp5237011ybl; Tue, 10 Dec 2019 02:50:47 -0800 (PST) X-Google-Smtp-Source: APXvYqzltk5DBcf2kvLUMuG+OcOocSu/vlf6Ip6HFWVw+jRgLej/VtS8DX3bjy8bX+nqQ6MMVUtZ X-Received: by 2002:a9d:6d10:: with SMTP id o16mr26283584otp.28.1575975047793; Tue, 10 Dec 2019 02:50:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575975047; cv=none; d=google.com; s=arc-20160816; b=xlt4uNizxlDjxECuGE++I0Bm3wS08HUXtznXKlTSjLlgNPQ4vM1SoirSrGFJve5gRh mEYLIOE2V9uTqF+uVUKxhzlPpT044hovW20jB/8bx4/InKlztN7EBMEamUGs0JxJi31C WWbSuRV9o7kBe0sr2Iq4Z+9mlYZOmzNOMhAS62N6g8O4szkoY1+L34sJOhmeAmIxLxpl cZFP/hcCnVujhMmSvA5Se6ZKNW/ftwSGVgOnIJWmRqpU/fV+jk670vy0LNrIo5s1hVKc otSaUT5H6xvjYcHmXtxZz3xYdny3BM21bU2QgFIetPV8IVxpxWypWcbqVqTcOcrNLYm7 TY8g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-disposition :content-transfer-encoding:in-reply-to:mime-version:references :message-id:subject:cc:to:from:date:dkim-signature; bh=fVctwGFkZUQARDKwSMhaffHofk1dC5Yr/3Iil1jZx9g=; b=rfKWV1g3eAe7jUDftr0ApYBl3S4h06Ai8QHK6QAZmo/H0oBMEdr+GNyzUbWXYhsHhw HshMb6mFseQvXWPx1HrsPNQzRQbolRsSnt+go2q8D/Uel4PqlEPjvqnimSbOg1HJSjBD AuFBSCkWiic9F+mY4O5bfWeXHhEC89JwTLyT4rboS1FLvuyuPDYCuD8qrGEo42y3lxiB MyPG3ffc5UKOW6uA2fVtiZInDh9X8gVhb1VaR76IMR+0tD21bLfFlOq4tnqkQX6B6j5F 9AbXB5drCtTxdia/xKaSUjO7Db7mul/LHROdqMTBgfzQlkzhpmR+EvvJ34uLFJgBR9E5 Peew== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=PqTOcUvc; 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=pass (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 l19si1597153oib.48.2019.12.10.02.50.34; Tue, 10 Dec 2019 02:50:47 -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; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=PqTOcUvc; 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=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727143AbfLJKtr (ORCPT + 99 others); Tue, 10 Dec 2019 05:49:47 -0500 Received: from us-smtp-2.mimecast.com ([207.211.31.81]:21839 "EHLO us-smtp-delivery-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726574AbfLJKtr (ORCPT ); Tue, 10 Dec 2019 05:49:47 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1575974985; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=fVctwGFkZUQARDKwSMhaffHofk1dC5Yr/3Iil1jZx9g=; b=PqTOcUvc4bJzCkHrUeDY1cMin9MvH2+dzrAQEvVV6cGP0Pu1xfScV0XO5iGEk3xy/BBa2a blvueo0JE6ZR3u+N8qFwMCsOpbA6FUyinTiDoTWypTGeKNXl5Mvn0pciOrQKm4XmvY414W 7wgEI+iyyrVlYVRGG3SVW5+EQ/8dKF0= Received: from mail-wr1-f71.google.com (mail-wr1-f71.google.com [209.85.221.71]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-207-vgb72TJdMtuTNB1RjDxqqg-1; Tue, 10 Dec 2019 05:49:42 -0500 Received: by mail-wr1-f71.google.com with SMTP id c17so8734851wrp.10 for ; Tue, 10 Dec 2019 02:49:42 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=TXqUXLfieW4TVcQp6EMVYOtM+vJyQwpyvlc5ef5/YKE=; b=LWRPA4fr9J8n2S/suVFiSxornBYSV8xB+6iCHGekfbCiYbHI5B0l+eaybrxuOL5X+E Shl+tbI8nAi9CDixj4UujDC2F2isB71yEW1Ji0SXoW5QEN6gKYUEiarnhEVW6woch/nd ZJlcOoKGCFQm8IQzTRpzqEaAMWOTUg3YBvvcekFXyOaatNBZ2u6MKFXuOqyLdsVqg2kb KbOYgZhPfonkNEqH92BCl/5lAyA51SRSQTmG5pX2b5sgzBUD0F2OW3Iuy9U6WWcw+KIR FfL2zakaqGXAk3yNB7aEWpJexA1rmbmnvuw1aOC51e2rN4aBCEzyzb4CbJtLgh4p2Mz3 SLkw== X-Gm-Message-State: APjAAAXgvS0ojDJ7OjsRSHjQPXAcH47MMBYMZeeISfnScix70QvhsnsW q9AGgA0zgNg/4aseXftdhmsPMrajBqgLY6VRaBhPMiUVB66/bp9uLao0zeHcpPHIVpqgVYEoodp 7kqeoV5vbrSKTk0nFXzxbKzoa X-Received: by 2002:adf:a308:: with SMTP id c8mr943568wrb.240.1575974981379; Tue, 10 Dec 2019 02:49:41 -0800 (PST) X-Received: by 2002:adf:a308:: with SMTP id c8mr943541wrb.240.1575974981114; Tue, 10 Dec 2019 02:49:41 -0800 (PST) Received: from localhost (nat-pool-brq-t.redhat.com. [213.175.37.10]) by smtp.gmail.com with ESMTPSA id v3sm2554817wml.47.2019.12.10.02.49.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Dec 2019 02:49:40 -0800 (PST) Date: Tue, 10 Dec 2019 11:49:39 +0100 From: Oleksandr Natalenko To: Minchan Kim Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org, linux-api@vger.kernel.org Subject: Re: [PATCH NOTFORMERGE 0/5] Extend remote madvise API to KSM hints Message-ID: <20191210104939.jauw5hnv3smhtvtr@butterfly.localdomain> References: <20190616085835.953-1-oleksandr@redhat.com> MIME-Version: 1.0 In-Reply-To: <20190616085835.953-1-oleksandr@redhat.com> X-MC-Unique: vgb72TJdMtuTNB1RjDxqqg-1 X-Mimecast-Spam-Score: 0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, Minchan. On Sun, Jun 16, 2019 at 10:58:30AM +0200, Oleksandr Natalenko wrote: > This is a set of commits based on our discussion on your submission [1]. >=20 > First 2 implement minor suggestions just for you to not forget to take > them into account. >=20 > uio.h inclusion was needed for me to be able to compile your series > successfully. Also please note I had to enable "Transparent Hugepage > Support" as well as "Enable idle page tracking" options, otherwise the > build failed. I guess this can be addressed by you better since the > errors are introduced with MADV_COLD introduction. >=20 > Last 2 commits are the actual KSM hints enablement. The first one > implements additional check for the case where the mmap_sem is taken for > write, and the second one just allows KSM hints to be used by the remote > interface. >=20 > I'm not Cc'ing else anyone except two mailing lists to not distract > people unnecessarily. If you are fine with this addition, please use it > for your next iteration of process_madvise(), and then you'll Cc all the > people needed. >=20 > Thanks. >=20 > [1] https://lore.kernel.org/lkml/20190531064313.193437-1-minchan@kernel.o= rg/ >=20 > Oleksandr Natalenko (5): > mm: rename madvise_core to madvise_common > mm: revert madvise_inject_error line split > mm: include uio.h to madvise.c > mm/madvise: employ mmget_still_valid for write lock > mm/madvise: allow KSM hints for remote API >=20 > mm/madvise.c | 23 ++++++++++++++--------- > 1 file changed, 14 insertions(+), 9 deletions(-) >=20 > --=20 > 2.22.0 >=20 This is a gentle ping. Are you still planning to submit process_madvise() s= olution? --=20 Best regards, Oleksandr Natalenko (post-factum) Senior Software Maintenance Engineer