Received: by 2002:ab2:784b:0:b0:1fd:adc2:8405 with SMTP id m11csp116059lqp; Sun, 9 Jun 2024 20:03:19 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXBcEVesCajSEEACeLHv7Iis1DI60n3jmKDxK8iWpPilhP26Ht39GM5z81PU7QwdA78e1K8gUj4y38r3nE76xTg0pdY4OWVNoHLLB7Iuw== X-Google-Smtp-Source: AGHT+IEnpLdylM7dyGvx4mG0B4fpQDoLBBP1gTC1l9adlEHNFTSO03LXw1uvPpoieILYXVGuXP+r X-Received: by 2002:ac8:5350:0:b0:440:53f1:185 with SMTP id d75a77b69052e-44053f102f3mr76433531cf.17.1717988598792; Sun, 09 Jun 2024 20:03:18 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717988598; cv=pass; d=google.com; s=arc-20160816; b=huOVKAJ2CPdfuuWsYSjOUY89WIZurxcSta0vc3DPWSlhuU8z1Mbr1Hk31SALQquoiS ui2l/WxjxFQzY7ZC+fJombyBunS8fHJmIfr8zg0NOOyv0zyEHOeySQRHSYBB7g5i8cJR Bj5tifas5eAr6PDh5VhumhaCk34JeNSHvx7yuKhX7vHT+q4hHdc7dnLSnfh/xZQF+xTf o0bjMJidHuYNypsWiYUhHKQ7H3KixOdzXjFJG/CLbqjqh3hbgGFjRMNSNOB+qfNa1OQr JTg+dF0om2pCINk8faMBwF4fs0XLSIIwhmT3B0pbpeejCYpHxueEeJ2H7JDvSO0h9+4I 6tYQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=hS7n98TDY72tf1Gt3gpPTHvSO7f4fNN8VMGdhY9nX8c=; fh=8cvGGBmRUr0pF6fs0NcoKW+nSinBngolbMgq9X7anwU=; b=B+fCGsgUJ9CCnTpKIdRigxBokvJqCU4IyMzsh0vqWiu8tEpq4dXrnmfRzNe32peVgo rqxhj6tQMZQdBU1ONOv9WZMWXeL7uayGHa5daIrMVaAAyDMbpyq58ksNezrx/puT9WZO Q0QTq9jUdpyDBfuAYwW/PrPY1W36VOO+xakOUktMOSmG4ANBqFolOOzc52Khb9YPoCP2 XeOt6MWNZ3nT9iqufVIGadSY3mV1kwg4ma+xzqnPrWcnyY+5ue9Q9dfwK6F4/076kH2L f0jAgVQFCbN3GjTPx7xUKDpC8A3tAxSyb5PmRvPPFi9HNHENelDPAjt13IfDMDJVfz6C 2Qqw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@davidwei-uk.20230601.gappssmtp.com header.s=20230601 header.b=csbBepzg; arc=pass (i=1 dkim=pass dkdomain=davidwei-uk.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-207571-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-207571-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id d75a77b69052e-44038b157b3si62788551cf.287.2024.06.09.20.03.18 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 09 Jun 2024 20:03:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-207571-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@davidwei-uk.20230601.gappssmtp.com header.s=20230601 header.b=csbBepzg; arc=pass (i=1 dkim=pass dkdomain=davidwei-uk.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-207571-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-207571-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 6E4811C21092 for ; Mon, 10 Jun 2024 00:37:57 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 828596AB6; Mon, 10 Jun 2024 00:37:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=davidwei-uk.20230601.gappssmtp.com header.i=@davidwei-uk.20230601.gappssmtp.com header.b="csbBepzg" Received: from mail-pl1-f171.google.com (mail-pl1-f171.google.com [209.85.214.171]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 31C3117EF for ; Mon, 10 Jun 2024 00:37:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.171 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717979857; cv=none; b=deywAfT9wHu13R9ADfkDLCWmLyjlNveZYuSCLrPkw43JtV3295d1hZJXCrwchI6AV93FJxOj9zsokR1oP4FGIbY6SfrcQvcVx0RNN5/QrMP501qskZm7BD3gh5oEoE2WRQau3l9DtcfA2k51dXpIRT2JSZUQDCPA5Cl9Y7ypM0Q= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717979857; c=relaxed/simple; bh=+o3cil3us8SguPa7qsyp1XhJLUxH5Q1E4SZdY/0NVqE=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=BVcTPaBN9xzn0vHL5M6i30IiZXZkhiPWKBdBeTpr86KLCF6TH233veigmb9dufXFI7L5kAA1UOtW0KC6RrC+P01AyjvPwBvLiwygHmleXXF8vb8ijm6zL3QWLwQPpmiFf8VRU1nKvAB5g+WzNjTbBaeHGhO8tf6GmUbA7ZIaIkQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=davidwei.uk; spf=none smtp.mailfrom=davidwei.uk; dkim=pass (2048-bit key) header.d=davidwei-uk.20230601.gappssmtp.com header.i=@davidwei-uk.20230601.gappssmtp.com header.b=csbBepzg; arc=none smtp.client-ip=209.85.214.171 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=davidwei.uk Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=davidwei.uk Received: by mail-pl1-f171.google.com with SMTP id d9443c01a7336-1f70fdc9644so3577225ad.0 for ; Sun, 09 Jun 2024 17:37:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=davidwei-uk.20230601.gappssmtp.com; s=20230601; t=1717979855; x=1718584655; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=hS7n98TDY72tf1Gt3gpPTHvSO7f4fNN8VMGdhY9nX8c=; b=csbBepzgCy2/sm2grtPo5g7NMbzBmk7v6xdD7k9AGN/GGEKXViC9xqtY5trb2MBYIh i/kq0rArDrfFJRBYl7JNV2H8R10/VpZv39Mhiwjx7+eqJc9vvzKQfrDIXk+AH6v0oPJP /m1BIHOSWOi6f914KovjaOrhM+ZpSpOpmYhQoSsW/WzzSG1ozTyM+Si65w24c11BvF5K ds/aIs0C+NLJ1aug8mEOL5Vvr/IRx4jKPvuGTNh+1EyOOGCcWqcAdFlUA41OR0s8erXB a7DTLae18dW9nGXgt/R/sdo6KDcwoqOHFdF/8dd8H1hocHE3+GM8HDA0EW5XJwemWmjC qyiA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717979855; x=1718584655; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=hS7n98TDY72tf1Gt3gpPTHvSO7f4fNN8VMGdhY9nX8c=; b=KbE6pHN+AhflvMFvMeSd0NQ6JhdYpdJDd6MOYYzcaiAkZblXGuf+UfDyjY8ufhxgkQ vAHJd6HkG+LBkeHqWNF+CEsjfe77KXyx8lDVEgrULM/sI9eG5iDECXVHG19eHL8217mU YvSVOXdFQcmjNquyhKWlAIMc5oqelnPU9nVje3TGovWsXXRVwuAcpHqYZyCXaeitqsoe /+81Gh/5MflWjoDKTzdgw4/HYASTVLiZasNqLUbtvtP8IeOZzaXlOc/hKeiGwjXiZXW2 7zL6H57OSSsC5KGR53mwGkJTk211ZKKAP/twRO+LVN646REdNKK7T7GL3J1GLotm1JQD YQQQ== X-Forwarded-Encrypted: i=1; AJvYcCUyTi2t7RbsPYZtbKrz3luuAkve5iiQdG0mdT0yqjcMdvK4itKREKLrY4oPE0EI2qz6fUlVq7WvoHAjM4KSSIM0zi2RcnX+Weuv1CRs X-Gm-Message-State: AOJu0YyiLzEmQuyMoLBgnW6ubatQV63B0Ebek9s+gLuxZAmaNiKY7SnN 3ISjwmXD+ecLFBt5NtN0smr5a9qZvLiqZTqy41NyhQzospqAKLIQtSEJquqV3qc= X-Received: by 2002:a17:903:32c6:b0:1f7:18cf:a70f with SMTP id d9443c01a7336-1f718cfab0amr8620855ad.34.1717979855488; Sun, 09 Jun 2024 17:37:35 -0700 (PDT) Received: from [192.168.1.8] (174-21-189-109.tukw.qwest.net. [174.21.189.109]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-1f6bd76c240sm71665825ad.89.2024.06.09.17.37.34 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 09 Jun 2024 17:37:35 -0700 (PDT) Message-ID: <45803740-442c-4298-b47e-2d87ae5a6012@davidwei.uk> Date: Sun, 9 Jun 2024 17:37:33 -0700 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH net-next v10 02/14] net: page_pool: create hooks for custom page providers Content-Language: en-GB To: Jason Gunthorpe , David Ahern Cc: Pavel Begunkov , Mina Almasry , 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 , Donald Hunter , 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 , Steffen Klassert , Herbert Xu , Willem de Bruijn , Shuah Khan , Sumit Semwal , =?UTF-8?Q?Christian_K=C3=B6nig?= , Yunsheng Lin , Shailend Chand , Harshitha Ramamurthy , Shakeel Butt , Jeroen de Borst , Praveen Kaligineedi References: <20240530201616.1316526-1-almasrymina@google.com> <20240530201616.1316526-3-almasrymina@google.com> <5aee4bba-ca65-443c-bd78-e5599b814a13@gmail.com> <20240607145247.GG791043@ziepe.ca> From: David Wei In-Reply-To: <20240607145247.GG791043@ziepe.ca> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 2024-06-07 17:52, Jason Gunthorpe wrote: > IMHO it seems to compose poorly if you can only use the io_uring > lifecycle model with io_uring registered memory, and not with DMABUF > memory registered through Mina's mechanism. By this, do you mean io_uring must be exclusively used to use this feature? And you'd rather see the two decoupled, so userspace can register w/ say dmabuf then pass it to io_uring? > > Jason