🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #10126

Re: [RFC: DMA_PMD 00/22] DMA_PMD: PMD_SIZE-backed IO buffer pools

#10126
From: Christoph Hellwig
Date: Tue, 03 Nov 2026 08:09
15 lines
9249 bytes
On Fri, Oct 23, 2026 at 11:50:23AM -0300, Jason Gunthorpe wrote:
> > Disk I/O is still potentially affected by the same problems
> > (cost if io mapping/unmapping, iotlb thrashing, bounce buffers
> > in confidential computing...)
> 
> The disk folks already have a proposal to address all of this using
> io_uring and preallocated buffers. I really doubt yet another version
> is going to be interesting there.

Huh?  If you mean the dma-buf I/O it doesn't really have anything
to do with disks, except that this is the first user.  The dma-buf
iovec can work for every ->read_iter/->write_iter consumer, and
should be adopted more broadly.  Including by networking instead of
their own totally weird different world.
Technical Details
Message-ID: <20261103080933.GA4213@lst.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-355281-linux-kernel-netdev=dewy.ru
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> <20261022201229.GH3381610@ziepe.ca> <CAMOZA0KaanmevmvWS=M3gKfBeborzfCQTiF_xbSeYMWbozG7Mg@mail.gmail.com> <20261023140107.GC3977851@ziepe.ca> <CAMOZA0J+MOLv+s4PAvsAK1jbasnbQRyHffZw1VEKutH9Vr6ODw@mail.gmail.com> <20261023145023.GH3977851@ziepe.ca>

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-355281-linux-kernel-netdev=dewy.ru
From: hch@lst.de (Christoph Hellwig)
Newsgroups: linux.kernel.netdev
Subject: Re: [RFC: DMA_PMD 00/22] DMA_PMD: PMD_SIZE-backed IO buffer pools
Date: Tue, 3 Nov 2026 09:09:33 +0100
Organization: Usenet Network
Message-ID: <20261103080933.GA4213@lst.de>
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> <20261022201229.GH3381610@ziepe.ca> <CAMOZA0KaanmevmvWS=M3gKfBeborzfCQTiF_xbSeYMWbozG7Mg@mail.gmail.com> <20261023140107.GC3977851@ziepe.ca> <CAMOZA0J+MOLv+s4PAvsAK1jbasnbQRyHffZw1VEKutH9Vr6ODw@mail.gmail.com> <20261023145023.GH3977851@ziepe.ca>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Injection-Info: usenet.network;
	logging-data="3121112"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:Q8RYTZo4nX4iTd5E5aXDhYut90Y= sha256:gwvyYqj1sbtdvmJslX5KABdUSGDuWcGUNdPw9pmP1uw=
	sha1:AlzV21f9RUemkroXFpzq2aN265s= sha256:5NyrCFWGSV9IKxhs7BV284TvAte0M5KBzdXHaznZ+Tg=
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 24022112776; Tue,  3 Nov 2026 11:18:20 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -2.951
X-Spam-Status: No, score=-2.951 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.249,
	MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001,
	SPF_PASS=-0.001] autolearn=ham autolearn_force=no
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 1IDblg9LYDuI;
	Tue,  3 Nov 2026 11:18:17 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=104.64.211.4; helo=sin.lore.kernel.org; envelope-from=netdev+bounces-355281-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=lst.de
X-Received: from sin.lore.kernel.org (sin.lore.kernel.org [104.64.211.4])
	by mail.dewy.ru (Postfix) with ESMTPS id CFD6410E9A8; Tue,  3 Nov 2026 11:18:13 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by sin.lore.kernel.org (Postfix) with ESMTP id 8FCEC2A7E2; Tue,  3 Nov 2026 08:09:53 +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=1793693390;
	b=dz2PV1WiMVYuV+EYGMWBy0pxHci6y1eQXArqPQXW4o9ctVlYsMGWmsb/tbPbKYpu1FUi
	 N6NdvP85iwBUmDRq3uZ3QESD8zrGzZ5IvoZMIkYWCWutD0iUjoWGZYRwfdfLoZHwlsovk
	 smPISz7oqxkppUSwUPhU2VNGypXGGUN0jFimolIn2KmCuWceknpdrHlw+0VRRONmcYmAH
	 11YmWM9gURuenL1zcJpCuwo9vg6LX3qP90edvdtMt1ll6lvWIgtZbQ7utDxGtXEzLf9Hi
	 3hl+0vCdjG9em03QdGWCHiC4uiOT6TgqNGnd0UyjmtLR6wS+taFv1adFSXr6+5voGDg==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1793693390;
	h=X-Original-To:Received:DMARC-Filter: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:User-Agent;
	bh=2on3ft6XH1eubxEl0nHP4ZK9AQjcmYaJw++Tp033neA=;
	b=1LWdD9dCeZt+L1eTHJeF0zAW7Up8+9tgy8un8yEefBCl7hiXO6KtdQ4APK0tOzF8Hcqq
	 K3JbQ03AWfz6aOTH+YnCcIAVf3FBimIrRABF1I6tgZ04Z7sFz6a76zLafA6qu5+SQV+fV
	 FzHDvwIziV0xnwjECN+z1V9kKa/y/Mrj32Wd7ihd27cPP4eJr2C4f50ubT9I1DE7UmIMN
	 KksUL7A0vxPUol+O6i4VLZhMaLeZ3/xx3o947mH/3421Ld8tXZaMhskPpMr7C34/g9f1q
	 0N7hk8JvDrXRPdT1kUE481jxtCJq2rQrCy4ITfF46kg9njXPwIQ9giuj4HVlmh3vOyQ==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dmarc=pass header.from=lst.de;
	spf=pass smtp.mailfrom=lst.de;
	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 DFB3A606A33C;
	Tue,  3 Nov 2026 08:09:50 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=213.95.11.211
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1793693380;
	b=1oyWwl0zrhMuhHZdDqC6f/YGNo3XGM74o25ausBtSGiEv+GJzkq3Unp3E9L1TxsXefLY
	 LHGxR7TLQGzkw2ZzHe7IApbZopdlSMmKsPOzHqrC0+bwuTcpLp6ZXTIUl4YBChO+nCLyh
	 WE7CmuHPD5CS2vxx00/Lv7rV+RgcKcDJ6F16RTsI1b9L/kvwZkAwhsZ4d33PUgpqyX/DH
	 KnwKUq76Qa+TH9JohGeB1ah8OzXv9DzYg1Etl7Z97ZfnNqoVHCAbQN6qWaQVBWEPc/YNR
	 KaPCYhvAmmnDsuBkJCDfQV86qin4l1TmU/0GwV/LeTVMiXms2oF8iMeCd0IQLSo/g4w==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1793693380;
	h=DMARC-Filter:Received:Date:From:To:Cc:Subject:Message-ID:References:
	 MIME-Version:Content-Type:Content-Disposition:In-Reply-To:User-Agent;
	bh=2on3ft6XH1eubxEl0nHP4ZK9AQjcmYaJw++Tp033neA=;
	b=2ZZxU1TgypeRyTKl0ARemZdE331gz08kvEQox0MfJxN4l42vkBeNyP8QzvZ1SBnhVvg6
	 7DuTuGLorJvtPfIdX2nL6Vk/Rt0MLjOKOJoYPQd5+hoSCTsOYvxNZtVrfzpdBSQpHC5o6
	 Tvh0/aPjRsSv7GhhDP1csM2wkMZq7CWvd8eYZfRSS55B02bdQnv0mAN2Snfq8Z5oiH8LP
	 0dp83o3osc7JlpHs4xbJy9ST5OSvh2DfO/zUZXGBDyOFkc/teJtNsb5aJHZWpwOEQFlom
	 b6F593/vy46t0VUC77/UU1ksyhbcQhm1jMdwUNn93UVUa+D3u5tcXl49bt20Ve+87lQ==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; 
	dmarc=pass header.from=lst.de;
	spf=pass smtp.mailfrom=lst.de;
	arc=none smtp.remote-ip=213.95.11.211
X-Received: from verein.lst.de (verein.lst.de [213.95.11.211])
	(using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id CC50F606A334;
	Tue,  3 Nov 2026 08:09:39 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org CC50F606A334
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lst.de
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lst.de
X-Received: by verein.lst.de (Postfix, from userid 2407)
	id 1E82268B05; Tue,  3 Nov 2026 09:09:34 +0100 (CET)
X-Cc: Luigi Rizzo <lrizzo@google.com>,
	"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: <20261023145023.GH3977851@ziepe.ca>
X-User-Agent: Mutt/1.5.17 (2007-11-01)