Article View: linux.kernel.netdev
Article #6608Re: [RFC: DMA_PMD 00/22] DMA_PMD: PMD_SIZE-backed IO buffer pools
From: Jason Gunthorpe
Date: Thu, 22 Oct 2026 20:12
Date: Thu, 22 Oct 2026 20:12
25 lines
13476 bytes
13476 bytes
On Sat, Oct 17, 2026 at 07:11:28PM +0200, Luigi Rizzo wrote: > > We should probably just find a way to describe that this is a POOL that focuses > > on physical contiguity in some configured granularity. > > Before embarking in a global renaming, I would like to get opinions on > acceptable alternative names (possibly with a short prefix usable for > identifiers in the code). I could think of the following > > DMA_PMAP (for PreMapped or Persistent Mapped) > or, ahemm... > DMA_PISA (Pooled IOMMU Superpage Allocator) > both using dmap_ for internal name prefixes Can someone explain what outside netdev would use this? And why you couldn't do this in the netdev page pool? It is not a common workload to have the DMA allocator be the one that allocates the memory. Usually we are DMA'ing from memory that was allocated someplace else. I think Robin is right, this is just a special case of the dma pool, and it certainly shouldn't be something as grandiose as a subsystem.. Jason
Technical Details
Message-ID:
<20261022201229.GH3381610@ziepe.ca>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-350802-linux-kernel-netdev=dewy.ruReferences:
<20261003212241.3432303-1-lrizzo@google.com> <0cc1cac1-a500-489b-9c1b-b49598b5550b@kernel.org> <CAMOZA0JaiKsRgDdjHkL_N+MshhcyLSv+cT9SzEbNsC_sumHvOw@mail.gmail.com> <b31efcd5-149c-4edf-81a2-1744d363c390@kernel.org> <CAMOZA0+6kAbwgNwGTsCT5AqpwcZKz4pziEGC9UpHkNCVoqrF-Q@mail.gmail.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-350802-linux-kernel-netdev=dewy.ru
From: jgg@ziepe.ca (Jason Gunthorpe)
Newsgroups: linux.kernel.netdev
Subject: Re: [RFC: DMA_PMD 00/22] DMA_PMD: PMD_SIZE-backed IO buffer pools
Date: Thu, 22 Oct 2026 17:12:29 -0300
Organization: Usenet Network
Message-ID: <20261022201229.GH3381610@ziepe.ca>
References: <20261003212241.3432303-1-lrizzo@google.com>
<0cc1cac1-a500-489b-9c1b-b49598b5550b@kernel.org>
<CAMOZA0JaiKsRgDdjHkL_N+MshhcyLSv+cT9SzEbNsC_sumHvOw@mail.gmail.com>
<b31efcd5-149c-4edf-81a2-1744d363c390@kernel.org>
<CAMOZA0+6kAbwgNwGTsCT5AqpwcZKz4pziEGC9UpHkNCVoqrF-Q@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Injection-Info: usenet.network;
logging-data="313314"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:JVoMmHa8ih7pJmJEFLwi59qg7mw= sha256:V16MwPNEmqLZD0Y/3D0JRfI73TaZPC5gR5ZlBIaqlIc=
sha1:6vKX1FzhGPlZjXhcmfyQgMuelrk= sha256:Uw1PEkgMLc+t3XO2X2VjBwPYU0PhTtgsJ11m5/Z00uk=
Content-Disposition: inline
List-ID: <netdev.vger.kernel.org>
X-Mailpost-Empty-Hdrs: X-Spam-Level
X-Received: from localhost (localhost [127.0.0.1])
by mail.dewy.ru (Postfix) with ESMTP id 49D3F11136A; Thu, 22 Oct 2026 23:12:59 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.049
X-Spam-Status: No, score=-3.049 tagged_above=-9999 required=6.31
tests=[DCC_REPUT_70_89=0.1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.25,
MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001,
SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key)
header.d=ziepe.ca
X-Received: from mail.dewy.ru ([127.0.0.1])
by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024)
with ESMTP id xZOVRKJPwM-E;
Thu, 22 Oct 2026 23:12:57 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-350802-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN>
X-Authentication-Results: OpenDMARC; dmarc=none (p=none dis=none) header.from=ziepe.ca
X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])
by mail.dewy.ru (Postfix) with ESMTPS id 6C6F5111141; Thu, 22 Oct 2026 23:12:48 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
by sea.lore.kernel.org (Postfix) with ESMTP id 827DC31E69; Thu, 22 Oct 2026 20:12:38 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
t=1792699957;
b=bdJ0YXwmkazmyuCwN0OWt+WHtjbg/paXa8y5UFQIJ9KYNK5oi6qvrWSErLOQhflIkYst
CvX0deiaf5A5TyBeYtxpcbXqkJCCwPKz1rJo9Q5eUJiQ7U46zbFdqU+DK2s/wIoanZi9P
IluZEc5MYYYZr4JSkJei2AiHQDmNWsyKuvu0mBwJCdXFK4xa3vNCMqQU95G9a8qzX+6u8
dKVlTKLgOHDd/gDY3LeJzmR+HCODmX4Yr6kbcKqStYqRNby8osGLNlfNAEb5Etl8a6pcG
Fsg5Qi+NS8da0h5QKdJ4aF+wcD0ZyusFqeW3XaDn4SMvcrJuHtsaMf9KtVdqfvh2StA==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
a=rsa-sha256; c=relaxed/relaxed; t=1792699957;
h=X-Original-To:Received:DMARC-Filter:Received:DKIM-Signature:
X-Google-DKIM-Signature:X-Forwarded-Encrypted:X-Gm-Message-State:
X-Gm-Gg:X-Received:Received:Received:Date:From:To:Cc:Subject:
Message-ID:References:X-Mailing-List:List-Id:List-Post:List-Help:
List-Subscribe:List-Unsubscribe:List-Owner:Precedence:MIME-Version:
Content-Type:Content-Disposition:In-Reply-To;
bh=I8JrjL/Toni0rgHeKLxMi210agLPfR373jhOEmm9NDM=;
b=h64OCWeE8w5S6Gjdo0WOdwcjkFw7/iHPilMIo0AZY9vRJDovMSVns2X0oTKlJ+5+jaz0
ta8bgU6gmURewZXFoinBxLbqBPxZF8+S/EhGm5a/ttCa2qQFYnI5LEijpg3ryYyrN9UmL
i3j69eZeMsFCsmolxwkPqVIKnLBRcjXUG1O0kQXuRFSherXfPGyWtWCXg55y67gDi6L5i
wowIVHKz/JzUOE6IJTNaKBN936JPJOJ31QvNUdqIl64IimGtnhPMBwB0wgYq2VxS42xlC
t0Xr4GiIBCYyvKLqFz7jty28yPGdYe/Zp3f26WJQFTWE9RMvL+Xy09MrcS4xZohFRPw==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org;
dkim=pass header.d=ziepe.ca header.i=@ziepe.ca header.a=rsa-sha256 header.s=google header.b=bEf24BE7;
dmarc=none header.from=ziepe.ca;
spf=pass smtp.mailfrom=ziepe.ca;
arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-Received: from localhost.localdomain (localhost [127.0.0.1])
by smtp.subspace.kernel.org (Postfix) with ESMTP id B6F6D606A321;
Thu, 22 Oct 2026 20:12:37 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
dkim=pass (2048-bit key, unprotected) header.d=ziepe.ca header.i=@ziepe.ca header.a=rsa-sha256 header.s=google header.b=bEf24BE7
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.160.173
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
t=1792699956;
b=PShpV/pjXPpxaEDh97DkhHV+hLsVtdA1sVyroPHxb6ADeRSDHgNw4z7dxBoKePirvbvo
7ZBciR5oc80ea3xHWkwLA2pxHszn09KmJTcYGcRKiee5lfzmlw2Tf/BrCa+SXUY9RlX3G
lxP85FJmdY14M/R48K+/1AMtrsZxjja63D4SKsA1LajrPhDkJuGseE4rFtl2zx4SPEW/7
0BM7jNK7iVOhXeQ17DFxOGZRuNOvbEBgTyhNEaooxlCuYU2V3LxXpJHFJlQAIfTnhoqTb
tMwXJ2on2pXl2xnI8yETMYF/ADwg8+PyHARkD+CpffCTsFjFKGYCFodv3ksHcFx+/Ag==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
a=rsa-sha256; c=relaxed/relaxed; t=1792699956;
h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature:
X-Forwarded-Encrypted:X-Gm-Message-State:X-Gm-Gg:X-Received:Received:
Received:Date:From:To:Cc:Subject:Message-ID:References:MIME-Version:
Content-Type:Content-Disposition:In-Reply-To;
bh=I8JrjL/Toni0rgHeKLxMi210agLPfR373jhOEmm9NDM=;
b=3IFor2n9tvyrqJ5fu3NpbwLQl9kLvKeybPN/lu0LGE71yBVwZEnvQRM6XGoQl2VkEFSO
8sUehOTn6vbXb6zrgUK47+GJBiByRhQKhuJBH8VnHplu5JjxwlpElVEtPHugRSyF7KuVH
6lnLc3PLd/9L1Fzpkwgz8a4fuVpwHQfTi+tQzPmCLgHL6naymPj1buhvYeNT+NNQoHkhl
IvlYath49P/a54mKlirknQv2Dul9GhaPEKR3M00H9h9+MZcVPZyTr83ilp0wN3/y3VNFy
NkwxnROnG+0GyzC9yvPVkpda89WD2qKfpUiUZh1oLJRnfNwQQv4FsNlu371ceajOFIA==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org;
dmarc=none header.from=ziepe.ca;
spf=pass smtp.mailfrom=ziepe.ca;
dkim=pass header.d=ziepe.ca header.i=@ziepe.ca header.a=rsa-sha256 header.s=google header.b=bEf24BE7;
arc=none smtp.remote-ip=209.85.160.173
X-Received: from mail-qt1-f173.google.com (mail-qt1-f173.google.com [209.85.160.173])
(using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)
key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256)
(No client certificate requested)
by smtp.subspace.kernel.org (Postfix) with ESMTPS id 89DCC606A31D
for <netdev@vger.kernel.org>; Thu, 22 Oct 2026 20:12:31 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 89DCC606A31D
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ziepe.ca
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ziepe.ca
X-Received: by mail-qt1-f173.google.com with SMTP id d75a77b69052e-5364c951da4so1325841cf.1
for <netdev@vger.kernel.org>; Thu, 22 Oct 2026 13:12:31 -0700 (PDT)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=ziepe.ca; s=google; t=1792699950; x=1793304750; darn=vger.kernel.org;
h=in-reply-to:content-disposition:content-type:mime-version
:references:message-id:subject:cc:to:from:date:from:to:cc:subject
:date:message-id:reply-to:content-type;
bh=I8JrjL/Toni0rgHeKLxMi210agLPfR373jhOEmm9NDM=;
b=bEf24BE77jeSVrye/0K8bqAhBtq3l4ipVokvy1WTo9I171dh1cPnLebWZP98ZbHc1p
AY82b/V/Z8Ber8ZWp8VUWvVQdVKVcws1+qTT8I1nIkiiUcBGdUJt2If+NgtXZWXT8aBs
uKfYqDijGgrn/rN6GkRbg/nS7tyReOXZC1wz27PGG3UX69KRZ1voQbKcO/EJ7VCH+ev3
9w3+gkzOCiUWskxpeRuVsDRp3YDSWCkTFq4QinNxLt/YPbd0DW10RzKL39WEfK6b51Xg
gE0pjKAlKmDwW9sqvGKBvCi87C9mbwgaQyyqQUYs4WaTKD+zF6NXq0IhdXGPVmv9ZqYX
i7oA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20260707; t=1792699950; x=1793304750;
h=in-reply-to:content-disposition:content-type:mime-version
:references:message-id:subject:cc:to:from:date:x-gm-gg
:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to
:content-type;
bh=I8JrjL/Toni0rgHeKLxMi210agLPfR373jhOEmm9NDM=;
b=wk9yNuiOTzZDrA3mKitSHAEw2qeX8tgnJTraXLVnfGMoK7EZ9RbyzJLKNhYb1QBkFC
QTuSr4pgZPp1ZXrkGsI7aHTMR0AlL4DrcraXGCyv43O93aHEUIuZoZUsL7c8jKlcjU1t
ipA7XL+wr75rLlWwhACm/poNP4VLxJrjaiPD7XMF8zEwmS28wi3IlN9sZbug/9qsVZsx
kDNe/Nue0PKVeO+8DrRkkfzE9ElNWTqYhpcQsGWXQey4KZwH2LX0syZgZtZ/YPYkwqta
rSPkHOSSuHK/cqqPcBfIkVWMt7VpkH44sXojbl1MVYuBiwc7ktHJGp6QAX9wFAQLgjd+
AkAw==
X-Forwarded-Encrypted: i=1; AKwUvByI1gXX/4aZ4UIvhzhkRV7uzOCq1WeAsd/wvaCfLMsAHfpTukJfVn3R0nYRAs5+l51sZJmSAdM=@vger.kernel.org
X-Gm-Message-State: AFq9FYIbX/84euNFbpiScEXxcWNorwe9kNuoT6hAnt1fRi4s2E4AI38w
WBIvGOptU6WVO7GDHijesC4lEhdm1GFeDbhBKWB24XUPgUE8t2vUdB3gM0jKQTDZZ3o=
X-Gm-Gg: AYBFou2tYzFJo3YZeCOjCLX1X6WIwuanw8Tyd5dEkoXKyDFwjETmRtx3L/sheME+7MT
nZscVYaS3fT+iINgJPJNgNEq6sa4/tLMQg/0aLyZ6aFFcWR/BdDZ8JGewUeHnbNM6Us/8mzogxK
Y4GWchZmcprN4R/Zc/A7Ut8xpBeIwxUK6O5DKzO1FfuCo2TIGVeOa/xxlBzW/2g8Y2wooJvl928
rU4sJVRejWNM9kB8dPDVGszKLB57IA9Ey++SzYfBwNtqzxBcL0UqrBPjlfa8nFX4xYhOWKsBodk
Srx3YTL1ch/r2dFguaHPlXSq1yIg0GytJQom0pK4umSNRU54rDL5f4tqyQfJGzINrCgHboN4RBY
SQ0Gn/rPIVetyAycZFNSR1kMXKP4W12URK+tCND2UuzueRPsAU+dd2XrCgpihanDngK93M/j1JQ
HL7v493MBgUkInJX0HhlJ7maBRbTsDY69gXZtHy+jJNnK/IOdOJnzizRFWKA8/wEQbOEmZKxdvR
jMogWGG/ugoOG8dPnlLHATOGgKC6OQUUqtXAco15z+y5WbCy+R41NXFV+7ji0VDiRAU3E4Xvf5Y
MJxgOnhvq56Nf4/8Vm1jcqIJlk4gdMPTCsn+KA==
X-Received: by 2002:ac8:5a85:0:b0:536:6378:c7fe with SMTP id d75a77b69052e-5369b8204d9mr99553871cf.47.1792699950468;
Thu, 22 Oct 2026 13:12:30 -0700 (PDT)
X-Received: from ziepe.ca (hlfxns010zw-159-2-239-150.pppoe-dynamic.high-speed.ns.bellaliant.net. [159.2.239.150])
by smtp.gmail.com with ESMTPSA id d75a77b69052e-536c14da10csm1768631cf.0.2026.10.22.13.12.29
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Thu, 22 Oct 2026 13:12:29 -0700 (PDT)
X-Received: from jgg by wakko with local (Exim 4.97)
(envelope-from <jgg@ziepe.ca>)
id 1xJz9J-0000000FoSN-1XEC;
Thu, 22 Oct 2026 17:12:29 -0300
X-Cc: "David Hildenbrand (Arm)" <david@kernel.org>,
Luigi Rizzo <rizzo.unipi@gmail.com>, Joerg Roedel <joro@8bytes.org>,
Will Deacon <will@kernel.org>, Robin Murphy <robin.murphy@arm.com>,
Christoph Hellwig <hch@lst.de>,
Marek Szyprowski <m.szyprowski@samsung.com>,
Andrew Morton <akpm@linux-foundation.org>,
Vlastimil Babka <vbabka@kernel.org>,
"David S . Miller" <davem@davemloft.net>,
Eric Dumazet <edumazet@kernel.org>,
Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
"Rafael J . Wysocki" <rafael@kernel.org>,
Danilo Krummrich <dakr@kernel.org>,
Jonathan Corbet <corbet@lwn.net>,
Jesper Dangaard Brouer <hawk@kernel.org>,
Ilias Apalodimas <ilias.apalodimas@linaro.org>,
Willem de Bruijn <willemb@google.com>,
Kuniyuki Iwashima <kuniyu@google.com>,
Joshua Washington <joshwash@google.com>,
Harshitha Ramamurthy <hramamurthy@google.com>,
Saeed Mahameed <saeedm@nvidia.com>,
Tariq Toukan <tariqt@nvidia.com>,
Tony Nguyen <anthony.l.nguyen@intel.com>,
Przemek Kitszel <przemyslaw.kitszel@intel.com>,
Alexander Lobakin <aleksander.lobakin@intel.com>,
Michael Chan <michael.chan@broadcom.com>,
Pavan Chebbi <pavan.chebbi@broadcom.com>, iommu@lists.linux.dev,
netdev@vger.kernel.org, linux-mm@kvack.org,
driver-core@lists.linux.dev, linux-doc@vger.kernel.org,
linux-kernel@vger.kernel.org
X-Mailing-List: netdev@vger.kernel.org
X-List-Post: <mailto:netdev@vger.kernel.org>
X-List-Help: <mailto:netdev+help@vger.kernel.org>
X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>
X-List-Owner: <mailto:netdev+owner@vger.kernel.org>
X-Precedence: list
X-In-Reply-To: <CAMOZA0+6kAbwgNwGTsCT5AqpwcZKz4pziEGC9UpHkNCVoqrF-Q@mail.gmail.com>