Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp2579294lqp; Mon, 25 Mar 2024 03:21:57 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCW8dY8/VxsfdlgFQZFXqSS+TpOyjeyUPV2Hd4TLaKV3UFUJX+bKbfuEUJUVMIaDjD2sYKU5JYmeiWntg04+Yh3pawZar5dckbbaOHj3+Q== X-Google-Smtp-Source: AGHT+IHDpCHlfAjdbLt0R+QjdKnwj5GuENZ3D4mR6qjMkgh5fQUrToEbBD9uW27OmieWhQ0GHZlh X-Received: by 2002:a17:907:78c1:b0:a47:2269:f000 with SMTP id kv1-20020a17090778c100b00a472269f000mr4270237ejc.29.1711362117321; Mon, 25 Mar 2024 03:21:57 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711362117; cv=pass; d=google.com; s=arc-20160816; b=Jx13492LOsEs2/aCTX2k0blVt/gtupmZT8XuO5BZHh3m+BfZIiLIwdHVvy9RxMwQyD 2QqHiBd/KnmOokfHlakH/uAyOdQpOeZ7IGO1wNZhKz38z5EWYUMWolEYSrRzYAfBIe9Y 5+HhDLVJJMY8X7VXiY5tpLP8SygEjoaOJ9kJEqiedzFwVNCEJBcRkhLYQh0CjnIt/xpO 1tKP2LFOBaEMBbl+KmeyLYPU7ymZEBN5lGff5SZOVCZGK8MNxmYIq9kKzaSfWOZdtYMo ERQKqFpI3xdjkDO99jjvJw26PlHK9Yb4pc7RxGLMJH9l+qRIX43fuyVnCEe5tg12Id4X EOYQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=FiUcIHSFBZBxALtmt61YlYMiFB6wlrdxR2XHmKr2s7U=; fh=N41K4luS+/hf5bAblZxwg7AnIDGV2iryKxsgALq1eQs=; b=QNFLc6PIopzQFPTCq2vFMjfsiR1qkh66BfyGpO+U0r4Z7PQLpLue0FNCgvd4VQsBzv RYhnxZChntLuxxXY+8vIM4bzMzHsUKY+P7Xaqan6MFLqzAgzMeri542kIBLhJ01rjl6U gisOLN+qEbW9fH5pXHV3dt7WngRWSuORY7/3C9JggU2978bz0Bus4M7biBaSXDT/HOpx NZaZ0sHt2xhIYz6kIwC7elC5fgQtBYYA0XsO+RFVkdL9AtlP3Ai+OJWUYpxRg4x6gtvA VFBeKr9yqPCMCenehBJJsITIbcb/LPL3tRu7IP/kR19rkhFjRtZrr4z9el6urb85+szi 6lNw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=Rn3ZXEup; arc=pass (i=1 dkim=pass dkdomain=infradead.org); spf=pass (google.com: domain of linux-kernel+bounces-114821-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-114821-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id j5-20020a170906050500b00a46abf2ea32si2422311eja.260.2024.03.25.03.21.57 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Mar 2024 03:21:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-114821-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=Rn3ZXEup; arc=pass (i=1 dkim=pass dkdomain=infradead.org); spf=pass (google.com: domain of linux-kernel+bounces-114821-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-114821-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id AE9B51F212E0 for ; Mon, 25 Mar 2024 06:42:52 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5D2202C0136; Mon, 25 Mar 2024 00:52:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="Rn3ZXEup" Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 625E517655F; Sun, 24 Mar 2024 23:37:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.137.202.133 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711323442; cv=none; b=Jlxgk4E1Qku1bGgd74VfbM+L6hBkmXyvNs91o4zo38hRfEFxZsV8xbPpbpabWl1dA+imQZFCRqXIql3aqhPJR5dOE0trT/f2gn5+UKUTXP0RtOBDK4msNvfKz6qIRnjD++MIDKte4sMhEKNHV0KzIuTLuhE5DCSkmRWOEM3D8BQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711323442; c=relaxed/simple; bh=FiUcIHSFBZBxALtmt61YlYMiFB6wlrdxR2XHmKr2s7U=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=favyb5F3OrEMpateG3M8MGMcWkZIo9rCV6PvgS//O9ZNBakKo5XN5ArKg2zLulzc/LPsjpBOyTEZ2cbmNo7CYzua0WbDr33B0EatD5xtf7pizIXQ6uvmchtW/smN7grOv2vOTEnXX5D4N3l22aGcat2qonzwZvl/0h2CW7zl/lo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org; spf=none smtp.mailfrom=bombadil.srs.infradead.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b=Rn3ZXEup; arc=none smtp.client-ip=198.137.202.133 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=bombadil.srs.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=FiUcIHSFBZBxALtmt61YlYMiFB6wlrdxR2XHmKr2s7U=; b=Rn3ZXEupjlK9s8ygJnhwVpaGLT dYBT49gIZK2OasO7sRPbhGvozmqTWhWXakl0JdzZ5cKLRDR+c36ME7FaSO3vP+vc0ab55QyF/Tbnm VR7AcUA32IstZO1srXhjDa7+/jYt21mfVP/hFgBA0du80/ImT2KAK+oV3TS9s3xBjbeYDQ0epZRT9 GWvOmvyJ3hc5FwMK5EXCGJeM7XPDrx8s13MBRdQZ+diEbvQ1lBI8OFOgmdCv5v+duYq9iPYpNvFOW CEk3k5Zos95tElXC8siQdd3gLpPlZrUQyJ+KwVU69saNmVUOftUpZrECpAe7ts+UYRmTnl4jGiUGq G4f556uA==; Received: from hch by bombadil.infradead.org with local (Exim 4.97.1 #2 (Red Hat Linux)) id 1roXOo-0000000DuZF-2Stz; Sun, 24 Mar 2024 23:37:15 +0000 Date: Sun, 24 Mar 2024 16:37:10 -0700 From: Christoph Hellwig To: Mina Almasry Cc: Christoph Hellwig , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, linux-alpha@vger.kernel.org, linux-mips@vger.kernel.org, linux-parisc@vger.kernel.org, sparclinux@vger.kernel.org, linux-trace-kernel@vger.kernel.org, linux-arch@vger.kernel.org, bpf@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-media@vger.kernel.org, dri-devel@lists.freedesktop.org, "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Jonathan Corbet , Richard Henderson , Ivan Kokshaysky , Matt Turner , Thomas Bogendoerfer , "James E.J. Bottomley" , Helge Deller , Andreas Larsson , Jesper Dangaard Brouer , Ilias Apalodimas , Steven Rostedt , Masami Hiramatsu , Mathieu Desnoyers , Arnd Bergmann , Alexei Starovoitov , Daniel Borkmann , Andrii Nakryiko , Martin KaFai Lau , Eduard Zingerman , Song Liu , Yonghong Song , John Fastabend , KP Singh , Stanislav Fomichev , Hao Luo , Jiri Olsa , David Ahern , Willem de Bruijn , Shuah Khan , Sumit Semwal , Christian =?iso-8859-1?Q?K=F6nig?= , Pavel Begunkov , David Wei , Jason Gunthorpe , Yunsheng Lin , Shailend Chand , Harshitha Ramamurthy , Shakeel Butt , Jeroen de Borst , Praveen Kaligineedi Subject: Re: [RFC PATCH net-next v6 02/15] net: page_pool: create hooks for custom page providers Message-ID: References: <20240305020153.2787423-1-almasrymina@google.com> <20240305020153.2787423-3-almasrymina@google.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html On Fri, Mar 22, 2024 at 10:54:54AM -0700, Mina Almasry wrote: > Sorry I don't mean to argue but as David mentioned, there are some > plans in the works and ones not in the works to extend this to other > memory types. David mentioned io_uring & Jakub's huge page use cases > which may want to re-use this design. I have an additional one in > mind, which is extending devmem TCP for storage devices. Currently > storage devices do not support dmabuf and my understanding is that > it's very hard to do so, and NVMe uses pci_p2pdma instead. I wonder if > it's possible to extend devmem TCP in the future to support pci_p2pdma > to support nvme devices in the future. The block layer needs to suppotr dmabuf for this kind of I/O. Any special netdev to block side channel will be NAKed before you can even send it out.