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=-9.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham 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 2C912C4727C for ; Tue, 29 Sep 2020 12:31:35 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id C034A20759 for ; Tue, 29 Sep 2020 12:31:34 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=oracle.com header.i=@oracle.com header.b="H4BkzIxZ" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732503AbgI2Mbd (ORCPT ); Tue, 29 Sep 2020 08:31:33 -0400 Received: from aserp2120.oracle.com ([141.146.126.78]:54766 "EHLO aserp2120.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732947AbgI2Maq (ORCPT ); Tue, 29 Sep 2020 08:30:46 -0400 Received: from pps.filterd (aserp2120.oracle.com [127.0.0.1]) by aserp2120.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 08TCU42M162921; Tue, 29 Sep 2020 12:30:35 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=subject : to : cc : references : from : message-id : date : mime-version : in-reply-to : content-type : content-transfer-encoding; s=corp-2020-01-29; bh=mURocJg4aGJzNKsZw1W/x0nPR+UVj4K2kJtnPNURiU8=; b=H4BkzIxZhjVBIH2ne5xsO2mLMTQftXS1evUX6WfPYEO4AfKxH3BsWOB0JDq378hE6SrP UUkigvKYtWyjLB7fWaUVQPGahJ3bkSUgRrkXzOEIYB9T17briqCv3zPGjviv9P6d46CY LbrDFegyxtGXOj95F85zqtDrImUXE+9D5MPcafcKA9IS5KoxvKZ7+nHQ+3ITCvJ5xBAd 6EYzsmJV0bUSw9BGxWX5bVLokoNUCx4vmZzU9jQh/dlUnSbU6hvPnm/fOL+UjT+bwbcC uJZT5MzF4gUwtVoNhoeVCB038QLsu2dWs/lvjkhnxexQM6ngYIaR3e4LUzJupPa3HMQu +A== Received: from userp3030.oracle.com (userp3030.oracle.com [156.151.31.80]) by aserp2120.oracle.com with ESMTP id 33swkktcgs-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 29 Sep 2020 12:30:35 +0000 Received: from pps.filterd (userp3030.oracle.com [127.0.0.1]) by userp3030.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 08TCTiP1051028; Tue, 29 Sep 2020 12:30:35 GMT Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by userp3030.oracle.com with ESMTP id 33tfjwmawj-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 29 Sep 2020 12:30:34 +0000 Received: from abhmp0012.oracle.com (abhmp0012.oracle.com [141.146.116.18]) by aserv0121.oracle.com (8.14.4/8.13.8) with ESMTP id 08TCUX0l011674; Tue, 29 Sep 2020 12:30:33 GMT Received: from [10.74.86.231] (/10.74.86.231) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 29 Sep 2020 05:30:33 -0700 Subject: Re: [PATCH 2/2] xen/gntdev.c: Convert get_user_pages*() to pin_user_pages*() To: Souptick Joarder Cc: Juergen Gross , sstabellini@kernel.org, xen-devel@lists.xenproject.org, linux-kernel@vger.kernel.org, John Hubbard References: <1599375114-32360-1-git-send-email-jrdr.linux@gmail.com> <1599375114-32360-2-git-send-email-jrdr.linux@gmail.com> <8a608871-af25-fee6-24ea-24d78010cd6c@oracle.com> From: boris.ostrovsky@oracle.com Organization: Oracle Corporation Message-ID: Date: Tue, 29 Sep 2020 08:30:30 -0400 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.2.2 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Language: en-US X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9758 signatures=668680 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 malwarescore=0 spamscore=0 mlxscore=0 phishscore=0 adultscore=0 bulkscore=0 mlxlogscore=999 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2006250000 definitions=main-2009290111 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9758 signatures=668680 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 malwarescore=0 mlxscore=0 phishscore=0 suspectscore=0 mlxlogscore=999 clxscore=1015 priorityscore=1501 impostorscore=0 lowpriorityscore=0 bulkscore=0 spamscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2006250000 definitions=main-2009290111 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 9/29/20 8:09 AM, Souptick Joarder wrote: > On Fri, Sep 11, 2020 at 8:12 PM wrote: >> >> On 9/6/20 2:51 AM, Souptick Joarder wrote: >>> In 2019, we introduced pin_user_pages*() and now we are converting >>> get_user_pages*() to the new API as appropriate. [1] & [2] could >>> be referred for more information. This is case 5 as per document [1]. >>> >>> [1] Documentation/core-api/pin_user_pages.rst >>> >>> [2] "Explicit pinning of user-space pages": >>> https://lwn.net/Articles/807108/ >>> >>> Signed-off-by: Souptick Joarder >>> Cc: John Hubbard >>> Cc: Boris Ostrovsky >>> Cc: Juergen Gross >>> Cc: David Vrabel >> >> Reviewed-by: Boris Ostrovsky > Are these 2 patches queued for 5.10-rc1 ? Yes, I am preparing the branch. (BTW, your second patch appears to have been either manually edited or not generated on top of the first patch. Please don't do this next time) -boris