public inbox for netdev@vger.kernel.org 
 help / color / mirror / Atom feed
From: Christoph Hellwig <hch@infradead•org>
To: Andrew Lunn <andrew@lunn•ch>
Cc: Ilias Apalodimas <ilias.apalodimas@linaro•org>,
	Jakub Kicinski <kuba@kernel•org>,
	Byungchul Park <byungchul@sk•com>,
	willy@infradead•org, almasrymina@google•com,
	kernel_team@skhynix•com, 42.hyeyoo@gmail•com, linux-mm@kvack•org,
	hawk@kernel•org, netdev@vger•kernel.org
Subject: Re: [RFC] shrinking struct page (part of page pool)
Date: Sun, 11 May 2025 21:24:38 -0700	[thread overview]
Message-ID: <aCF4Bm-2cpU__QDA@infradead.org> (raw)
In-Reply-To: <c744c40b-2b38-4911-977d-61786de73791@lunn.ch>

On Sat, May 10, 2025 at 03:53:47PM +0200, Andrew Lunn wrote:
> > Random thoughts here until I look at the patches.
> > The concept of devices doing DMA + recycling the used buffer
> > transcends networking.
> 
> Do you know of any other subsystem which takes a page, splits it into
> two, and then uses each half independently for DMA and recycling. A
> typical packet is 1514 octets, so you can get two in a page.

The mm/dmapool.c code is all about this.


  reply	other threads:[~2025-05-12  4:24 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20250414013627.GA9161@system.software.com>
2025-04-14  1:52 ` [RFC] shrinking struct page (part of page pool) Byungchul Park
2025-04-14 23:30   ` Jakub Kicinski
2025-04-16 10:20     ` Byungchul Park
2025-05-10  7:02     ` Ilias Apalodimas
2025-05-10 13:53       ` Andrew Lunn
2025-05-12  4:24         ` Christoph Hellwig [this message]
2025-05-19  5:38         ` Ilias Apalodimas
2025-04-15 15:39 ` Mina Almasry
2025-04-16  5:24   ` Byungchul Park
2025-04-16 16:02     ` Mina Almasry

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=aCF4Bm-2cpU__QDA@infradead.org \
    --to=hch@infradead$(echo .)org \
    --cc=42.hyeyoo@gmail$(echo .)com \
    --cc=almasrymina@google$(echo .)com \
    --cc=andrew@lunn$(echo .)ch \
    --cc=byungchul@sk$(echo .)com \
    --cc=hawk@kernel$(echo .)org \
    --cc=ilias.apalodimas@linaro$(echo .)org \
    --cc=kernel_team@skhynix$(echo .)com \
    --cc=kuba@kernel$(echo .)org \
    --cc=linux-mm@kvack$(echo .)org \
    --cc=netdev@vger$(echo .)kernel.org \
    --cc=willy@infradead$(echo .)org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox