Subject: Re: [net-next v1 PATCH 3/4] page_pool: block alloc cache during shutdown

From: Jesper Dangaard Brouer <[email-masked]>
Date: Sat, 16 Nov 2019 11:47:07 +0100

On Fri, 15 Nov 2019 10:38:21 -0800
"Jonathan Lemon" <[email-masked]> wrote:

> Case 1:
> Now, if the driver screws up and tries to re-use the pool and allocate
> another packet, it enters __page_pool_get_cached(), which will decrement
> the alloc.count, and return NULL.  This causes a fallback to
> __get_alloc_pages_slow(), which bumps up the pool inflight count.

I can see that I made a mistake, and cannot use NULL as the poison
value. Let me drop this patch, so others (and yours) can go in before
merge window.

-- 
Best regards,
  Jesper Dangaard Brouer
  MSc.CS, Principal Kernel Engineer at Red Hat
  LinkedIn: http://www.linkedin.com/in/brouer