Files
erofs-linux/include/net
Ilias Apalodimas 4d4266e3fd page_pool: add a comment explaining the fragment counter usage
When reading the page_pool code the first impression is that keeping
two separate counters, one being the page refcnt and the other being
fragment pp_frag_count, is counter-intuitive.

However without that fragment counter we don't know when to reliably
destroy or sync the outstanding DMA mappings.  So let's add a comment
explaining this part.

Reviewed-by: Alexander Duyck <[email protected]>
Signed-off-by: Ilias Apalodimas <[email protected]>
Acked-by: Jesper Dangaard Brouer <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
2023-02-21 09:15:39 -08:00
..
2022-12-06 07:30:55 +09:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2023-02-02 14:02:01 +01:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2023-02-03 19:56:23 -08:00
…
…
…
…
…
…
…
…
…
…
…
2023-02-16 09:27:07 +01:00
…
…
…
2022-12-12 15:04:39 -08:00
…
…
…
2023-02-02 20:48:23 -08:00