Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp1104239ybb; Wed, 1 Apr 2020 15:58:53 -0700 (PDT) X-Google-Smtp-Source: APiQypJb2PlvIojHK+iw+bEh8h6krOOSEo/mX14BcbdkfC3pQoydMOGqEeFL01e31NQQMFjNxKG1 X-Received: by 2002:a9d:42f:: with SMTP id 44mr166142otc.236.1585781933018; Wed, 01 Apr 2020 15:58:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585781933; cv=none; d=google.com; s=arc-20160816; b=e4zasuLnTkd6fj9kOnCmDkQ4Y/RJvA2iP73dlm4ES26nN2qnS6LPjK3ueiWnV1Nm5k S8CsVTK59On1HGy66r1Nd4liKvfNvUFoaLPWI1KIhiIodvJVZUZrP4xZgZmgcako/OUN nyXSQcbz2w8o5LliU2pjQlq/4SNRuTEfunP9Sk2IeZd5Mm/WOg0O79WsXV8Xwfrtmued KpFjc2sMvG4NknV9O6Bq+9Fco0qdQOEAZ/o58TZoQjDu+uAI7MH2KHBtW0nCyd8CRKvc SdfXrtsNn/LrzaFh1D5smuvvUqfhxT7FRiruqE7PRsKgImi4UFb67Tl3WSIahxrlzQ/o A7gQ== 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:dkim-signature; bh=qukBrnnromGiSCTnyz4L9HyTen8DUq+f4oJWku7HGRc=; b=CLvX6RU7les/2L+rJhNYUSRzMtbWjg/OA0Is2savVz8w0Ou6UEDnj/uvT9+z+ECfxP w3Bqsgb3WLgy2PYtalDILQc8IjKea9wSgKzRSh0YTG7SqdCkzuNS/xAgDXJjOQ9zgY5a CiTA/KkGSs8O5LJFOSXBQ13GarniOxJz4qnPA2j+48RHfu8QK4a5vctxLE40Qrb76u+u +xTKZj4NlxmCM9wxWyE7k3Q9l/Mf/aWwJrlYEpK/RoBj1EGO726nMtjCfD4xAa2gI7RV Y4XA/zDs5KJ52bbwu3/EdhnI2IHqhJbmNTCyv08QvShqOv9n2ucrRi60doUOclNsYrpv NJ+Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Wtlmw4dp; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r17si1400236otp.254.2020.04.01.15.58.32; Wed, 01 Apr 2020 15:58:52 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Wtlmw4dp; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389519AbgDAWxm (ORCPT + 99 others); Wed, 1 Apr 2020 18:53:42 -0400 Received: from mail-pj1-f66.google.com ([209.85.216.66]:55945 "EHLO mail-pj1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389504AbgDAWxm (ORCPT ); Wed, 1 Apr 2020 18:53:42 -0400 Received: by mail-pj1-f66.google.com with SMTP id fh8so713178pjb.5; Wed, 01 Apr 2020 15:53:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=qukBrnnromGiSCTnyz4L9HyTen8DUq+f4oJWku7HGRc=; b=Wtlmw4dpm0UzBF2ljJcSpqIpYf97R9uDwQrPvVTbaSenQDwQi3zvynD1LIClNrkmgr v32L1eIqgqLy8+C0tdcrFx4NIBZ+wCN4R412gfu4QxRCwZ/sfOT+dVSTGIlEgQDGKtGc Mg2L1WUgME8bLCAaxIKdcIbhbxS3s9IFK/YwjeBMFT7Vb2xPaA7fb+x64nCK4sIPQ7xi OT9fFgOcgErtV+krCWbMjDBk81Ulu08eQ45eeJHeZI25BbvV06cZq4TegLtjkQiD05oj h5vYGZaD//05KrmpM84Jafe7Po1SM+DipPPAjmVtfyugjt6UBeOGQ0szs/M0DCyqRWvN 8BtA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=qukBrnnromGiSCTnyz4L9HyTen8DUq+f4oJWku7HGRc=; b=fsnN4NEthXjtf5VOkHrGrqUOel+mbpR5CBdCVgoHLXzzdxhI/lcS7NKpcFjRx5a5V2 WzYpkIVP33JDIrvVRdExZHX3eQfIfEvjvHiuLLuM5rCD1LHrcfx4dWqBRf16Cg69bQRN lp5fhRRFNnzFrSIW/AcCfyWFR3gKP28BWTnOm1yAtK+dw5rJMviEDO/aeUCeODipozUI 6NpOktm862h6p+stVd9pTh+xM+dhzb4+lpWR30GI3YAZmeR0hp+MeRAqFD0cjIw6WqAf /KeB3mCfipY9G9INr4N5AoOFyexAViGZBIrBol1232UCVg0bfKNG9Hw4jp/fWtpNcAA1 f2kA== X-Gm-Message-State: AGi0PuYWyKksAV4lc2Ih5qIytaj+0kXmGkKsDfVGlTNJQA4zYMKHt9U0 9xd5IhWPZXwBtOo/526O8juGoCir X-Received: by 2002:a17:902:242:: with SMTP id 60mr133733plc.245.1585781621214; Wed, 01 Apr 2020 15:53:41 -0700 (PDT) Received: from [192.168.86.235] (c-73-241-150-58.hsd1.ca.comcast.net. [73.241.150.58]) by smtp.gmail.com with ESMTPSA id m68sm2554947pjb.0.2020.04.01.15.53.39 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 01 Apr 2020 15:53:40 -0700 (PDT) Subject: Re: [PATCH] iommu/vt-d: add NUMA awareness to intel_alloc_coherent() To: Eric Dumazet , Christoph Hellwig Cc: linux-kernel , Benjamin Serebrin , David Woodhouse , Joerg Roedel , iommu@lists.linux-foundation.org, netdev References: <1517438756.3715.108.camel@gmail.com> <20180202185301.GA8232@infradead.org> From: Eric Dumazet Message-ID: <34c70805-44f5-6697-3ebf-2f4d56779454@gmail.com> Date: Wed, 1 Apr 2020 15:53:38 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 MIME-Version: 1.0 In-Reply-To: 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 On 2/2/18 10:59 AM, Eric Dumazet wrote: > On Fri, Feb 2, 2018 at 10:53 AM, Christoph Hellwig wrote: >> I've got patches pending to replace all that code with >> dma_direct_alloc, which will do the right thing. They were >> submitted for 4.16, and I will resend them after -rc1. > > I see, thanks Christoph ! > Hi Christoph It seems 4.16 has shipped ( :) ) , and intel_alloc_coherent() still has no NUMA awareness. Should I respin https://lore.kernel.org/patchwork/patch/884326/ Thanks !