Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp63151yba; Wed, 15 May 2019 19:01:44 -0700 (PDT) X-Google-Smtp-Source: APXvYqycJDQNxikzLTKfZCBey7S/j6Gze8z+kBmBk3gIkNPeA1LP3R2fPHvqrZB4SuCnwry0xqz3 X-Received: by 2002:a63:b706:: with SMTP id t6mr41211057pgf.305.1557972103867; Wed, 15 May 2019 19:01:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557972103; cv=none; d=google.com; s=arc-20160816; b=TMyEvtIHsbBv/J7WFLn9XPSUBcp8xI6AwNBDlW6Q/5JxCgl0SDRJOLqniz23lhuW1V wHSp1z7rWi4X0r/wDt07CKZM+KDeNISAeHMf9MjRs2rI8dUy5QDIqHU4HquGqxXz+D8u HvFs7wqk+aGILFZ2Wb8LhoVRosF/HU3acmMMGmkWKxsCClUknsLwfysEmp3k4ih4EC5n A5WIWiwtUGQkwW5BqSw18bVEBx1K0C6sEPO6PQcty4kUBJoTu23r6JXLnAAOdCUntD2X op+FNLkr1VVKdC8THKeFuNrBOgIOGl9RqFJfKcmAT/d91AE4tzRvQhxp3fFr9OeiFNoE 0uwA== 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:to:subject:cc; bh=dR+jJezU891+PBVWYRM7JhND49e3FwsztxcwdyCv7CY=; b=EPMJdzhPFMPnZb4CqHdppY2ZwlFhg7vabfdDe/NbLcRhfhjrGH52oJFM+symcHxMRJ zsUUD0Tu7zb1G8lFUdaWrvmGYimbpaYOuaGrokFB90Bg8QnWmwZTdkC/dL0Tirfavply FX+6qQwkGvQfYASb95CRExVIoLEh9xL5foPURe5kfV9gh6/vljGC0T6J5lOddcEJMLm9 HDhr17eiFcjxlEG7V1eRANHeVwFeZOuUlkzWTMPo7+M7RwuJd9iyrOMniVmCtidJY9ro 7lkx//ZdG9UKgAxUxngoC5kdyFRMCydv9cKPhckszp7JALlsuwqdO9Imqn21xzZseyit v+cw== 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 k69si3952521pfb.73.2019.05.15.19.01.28; Wed, 15 May 2019 19:01:43 -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=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726279AbfEPCAQ (ORCPT + 99 others); Wed, 15 May 2019 22:00:16 -0400 Received: from mga02.intel.com ([134.134.136.20]:59727 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726039AbfEPCAQ (ORCPT ); Wed, 15 May 2019 22:00:16 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 15 May 2019 19:00:15 -0700 X-ExtLoop1: 1 Received: from allen-box.sh.intel.com (HELO [10.239.159.136]) ([10.239.159.136]) by fmsmga008.fm.intel.com with ESMTP; 15 May 2019 19:00:12 -0700 Cc: baolu.lu@linux.intel.com, Robin Murphy , David Woodhouse , Joerg Roedel , ashok.raj@intel.com, jacob.jun.pan@intel.com, alan.cox@intel.com, kevin.tian@intel.com, mika.westerberg@linux.intel.com, pengfei.xu@intel.com, Konrad Rzeszutek Wilk , Marek Szyprowski , iommu@lists.linux-foundation.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 02/10] swiotlb: Factor out slot allocation and free To: Christoph Hellwig References: <0c6e5983-312b-0d6b-92f5-64861cd6804d@linux.intel.com> <20190423061232.GB12762@lst.de> <20190424144532.GA21480@lst.de> <20190426150433.GA19930@lst.de> <93b3d627-782d-cae0-2175-77a5a8b3fe6e@linux.intel.com> <90182d27-5764-7676-8ca6-b2773a40cfe1@arm.com> <20190429114401.GA30333@lst.de> <7033f384-7823-42ec-6bda-ae74ef689f4f@linux.intel.com> <20190513070542.GA18739@lst.de> From: Lu Baolu Message-ID: Date: Thu, 16 May 2019 09:53:37 +0800 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: <20190513070542.GA18739@lst.de> Content-Type: text/plain; charset=utf-8; format=flowed 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, On 5/13/19 3:05 PM, Christoph Hellwig wrote: > On Mon, May 06, 2019 at 09:54:30AM +0800, Lu Baolu wrote: >> Agreed. I will prepare the next version simply without the optimization, so >> the offset is not required. >> >> For your changes in swiotlb, will you formalize them in patches or want >> me to do this? > > Please do it yourself given that you still need the offset and thus a > rework of the patches anyway. > Okay. Best regards, Lu Baolu