Received: by 2002:a25:86ce:0:0:0:0:0 with SMTP id y14csp681469ybm; Tue, 21 May 2019 01:30:53 -0700 (PDT) X-Google-Smtp-Source: APXvYqzQTMNEu1mbANM2+iv/fSQIqU+a/dnB2/bZjAxE4hOzjOmumrUQ1K7X76wLXohjfaRbqt7y X-Received: by 2002:a63:c24c:: with SMTP id l12mr81301165pgg.173.1558427453537; Tue, 21 May 2019 01:30:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558427453; cv=none; d=google.com; s=arc-20160816; b=dyOOTAD9W3OpEW8nmQtLxxB8jESeuq4K/eHxlGOi0DM1Y0thPuM4h5U9qbwnfO0n2S +fBaT0hNvB26wsk9y5aJjnqLEvL57mMTnWtaImlSwbT4r5qXGm8D7SXUqEH8vlUYL9QM 5uPwmbZtR61Tkbq7FmxOdQbmI4YvUwAo5xLdu4NoMlfImgEH4UUI9g82xvQz+JBnNcWA 8GMon8ih5vbFjbmHesCdvqIfkI4RqqW/TaGV7ziaZqZSfyE13NJ8bSKwAl1dllEnMuuO XDkyge3nfa0o/LOZcbCshAMus0uqAcYSpTU5w4PVk0XMi7kYCPQQu9ZY7Rio1L61ME/F OMsg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=SzKeNXo1uWmpaQfgrlLRWkXgwfJYRKDRl5/eKV7Kdrg=; b=spsHqX+RlgJZ6Q9Ybq05QyQ0qKki/OHa3Yxjmx2SU0avMK7QuLx6W0tH+AE4iAQ/xR kWQIkrBDzGT786jhGDOR6vqM9M6hT9huaxdjCJJPwsxXstyzHVxrRjxl2SgOKjcJKV16 LfF8ck7jIKf4itiJLdyu/EGS54g5prxbRzw9hRJAVnU99IOrGs1XSeoeiqPMezbrXPB2 vI0ABQ0SGvCrHyriXtkUHQt5MhaZqbt0Md5Rt4ngJp3QCKWdvpm05Vt5Jy0uxuA/VXME 4lCTHibmloMoEuCT4gotjTAjs+wHuoHEylMGPKq2wkPpKV+S2ubR+b66iwDp6rRkzELF S47A== 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=virtuozzo.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h93si21518714plb.256.2019.05.21.01.30.38; Tue, 21 May 2019 01:30:53 -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=virtuozzo.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727045AbfEUI3Y (ORCPT + 99 others); Tue, 21 May 2019 04:29:24 -0400 Received: from relay.sw.ru ([185.231.240.75]:47178 "EHLO relay.sw.ru" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726138AbfEUI3X (ORCPT ); Tue, 21 May 2019 04:29:23 -0400 Received: from [172.16.25.169] by relay.sw.ru with esmtp (Exim 4.91) (envelope-from ) id 1hT08z-0003cM-KX; Tue, 21 May 2019 11:29:09 +0300 Subject: Re: [PATCH v2 1/7] mm: Add process_vm_mmap() syscall declaration To: Ira Weiny Cc: akpm@linux-foundation.org, dan.j.williams@intel.com, mhocko@suse.com, keith.busch@intel.com, kirill.shutemov@linux.intel.com, alexander.h.duyck@linux.intel.com, andreyknvl@google.com, arunks@codeaurora.org, vbabka@suse.cz, cl@linux.com, riel@surriel.com, keescook@chromium.org, hannes@cmpxchg.org, npiggin@gmail.com, mathieu.desnoyers@efficios.com, shakeelb@google.com, guro@fb.com, aarcange@redhat.com, hughd@google.com, jglisse@redhat.com, mgorman@techsingularity.net, daniel.m.jordan@oracle.com, jannh@google.com, kilobyte@angband.pl, linux-api@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org References: <155836064844.2441.10911127801797083064.stgit@localhost.localdomain> <155836080726.2441.11153759042802992469.stgit@localhost.localdomain> <20190521002827.GA30518@iweiny-DESK2.sc.intel.com> From: Kirill Tkhai Message-ID: <4c35e953-5f59-0202-3f75-f9ccf7df798f@virtuozzo.com> Date: Tue, 21 May 2019 11:29:09 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <20190521002827.GA30518@iweiny-DESK2.sc.intel.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, Ira, On 21.05.2019 03:28, Ira Weiny wrote: > On Mon, May 20, 2019 at 05:00:07PM +0300, Kirill Tkhai wrote: >> Similar to process_vm_readv() and process_vm_writev(), >> add declarations of a new syscall, which will allow >> to map memory from or to another process. > > Shouldn't this be the last patch in the series so that the syscall is actually > implemented first? It looks like there is no dependencies in the last patch to declarations made in the first patch, so we really can move it. I'll make this after there are accumulated some commentaries about the logic to reduce number of patch series. [...] Thanks, Kirill