Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp3155416imj; Mon, 11 Feb 2019 15:06:48 -0800 (PST) X-Google-Smtp-Source: AHgI3IZxjUecCnia8nyASLdFZgxwOeTuZ14tUEpbjrp1cEd3noRhR57yJLXcBN6pWuD7IJOJFeA6 X-Received: by 2002:a17:902:8641:: with SMTP id y1mr711181plt.159.1549926408188; Mon, 11 Feb 2019 15:06:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549926408; cv=none; d=google.com; s=arc-20160816; b=g/h//qacW3uFTHkoTDi0Mi08JH93CgrTMJPazRM9M7skilHDxBhX72tVcqRMRcPpGf TdyUw3GaW9FzJwHO7zlls4dbVBdaO+uV/dE4Lsicu7UhfJjb3k8rj6eNDUOvK0QaSNxT 8KrF3/3vwJgn3WrSQdOj82rKNQK9XjwZ2C39V9H1zQDrR6rSo55TmOhjaedQNPB9yhvQ QfE2tf+IeyDNZtLHkjyFmGwjTrcXmbLkqZqnYLivaKtxgy+LMhJ965YjHBfWz3iUfhdb /FiDAzSu0sfsc8CKFAl+MV8di5i1BKDmBy61LlVL/DnkjZxd9q5/wekYtGRadfBRhbKf oyAA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :dlp-reaction:dlp-version:dlp-product:content-language :accept-language:in-reply-to:references:message-id:date:thread-index :thread-topic:subject:cc:to:from; bh=ZqUc4F5LXcMG1rENzk0pkIqmfylAPGGjcwpCzdj4sZw=; b=OPGFMHIQJ0npT7Rmje3tku7foUIAzUTd73/rinid89L/2U6l+ibm1TmCnI5BKdIhi5 A+IgKzXEIEu7H1AKVWQ42HCF7vrUEcuvVDUgPTj9An6DX3AhutPZGYaKFMbTbOsxEF/l +qtJJcF08IBkxJgfSBGpuEYxvmKJdWMaqKY4nqutThoPym4ysQ7F5ZSI+CmyVVSaz5e2 y30Kks8Gj+HGJ+6uo8ptmio21tqeK5SGh24TvLP8+Sim0f5oGD00W+9qoChhwT8UGgPB oWrxM9FfYsmwgXYKlrNhSfq8pbSZBeM3Ju/tjufh36Uw/h4CPzWLprFiSAnneeLM/upw PZXA== 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=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x11si506775plv.76.2019.02.11.15.06.32; Mon, 11 Feb 2019 15:06:48 -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; 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=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727650AbfBKXEx (ORCPT + 99 others); Mon, 11 Feb 2019 18:04:53 -0500 Received: from mga02.intel.com ([134.134.136.20]:40157 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726847AbfBKXEw (ORCPT ); Mon, 11 Feb 2019 18:04:52 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 11 Feb 2019 15:04:51 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.58,360,1544515200"; d="scan'208";a="132811013" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by FMSMGA003.fm.intel.com with ESMTP; 11 Feb 2019 15:04:51 -0800 Received: from fmsmsx120.amr.corp.intel.com (10.18.124.208) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.408.0; Mon, 11 Feb 2019 15:04:51 -0800 Received: from crsmsx102.amr.corp.intel.com (172.18.63.137) by fmsmsx120.amr.corp.intel.com (10.18.124.208) with Microsoft SMTP Server (TLS) id 14.3.408.0; Mon, 11 Feb 2019 15:04:51 -0800 Received: from crsmsx101.amr.corp.intel.com ([169.254.1.57]) by CRSMSX102.amr.corp.intel.com ([169.254.2.54]) with mapi id 14.03.0415.000; Mon, 11 Feb 2019 17:04:48 -0600 From: "Weiny, Ira" To: "Williams, Dan J" , Jason Gunthorpe CC: John Hubbard , linux-rdma , Linux Kernel Mailing List , Linux MM , "Daniel Borkmann" , Davidlohr Bueso , Netdev , "Marciniszyn, Mike" , "Dalessandro, Dennis" , Doug Ledford , Andrew Morton , "Kirill A. Shutemov" Subject: RE: [PATCH 2/3] mm/gup: Introduce get_user_pages_fast_longterm() Thread-Topic: [PATCH 2/3] mm/gup: Introduce get_user_pages_fast_longterm() Thread-Index: AQHUwkbKPZQIC0o+Ik+rfr1Js7w1daXbc70AgAAJrwD//32BAIAAiY8A//99pACAAIoeAIAADXcA//+bucA= Date: Mon, 11 Feb 2019 23:04:48 +0000 Message-ID: <2807E5FD2F6FDA4886F6618EAC48510E79BCF467@CRSMSX101.amr.corp.intel.com> References: <20190211201643.7599-1-ira.weiny@intel.com> <20190211201643.7599-3-ira.weiny@intel.com> <20190211203916.GA2771@ziepe.ca> <20190211212652.GA7790@iweiny-DESK2.sc.intel.com> <20190211215238.GA23825@iweiny-DESK2.sc.intel.com> <20190211220658.GH24692@ziepe.ca> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiOTY0ZWIwYzgtYjAyMy00Mzk5LWI1YTItNjA5MzNjMWExZjQ2IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiMGtueitJaVdKa0RGRUlHVUpneWIrTDdEajUxbmFwUnRjR2ViK205WVMxQ3pYT05XRTMrUXI3c21KbnhlNWxaVyJ9 x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.400.15 dlp-reaction: no-action x-originating-ip: [172.18.205.10] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org PiANCj4gT24gTW9uLCBGZWIgMTEsIDIwMTkgYXQgMjowNyBQTSBKYXNvbiBHdW50aG9ycGUgPGpn Z0B6aWVwZS5jYT4gd3JvdGU6DQo+ID4NCj4gPiBPbiBNb24sIEZlYiAxMSwgMjAxOSBhdCAwMTo1 MjozOFBNIC0wODAwLCBJcmEgV2Vpbnkgd3JvdGU6DQo+ID4gPiBPbiBNb24sIEZlYiAxMSwgMjAx OSBhdCAwMTozOToxMlBNIC0wODAwLCBKb2huIEh1YmJhcmQgd3JvdGU6DQo+ID4gPiA+IE9uIDIv MTEvMTkgMToyNiBQTSwgSXJhIFdlaW55IHdyb3RlOg0KPiA+ID4gPiA+IE9uIE1vbiwgRmViIDEx LCAyMDE5IGF0IDAxOjEzOjU2UE0gLTA4MDAsIEpvaG4gSHViYmFyZCB3cm90ZToNCj4gPiA+ID4g Pj4gT24gMi8xMS8xOSAxMjozOSBQTSwgSmFzb24gR3VudGhvcnBlIHdyb3RlOg0KPiA+ID4gPiA+ Pj4gT24gTW9uLCBG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