[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20190815.122807.860855109257448352.davem@davemloft.net>
Date: Thu, 15 Aug 2019 12:28:07 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: jonathan.lemon@...il.com
Cc: netdev@...r.kernel.org, brouer@...hat.com,
ilias.apalodimas@...aro.org, saeedm@...lanox.com,
ttoukan.linux@...il.com, kernel-team@...com
Subject: Re: [PATCH net-next] page_pool: fix logic in __page_pool_get_cached
From: Jonathan Lemon <jonathan.lemon@...il.com>
Date: Tue, 13 Aug 2019 10:45:09 -0700
> __page_pool_get_cached() will return NULL when the ring is
> empty, even if there are pages present in the lookaside cache.
>
> It is also possible to refill the cache, and then return a
> NULL page.
>
> Restructure the logic so eliminate both cases.
>
> Signed-off-by: Jonathan Lemon <jonathan.lemon@...il.com>
Applied.
Powered by blists - more mailing lists