Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp702908pxk; Thu, 24 Sep 2020 16:45:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyEZ1toRDfEX2yXA3oMDv5Co5nY1Mr2l6OBQbJwv5QQ4UP2Tz89k8ygRTv1/nQz7tsHGUCw X-Received: by 2002:a17:906:86cd:: with SMTP id j13mr72865ejy.5.1600991120414; Thu, 24 Sep 2020 16:45:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600991120; cv=none; d=google.com; s=arc-20160816; b=GmYV1VrZrPGTwJCoysVGLvlUdaOKrtMxsCIoR8o3zHST7IJ6IXskWzpTgTvp8F2k/u Lyz4pG+N/NGZoyJ66zs1O0PTbGCA0vz/IY1GjgJn6sgOBZ/PtZmoq8jukPMAJuiD1SFq 7XZFf7JI7oK5gURRmFdnmxyz4S6bQgWHjJi7BozsU4m47ZI0FvX92ITroX9WE4DQeaxu ecdPau2BNJzWQTkg4BrWhhHkSXfmq/Fkji+ZaVc2l4ARHna/tndiSkywu5cNGO2x3tq6 yxvhf/CFqfkZR0Lu7+Ut4XcQn4coSvF+8mnyVYjebMID7p9S7de3tN2BY4AJ5AYmjNy4 XhPw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-language:content-transfer-encoding :in-reply-to:mime-version:user-agent:date:message-id:organization :from:references:cc:to:subject:dkim-signature; bh=VvCv4Gti0LRNvu/JiuhQzqXwh4k4ms6S4iJ4yRBRgEM=; b=n2Q6d2Y59FsbXX3cn/QvrjTzo0GmLs4RoExa8jQb+fZXAmy+nvJKCSZWccOZkvHHaf u5lh84uqnp4kel1NphAZhgH0lD/n+6Qz2vOchSiNELm9qOeooYen4jIp/k4d9wswoJvq 0JusQgdPIU8mk1oAnt1cjbB4o1ocOHbNiqJ3MyMo7psT5zWIfUHb4kV8I3gwM09G1lR+ EC9tklVBsU+UK4O+LqW56vVsmEQ36WWdkUg+FyJCS0phcCHsNNAaXyH1MWtuTYIfFSOw E7RZmwP0hf4d91pMJXfONcZLLVlSIiFxJLjy1ksG/AX/D+xomoAYzqFK8ReJXMWayOlj RzLw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2020-01-29 header.b=MMVLyPrv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a19si629104edx.553.2020.09.24.16.44.56; Thu, 24 Sep 2020 16:45:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2020-01-29 header.b=MMVLyPrv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726788AbgIXXnN (ORCPT + 99 others); Thu, 24 Sep 2020 19:43:13 -0400 Received: from aserp2120.oracle.com ([141.146.126.78]:55644 "EHLO aserp2120.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726397AbgIXXnM (ORCPT ); Thu, 24 Sep 2020 19:43:12 -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 08ONZx0j085851; Thu, 24 Sep 2020 23:42:39 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=VvCv4Gti0LRNvu/JiuhQzqXwh4k4ms6S4iJ4yRBRgEM=; b=MMVLyPrv7sPtJ1/RwS7dn5G6wMF0WLG4ffVhrRrQHgdemGHrQEKGFjfZfcvc1bqEP4AN aHjVeVEMTc2nfLh3f3jd7D7bgCB0wPhBNJAA2DUnyUVt/WVGsksMCyTDcGpnQo+Ve0V5 x2YWLO/6uCk0REcuKVztrcAzZ0/Mpn68GAFWjhjvWFKguSxvqjNZ+qqRO7Eq3IOA0gfw M2gm6L672PBJtZxbuoSJpxzvnhHurd0xQJPFSNuYIWPu4qMoIbDqoIo9UjvPaPugqqHi C41EQ5bVrLxxVt2MHMnZACz8qXoTqnKUKL5aajg5l1UHFQX/47Trpqczl0R+xCwGy2st 5g== Received: from userp3030.oracle.com (userp3030.oracle.com [156.151.31.80]) by aserp2120.oracle.com with ESMTP id 33q5rgscs2-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 24 Sep 2020 23:42:39 +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 08ONZTet163174; Thu, 24 Sep 2020 23:42:38 GMT Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by userp3030.oracle.com with ESMTP id 33nux3jpbk-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 24 Sep 2020 23:42:38 +0000 Received: from abhmp0003.oracle.com (abhmp0003.oracle.com [141.146.116.9]) by userv0121.oracle.com (8.14.4/8.13.8) with ESMTP id 08ONgVnu011111; Thu, 24 Sep 2020 23:42:31 GMT Received: from [10.74.109.22] (/10.74.109.22) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 24 Sep 2020 16:42:31 -0700 Subject: Re: [PATCH 09/11] xen/xenbus: use apply_to_page_range directly in xenbus_map_ring_pv To: Christoph Hellwig , Andrew Morton Cc: Peter Zijlstra , Juergen Gross , Stefano Stabellini , Jani Nikula , Joonas Lahtinen , Tvrtko Ursulin , Chris Wilson , Matthew Auld , Rodrigo Vivi , Minchan Kim , Matthew Wilcox , Nitin Gupta , x86@kernel.org, xen-devel@lists.xenproject.org, linux-kernel@vger.kernel.org, intel-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-mm@kvack.org References: <20200924135853.875294-1-hch@lst.de> <20200924135853.875294-10-hch@lst.de> From: boris.ostrovsky@oracle.com Organization: Oracle Corporation Message-ID: Date: Thu, 24 Sep 2020 19:42:27 -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: <20200924135853.875294-10-hch@lst.de> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Language: en-US X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9754 signatures=668680 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 malwarescore=0 mlxscore=0 adultscore=0 bulkscore=0 mlxlogscore=999 phishscore=0 suspectscore=0 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2006250000 definitions=main-2009240170 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9754 signatures=668680 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 impostorscore=0 clxscore=1011 suspectscore=0 phishscore=0 malwarescore=0 priorityscore=1501 mlxlogscore=999 adultscore=0 bulkscore=0 mlxscore=0 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2006250000 definitions=main-2009240170 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 9/24/20 9:58 AM, Christoph Hellwig wrote: > Replacing alloc_vm_area with get_vm_area_caller + apply_page_range > allows to fill put the phys_addr values directly instead of doing > another loop over all addresses. > > Signed-off-by: Christoph Hellwig Reviewed-by: Boris Ostrovsky -boris