Re: [PATCH net-next -v5 3/4] mm: introduce __get_page() and __put_page()

Ilias Apalodimas
2021-10-11T12:30:06Z

On Mon, Oct 11, 2021 at 02:25:08PM +0200, Jesper Dangaard Brouer wrote:
>
>
> On 09/10/2021 21.49, John Hubbard wrote:
> > So in case it's not clear, I'd like to request that you drop this one
> > patch from your series.
>
> In my opinion as page_pool maintainer, you should also drop patch 4/4 from
> this series.
>
> I like the first two patches, and they should be resend and can be applied
> without too much further discussion.

+1
That's what I hinted on the previous version. The patches right now go way
beyond the spec of page pool. We are starting to change core networking
functions and imho we need a lot more people involved in this discussion,
than the ones participating already.

As a general note and the reason I am so hesitant, is that we are starting
to violate layers here (at least in my opinion). When the recycling was
added, my main concern was to keep the network stack unaware (apart from
the skb bit). Now suddenly we need to teach frag_ref/unref internal page
pool counters and that doesn't feel right. We first need to prove the race
can actually happen, before starting to change things.

Regards
/Ilias
>
> --Jesper
>