From mboxrd@z Thu Jan 1 00:00:00 1970 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 9B3F6219546; Sun, 24 Mar 2024 23:35:50 +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=1711323353; cv=none; b=SwSwEl3DNZ8vBITyxorZUWnh1N7A1BxAP+Djaw75lB94WrhiPqDrIYCG6WfDMa+CEX919kfhwf9KlLfCYEe4/vLohBlnuwOQ96BsZnxZYokgBMg5eca+9fNDakuuF4rAI5AS63YOd+xFZigYHaVJBRMKOgctWi7RPzDRvCY8uaM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711323353; c=relaxed/simple; bh=ctMPVuDn3x7Xp7zzxNQY9JLBqhbi5/Nt3kTaMA7EuNI=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=M2tLrrQxYnKi18Qj1H/KDroxWCXGUM/rY/75itUtYQsnQI0PQnK61Qya1ihOx3XEa5vn30jPqFVh1SYX2utL40AHu0iPGqZL41vRVgACdcS+DTYDAmCfMPdtSj/f8Ax3dsERad9Xl788PoPQ4vRhSvINnfsnvfq8RDk7UzsfWYo= 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=yJGH2jMG; 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="yJGH2jMG" 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=HyM6VBVMJtd9gQh+FybJe9PxTYv3KhBiS6vxr8ODZ/s=; b=yJGH2jMG6oXIerQS8er4fiHOXY alYQqiHpU0+UltG/yb+JD5ouEAUPz1wM6IdxphCU9oKyzs8SPFDkEmcnnWb8HLbWiqqwZyjnIfGPa jsYw8HNIhHJaHQaVuCKt5mv3rcspRie21bzf2q4Rhqe1fbf04uEDrQo21EOCjJFmws8KVF/g9jEKu cvPiwOLyQ8/M4pA4ebpVdmXox2hCns6eXUVGQBnDUc0XI7ZxeaVfChxOKFd8MMA5OTrH3e60mYS46 vkQNIoASqdpdgrXbk6MYvJG8E6Lw1EErc9ggza3c3+Lb9SLgDG07eXLdGT7Aw9rhOLX8Ho+3+j4Cd gmUCCXHg==; Received: from hch by bombadil.infradead.org with local (Exim 4.97.1 #2 (Red Hat Linux)) id 1roXNU-0000000DuBN-3XLF; Sun, 24 Mar 2024 23:35:48 +0000 Date: Sun, 24 Mar 2024 16:35:48 -0700 From: Christoph Hellwig To: Jakub Kicinski Cc: Mina Almasry , Christoph Hellwig , David Wei , 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 , 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 , Jason Gunthorpe , Yunsheng Lin , Shailend Chand , Harshitha Ramamurthy , 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> <20240322161944.4eba02b6@kernel.org> Precedence: bulk X-Mailing-List: netdev@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: <20240322161944.4eba02b6@kernel.org> 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 04:19:44PM -0700, Jakub Kicinski wrote: > On Fri, 22 Mar 2024 10:40:26 -0700 Mina Almasry wrote: > > Other designs for this hugepage use case are possible, I'm just > > describing Jakub's idea for it as a potential use-case for these > > hooks. > > I made it ops because I had 4 different implementations with different > recycling algorithms. I think it's a fairly reasonable piece of code. Assuming we need 4 different implementation. And I strongly question that.