From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.9 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D5716C43603 for ; Tue, 10 Dec 2019 10:49:45 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 9807920663 for ; Tue, 10 Dec 2019 10:49:45 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="gpTlHI8S" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 9807920663 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 383BF6B2BE4; Tue, 10 Dec 2019 05:49:45 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 32DD06B2BE5; Tue, 10 Dec 2019 05:49:45 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 1FA736B2BE6; Tue, 10 Dec 2019 05:49:45 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0017.hostedemail.com [216.40.44.17]) by kanga.kvack.org (Postfix) with ESMTP id 0939A6B2BE4 for ; Tue, 10 Dec 2019 05:49:45 -0500 (EST) Received: from smtpin24.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay05.hostedemail.com (Postfix) with SMTP id 99CB8181AEF30 for ; Tue, 10 Dec 2019 10:49:44 +0000 (UTC) X-FDA: 76248911088.24.light71_8f351f0ee3b43 X-HE-Tag: light71_8f351f0ee3b43 X-Filterd-Recvd-Size: 5153 Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [207.211.31.120]) by imf02.hostedemail.com (Postfix) with ESMTP for ; Tue, 10 Dec 2019 10:49:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1575974983; 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=gpTlHI8SUxPkyMA8tmEifwHMokHAla5MvIZX4lVqWYLUXSO3zaMbdtkBN13Q4+OudticcL J3j3KP0EDfoSw3i1sq8jAXahj8WtXvlazWv8Tw7xBLUPb6IOqWWbs56/KwDWgyaFfV6J/e b84jGeDaqxCLXDDFZsmMxIOgA15OT+o= Received: from mail-wm1-f71.google.com (mail-wm1-f71.google.com [209.85.128.71]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-329-GI0Ns3BAOuq1gsP-n1cvUg-1; Tue, 10 Dec 2019 05:49:42 -0500 Received: by mail-wm1-f71.google.com with SMTP id s12so853814wmc.6 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=YmEzo6OL+zpcGUTejLz3RMczCdD97Sjgn/dX+jsHaQjJg2C/I1o44aG5UpcA2wJIxr dCoMWxIKfmANH5mO56pCWGF/lMqY+o4V2c1SwKme3hXHnAUVU1vrjmdBoy7HjQiN+m3k HnP4dY71f0n4VPF+x0sN4oXOVyhalr2jKewsSBKzYKxtMarNbqAF0haO5HMgNGlFqpRS 6MrtwN71z36HrvYCrt5BjXgLsrq6usBxXXci051y1aVJg4wX1DCIAhBnnG0kUcex46C4 5ejyNLA24/kDtM62HsPBILAQE49vxBIQublvJGuNAMqYB1tW8XiJHLTKCG5ejwmGywen 5NTA== X-Gm-Message-State: APjAAAU1uzD1pp/oHXXPDz6SBsHlo9bxG/Gdeb1afKikO8N6Ii0ZYzRN a7vx7SLbRt+fvc3pC58zL6bBKJV2dTIoQuqzEu1L5ytfDovMCt5HheU37Vze89dx+unZ3xwKzGK YahzEhTppCyM= X-Received: by 2002:adf:a308:: with SMTP id c8mr943570wrb.240.1575974981414; Tue, 10 Dec 2019 02:49:41 -0800 (PST) X-Google-Smtp-Source: APXvYqzWrXqV875WoE1NtxDoSWnidAGuPO2VDjnYqV2h4y2diBP7Q+pt2V1baueET5JHkn8bVgrOpw== 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: GI0Ns3BAOuq1gsP-n1cvUg-1 X-Mimecast-Spam-Score: 0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: 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